Mailinglist Archive: opensuse (2442 mails)

< Previous Next >
[opensuse] mounted partitions don't show up in df
  • From: Ricardo Sánchez <rfsleal@xxxxxxxxx>
  • Date: Fri, 29 Jun 2007 13:20:03 +0200
  • Message-id: <4684EAE3.1060707@xxxxxxxxx>
Hello all:

I have been observing for some time a strange behavior in my mounted
partitions.

Here's my fstab:

linux:/home/rleal # cat /etc/fstab
/dev/sda7            /                    reiserfs  
acl,user_xattr        1 1
/dev/sda3            /boot                reiserfs  
acl,user_xattr        1 2
/dev/sdb2            /home                reiserfs  
acl,user_xattr        1 2
/dev/sda6            /opt                 reiserfs  
acl,user_xattr        1 2
/dev/sda8            /tmp                 reiserfs  
acl,user_xattr        1 2
/dev/sda5            /usr                 reiserfs  
acl,user_xattr        1 2
/dev/sda1            /windows/C           ntfs      
ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda2            swap                 swap      
defaults              0 0
proc                 /proc                proc      
defaults              0 0
sysfs                /sys                 sysfs     
noauto                0 0
usbfs                /proc/bus/usb        usbfs     
noauto                0 0
devpts               /dev/pts             devpts    
mode=0620,gid=5       0 0
/dev/sdb1            /windows/D           ext2      
acl,user_xattr        1 2

and /proc/mounts lists them adequately:

linux:/home/rleal # cat /proc/mounts
rootfs / rootfs rw 0 0
udev /dev tmpfs rw 0 0
/dev/sda7 / reiserfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda3 /boot reiserfs rw 0 0
/dev/sdb2 /home reiserfs rw 0 0
/dev/sda6 /opt reiserfs rw 0 0
/dev/sda8 /tmp reiserfs rw 0 0
/dev/sda5 /usr reiserfs rw 0 0
/dev/sda1 /windows/C ntfs
ro,nosuid,nodev,noexec,uid=0,gid=100,umask=02,nls=utf8,errors=continue,mft_zone_multiplier=1
0 0
/dev/sdb1 /windows/D ext2 rw 0 0

But if I want to see the disk space usage on my computer, df just shows
part of what's (supposed to be) mounted:

linux:/home/rleal # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7              21G  1.5G   19G   8% /
udev                  990M  132K  990M   1% /dev

linux:/home/rleal # mount
/dev/sda7 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)

linux:/home/rleal # cat /etc/mtab
/dev/sda7 / reiserfs rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0

I found out that during boot, after /etc/init.d/boot.udev my the
"missing" partitions are already mounted. But after that
/etc/init.d/boot.localfs script tries to mount them again and fails with
message that they are already mounted or mount points are busy:

mount: /dev/sda3 already mounted or /boot busy
mount: /dev/sdb2 already mounted or /home busy
mount: /dev/sda6 already mounted or /opt busy
mount: /dev/sda8 already mounted or /tmp busy
mount: /dev/sda5 already mounted or /usr busy
mount: /dev/sda1 already mounted or /windows/C busy
mount: /dev/sdb1 already mounted or /windows/D busy

And of course are not unmounted when shutting down.

I use two SATA2 MAXTOR 7200 (1x320 GB $ 1x200GB) on ASUS M2nPV-VM MoBo
with a AMD AM2 ATHLON 64 3800+ proc. OpenSuSE 10.2. Occurs on all
kernels I tried, the opensuse ones and vanilla.

Is this a bug, as suggested in the opensuse-es list?
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >