LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   fstab & mtab corruption in Kubuntu (https://www.linuxquestions.org/questions/ubuntu-63/fstab-and-mtab-corruption-in-kubuntu-568314/)

Sjonnie48 07-11-2007 01:13 AM

fstab & mtab corruption in Kubuntu
 
Hi,

I'm running Feisty Fawn with Kde.
For the second time in a week my /etc/fstab and /etc/mtab suddenly appeared to be corrupted.
In both occasions it occurred after I had been configuring an application button in the desktop-panel, and both were for a non-Kde application.
I'm puzzled with this problem and I'd like to know if anyone else has experienced a similar problem.

Details

The normal situation:

#more /etc/mtab
/dev/sda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
/dev/sdb1 /music reiserfs rw,noexec,nosuid,nodev 0 0

#more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=ee63b518-5e96-45f6-9e6b-f16e2b7147bc / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda5
UUID=341655b7-916d-43ff-bfe1-106a5b9a8aff none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
/dev/sdb1 /music auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0

#cd /music/
#ls -al
total 45
drwxr-xr-x 20 johnny johnny 536 2007-07-10 13:35 .
drwxr-xr-x 23 root root 4096 2007-07-11 07:23 ..
drwxr-xr-x 81 johnny johnny 4200 2007-07-06 17:54 ambient
drwxr-xr-x 166 johnny johnny 8216 2007-07-11 04:51 chill & lounge
drwxr-xr-x 64 johnny johnny 3704 2007-07-10 13:38 classical
drwxr-xr-x 129 johnny johnny 6488 2007-07-07 10:55 d&b, dub & reggae
drwxr-xr-x 25 johnny johnny 1304 2007-07-01 11:25 india
drwxr-xr-x 81 johnny johnny 4408 2007-07-11 06:33 jazz
drwxr-xr-x 2 johnny johnny 48 2007-07-09 19:10 new
drwxr-xr-x 2 johnny johnny 224 2007-07-06 18:23 playlists
drwxr-xr-x 2 johnny johnny 48 2007-07-04 19:36 ripped
drwxr-xr-x 4 johnny johnny 968 2007-07-09 15:24 Skins
drwxr-xr-x 2 johnny johnny 96 2007-07-09 20:55 syssave
drwxr-xr-x 2 johnny johnny 1272 2007-07-10 17:03 test folder
drwxr-xr-x 261 johnny johnny 12984 2007-07-11 06:42 various
#

#################################################################################################### ################
#################################################################################################### ################

The corrupted situation

#more mtab
/dev/sdb1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
/dev/sdb1 /music ext3 rw,noexec,nosuid,nodev 0 0

#more fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=ee63b518-5e96-45f6-9e6b-f16e2b7147bc / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda5
UUID=341655b7-916d-43ff-bfe1-106a5b9a8aff none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
/dev/sda1 /music auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0


#cd /music/
#ls -al
total 140
drwxr-xr-x 22 root root 4096 2007-07-09 13:57 .
drwxr-xr-x 22 root root 4096 2007-07-09 13:57 ..
drwxr-xr-x 2 root root 4096 2007-07-09 13:23 bin
drwxr-xr-x 3 root root 4096 2007-07-09 13:57 boot
lrwxrwxrwx 1 root root 11 2007-07-09 13:16 cdrom -> media/cdrom
drwxr-xr-x 12 root root 40960 2007-07-09 13:28 dev
drwxr-xr-x 102 root root 4096 2007-07-11 07:11 etc
drwxr-xr-x 3 root root 4096 2007-07-09 13:28 home
drwxr-xr-x 2 root root 4096 2007-07-09 13:18 initrd
lrwxrwxrwx 1 root root 33 2007-07-09 13:57 initrd.img -> boot/initrd.img-2.6.20-16-generic
lrwxrwxrwx 1 root root 33 2007-07-09 13:19 initrd.img.old -> boot/initrd.img-2.6.20-15-generic
drwxr-xr-x 17 root root 4096 2007-07-09 13:25 lib
drwx------ 2 root root 16384 2007-07-09 13:16 lost+found
drwxr-xr-x 4 root root 4096 2007-07-09 13:30 media
drwxr-xr-x 2 root root 4096 2007-04-12 11:11 mnt
drwxr-xr-x 2 root root 4096 2007-07-09 13:37 music
drwxr-xr-x 2 root root 4096 2007-07-09 13:18 opt
drwxr-xr-x 2 root root 4096 2007-04-12 11:11 proc
-rw------- 1 root root 1024 2007-07-09 13:25 .rnd
drwxr-xr-x 4 root root 4096 2007-07-10 09:37 root
drwxr-xr-x 2 root root 4096 2007-07-09 13:56 sbin
drwxr-xr-x 2 root root 4096 2007-07-09 13:18 srv
drwxr-xr-x 2 root root 4096 2007-04-10 23:45 sys
drwxrwxrwt 8 root root 4096 2007-07-11 07:18 tmp
drwxr-xr-x 11 root root 4096 2007-07-09 13:20 usr
drwxr-xr-x 14 root root 4096 2007-07-09 13:30 var
lrwxrwxrwx 1 root root 30 2007-07-09 13:57 vmlinuz -> boot/vmlinuz-2.6.20-16-generic
lrwxrwxrwx 1 root root 30 2007-07-09 13:19 vmlinuz.old -> boot/vmlinuz-2.6.20-15-generic

stress_junkie 07-11-2007 07:16 AM

If you hadn't use the bold letters for the entire file you could have used bold to point out the specific problem. People don't want to analyze you entire file to find out what is wrong.

stealth_banana 07-11-2007 07:30 AM

Can you give us the exact steps of you carried out, rather than just the problem, what application etc.


All times are GMT -5. The time now is 03:56 AM.