LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-11-2007, 01:13 AM   #1
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
Question 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

Last edited by Sjonnie48; 07-11-2007 at 01:14 AM.
 
Old 07-11-2007, 07:16 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.
 
Old 07-11-2007, 07:30 AM   #3
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
putting extended hda into /etc/mtab & /etc/fstab tomolesonjr Linux - Hardware 6 04-05-2006 12:07 PM
what edits fstab & mtab during boot? dwhawk Mandriva 7 05-24-2005 06:09 PM
Confirmation of mtab & fstab dogmonkey Linux - Software 3 12-11-2002 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration