Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LatOffline
Post subject: mount disagrees with the fstab  PostPosted: 29.12.2011, 17:27



Joined: 2010-09-19
Posts: 159

Status: Offline
I'm having difficult unmounting binds

I get:
      Code:
umount: /data/32/data/WBmnt/2011 mount disagrees with the fstab
umount: /data/WBmnt is not mounted (according to mtab)


My /etc/fstab is:
      Code:
/dev/sda1                                     /mount/mainboot          vfat            noauto,users,rw,quiet,umask=000,shortname=lower   0      0

/dev/disk/by-uuid/147845157844F750            /mount/winrc7            ntfs            noauto,users,ro,dmask=0022,fmask=0133,nls=utf8   0      0

UUID=ce724d79-9191-4638-ae3a-883c7ed36cff     none                           swap            sw                                         0      0

UUID=5c275dbd-3af2-437c-873b-79ada8c25ea7     /mount/iso              ext3            noauto,users,rw,exec,noatime               0      2

UUID=2492dd54-9eef-4fe1-bf2c-4dd9d026bcef     /                              ext3            defaults,errors=remount-ro,noatime         0      1

UUID=a504ace1-fc4e-4004-96e1-9b84b4e70b43     /data                          ext3            auto,users,rw,exec,dev,noatime               0      2

UUID=1fcd845b-1e76-45a1-88ee-8aaa4613e194     /idata                         ext4            auto,users,rw,exec,dev,noatime               0      2

/dev/disk/by-uuid/3A36D9A236D96005            /media/disk2part1              ntfs            noauto,users,ro,dmask=0022,fmask=0133,nls=utf8   0      0



/dev/disk/by-uuid/9272E9FD72E9E5C7            /data/WBmnt           ntfs             auto,users,rw,noexec,nodev,nls=utf8      0 0


/home           /data/32/home   none    bind 0 0
/tmp            /data/32/tmp    none    bind 0 0
/proc           /data/32/proc   proc    bind 0 0
/dev            /data/32/dev    none    bind 0 0
/dev/pts        /data/32/dev/pts devpts bind 0 0
/data/WBmnt/2011 /data/32/data/WBmnt/2011 none ro,bind 0 0
/idata/2011 /data/32/idata/2011 none ro,bind 0 0


mount displays:
      Code:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=4082076k,nr_inodes=1020519,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=817440k,mode=755)
