Portal Home > Knowledgebase > Articles Database > Fstab corrupt


Fstab corrupt




Posted by Serverplan, 11-20-2007, 12:23 PM
Hi i have a strange issue on my centos 5, the fstab get corrupt, we have reinstall the OS and with the server empty it get corrupt again, the same problem on a second server, seem that is add /dev/shm line, like this one: LABEL=/ / ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 1 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0 LABEL=/home1 /home ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2 proc /proc proc tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0 sysfs /sys sysfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0 LABEL=/tmp1 /tmp ext3 rw,noexec,nosuid,nodev 1 2 LABEL=/usr /usr ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2 LABEL=/var /var ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2 LABEL=SWAP-sda5 swap swap tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0 /tmp /var/tmp ext3 /tmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0 what's wrong?

Posted by r00tintheb0x, 11-21-2007, 07:27 AM
Your spacing is all jacked up.

Posted by Serverplan, 11-21-2007, 07:57 AM
what u mean? the server is new and empty

Posted by Srv24x7, 11-21-2007, 10:31 AM
Are the fstab entries manually updated or edited ? They are surely incorrect as far as what it look likes. << removed >> Last edited by writespeak; 11-21-2007 at 03:22 PM.

Posted by david510, 11-21-2007, 08:26 PM
Once you re-install the server and boot, set attribute bit to the fstab file. After sometime check the log files for any failed attempts to modify the file. chattr +i /etc/fstab



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Is RackShack.net down? (Views: 670)
Sphere Webhosting (Views: 748)