/dev/disk/by-uuid/2492dd54-9eef-4fe1-bf2c-4dd9d026bcef on / type ext3 (rw,noatime,errors=remount-ro,commit=5,barrier=1,data=writeback)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=1634880k)
/dev/sdb8 on /data type ext3 (rw,nosuid,noatime,errors=continue,commit=5,barrier=1,data=writeback)
/dev/sdc1 on /idata type ext4 (rw,nosuid,noatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sda1 on /data/WBmnt type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/disk/by-uuid/2492dd54-9eef-4fe1-bf2c-4dd9d026bcef on /data/32/home type ext3 (rw,relatime,errors=remount-ro,commit=5,barrier=1,data=writeback)
/dev/disk/by-uuid/2492dd54-9eef-4fe1-bf2c-4dd9d026bcef on /data/32/tmp type ext3 (rw,relatime,errors=remount-ro,commit=5,barrier=1,data=writeback)
proc on /data/32/proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /data/32/dev type devtmpfs (rw,relatime,size=4082076k,nr_inodes=1020519,mode=755)
devpts on /data/32/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda1 on /data/32/data/WBmnt/2011 type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdc1 on /data/32/idata/2011 type ext4 (ro,relatime,user_xattr,acl,barrier=1,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)


The binds are for a chroot in /data/32

I need the chroot to have access to /data/WBmount/2011 directory.

Why /etc/mtab (/proc/mounts) shows /dev/disk/by-uuid/2492dd54-9eef-4fe1-bf2c-4dd9d026bcef / ext3 rw,noatime,errors=remount-ro,commit=5,barrier=1,data=writeback 0 0
when rootfs / rootfs rw 0 0 is already there?

Why /dev/sda1 /data/32/data/WBmnt/2011 fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0 instead of /data/WBmount/Vidoes /data/32/data/WBmnt/2011 as I defined in /etc/fstab ?

All UUIDs are correct and belong to their corresponding volumes

The install is dist-upgraded often, but I don't reboot it often (around >100 days, but never >150 days). I upgrade the kernel if it using a couple major version behind
 
 View user's profile Send private message  
Reply with quote Back to top
belzeOffline
Post subject: RE: mount disagrees with the fstab  PostPosted: 29.12.2011, 19:53



Joined: 2010-09-13
Posts: 100

Status: Offline
i have the same problem with nfs filesystem http://aptosid.com/index.php?name=PNphp ... highlight=
i updated another box (i update it once per mount) and i have the same problem with /etc/fstab!!!
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: mount disagrees with the fstab  PostPosted: 30.12.2011, 23:15



Joined: 2010-09-19
Posts: 159

Status: Offline
belze: Do you have nfs-common installed?

Anyways, I poke around the changelog and learned /etc/mtab sucks as described in the upstream changelong
      Quote:
- add note about /etc/mtab unreliability to mount.8 [Karel Zak]
I didn't find that note, tho.

The debian changelog gave me the hint that something major was done
      Code:
til-linux (2.20.1-1) unstable; urgency=low                                                                                       
                                                                                                                                   
  * New upstream                                                                                                                   
                                                                                                                                   
  [Roger Leigh]                                                                                                                   
                                                                                                                                   
  * Various merge fixes [with edits - lamont]                                                                                     
    - drop old unused patches                                                                                                     
    - cleanup debian/rules                                                                                                         
    - updated symbols files for lib{blkid,mount,uuid}1                                                                             
                                                                                                                                   
  [LaMont Jones]                                                                                                                   
                                                                                                                                   
  * merge in 2.19.1-{3..5}                                                                                                         
  * deliver /etc/fstab.d

I don't know if fstab.d is related or not, but looks it was taken out from the oven too soon http://comments.gmane.org/gmane.linux.u ... ux-ng/5077

My /etc/mtab symb links looks like this:
/etc/mtab -> /proc/mounts -> self/mounts

/proc/self/mountinfo has the right information as well what findmnt display

I was considering downgrading to testing, but mount is part of utils-linux and I'm not sure how a good idea that would be.

      Code:
ii  bsdutils                                                  1:2.20.1-1                    Basic utilities from 4.4BSD-Lite
ii  libblkid1                                                 2.20.1-1                      block device id library
ii  libmount1                                                 2.20.1-1                      block device id library
ii  libuuid1                                                  2.20.1-1                      Universally Unique ID library
ii  mount                                                     2.20.1-1                      Tools for mounting and manipulating filesystems
ii  util-linux                                                2.20.1-1                      Miscellaneous system utilities
 
 View user's profile Send private message  
Reply with quote Back to top
belzeOffline
Post subject: RE: mount disagrees with the fstab  PostPosted: 02.01.2012, 02:36



Joined: 2010-09-13
Posts: 100

Status: Offline
I hope this will get fixed soon (if it is a bug)...
Yes i have surely nfs-common installed: i can mount all my nfs share, but i can't umount them! (just root can do it!)
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: mount disagrees with the fstab  PostPosted: 02.01.2012, 16:17



Joined: 2010-09-19
Posts: 159

Status: Offline
I forgot to mention that /etc/cron.daily/standard complains because of the wrong information
      Code:
Date: Mon, 02 Jan 2012 07:36:10 -0500
From: Anacron <root>
To: root@hostname
Subject: Anacron job 'cron.daily' on hostname

/etc/cron.daily/standard:

Some local file systems lack a lost+found directory. This means if the
file system is damaged and needs to be repaired, fsck will not have
anywhere to put stray files for recovery. You should consider creating
a lost+found directory with mklost+found(8).

The following lost+found directories were not available:

/data/32/home/lost+found
/data/32/tmp/lost+found
/data/32/idata/2011/lost+found
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: mount disagrees with the fstab  PostPosted: 30.01.2012, 00:53



Joined: 2010-09-19
Posts: 159

Status: Offline
The cron.daily bug is mentioned in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579640 and can be skipped uncommenting /etc/default/cron
      Code:
CHECK_LOSTFOUND=no
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio