Hi All,
I just saw this in output from df -h:
# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 131G 4.6G 120G 4% / /dev/sdc1 271G 141G 117G 55% /home /dev/sdd1 271G 3.9G 253G 2% /home/admin /dev/sda1 99M 20M 74M 22% /boot tmpfs 442M 0 442M 0% /dev/shm /dev/hda 11M 11M 0 100% /media/TestCD df: `status': No such file or directory df: `status': No such file or directory
Any ideas why the 'status' messages are showing 'No such file or directory'? More info:
# cat /etc/fstab /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/home /home ext3 defaults 1 2 LABEL=/home/905 /home/admin ext3 defaults 1 2 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0
Thanks in advance, -Ray
On Tue, Apr 1, 2008 at 1:58 PM, Ray Leventhal centos@swhi.net wrote:
I just saw this in output from df -h: # df -h df: `status': No such file or directory df: `status': No such file or directory Any ideas why the 'status' messages are showing 'No such file or directory'? More info:
What is the output of "mount" and "cat /proc/mounts" ? Do you have any filesystems mounted on NFS, or by FUSE or by automount?
Filipe
Filipe Brandenburger wrote:
On Tue, Apr 1, 2008 at 1:58 PM, Ray Leventhal centos@swhi.net wrote:
I just saw this in output from df -h: # df -h df: `status': No such file or directory df: `status': No such file or directory Any ideas why the 'status' messages are showing 'No such file or directory'? More info:
What is the output of "mount" and "cat /proc/mounts" ? Do you have any filesystems mounted on NFS, or by FUSE or by automount?
Filipe _______________________________________________
Hi Filipe,
Thanks for your reply. There are not any NFS filesystems. There are unused drives on the bus, unpartitioned.
As requested:
# mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sdc1 on /home type ext3 (rw) /dev/sdd1 on /home/admin type ext3 (rw) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) /dev/hda on /media/TestCD type iso9660 (ro,noexec,nosuid,nodev,uid=0) st0 on status type unknown (rw) /dev/st0 on status type unknown (rw)
# cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 rw,data=ordered 0 0 /dev /dev tmpfs rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 /proc/bus/usb /proc/bus/usb usbfs rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/sdc1 /home ext3 rw,data=ordered 0 0 /dev/sdd1 /home/905 ext3 rw,data=ordered 0 0 /dev/sda1 /boot ext3 rw,data=ordered 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 /dev/hda /media/TestCD\0405.3 iso9660 ro,nosuid,nodev,noexec 0 0 /etc/auto.misc /misc autofs rw,fd=6,pgrp=13637,timeout=300,minproto=5,maxproto=5,indirect 0 0 -hosts /net autofs rw,fd=11,pgrp=13637,timeout=300,minproto=5,maxproto=5,indirect 0 0
Hi,
On Tue, Apr 1, 2008 at 5:15 PM, Ray Leventhal centos@swhi.net wrote:
# mount ... st0 on status type unknown (rw) /dev/st0 on status type unknown (rw)
Well, obviously these are the two that are causing the problem. st0 seems to be tape drive, but this should never be mounted, as tapes are character devices and not block devices.
You can see that those are not listed in /proc/mounts, which means the kernel doesn't know anything about those being mounted. This means they are only listed in /etc/mtab, maybe you might edit that file, look for those entries and remove them, after that df -h should work just fine.
But that won't tell us why exactly those entries ended up being added there. Do you have any backup software that might be using the tape drive in a strange way? Or a backup software that is configured to use that device as a disk? Or another software (not necessarily backup related) that is configured to use those devices? Do you really have a tape drive on that machine?
Anyway, you might also try to reboot the machine and see if the problem still happens or ceases to happen.
HTH, Filipe
Filipe Brandenburger wrote:
Hi,
On Tue, Apr 1, 2008 at 5:15 PM, Ray Leventhal centos@swhi.net wrote:
# mount ... st0 on status type unknown (rw) /dev/st0 on status type unknown (rw)
Well, obviously these are the two that are causing the problem. st0 seems to be tape drive, but this should never be mounted, as tapes are character devices and not block devices.
You can see that those are not listed in /proc/mounts, which means the kernel doesn't know anything about those being mounted. This means they are only listed in /etc/mtab, maybe you might edit that file, look for those entries and remove them, after that df -h should work just fine.
But that won't tell us why exactly those entries ended up being added there. Do you have any backup software that might be using the tape drive in a strange way? Or a backup software that is configured to use that device as a disk? Or another software (not necessarily backup related) that is configured to use those devices? Do you really have a tape drive on that machine?
Anyway, you might also try to reboot the machine and see if the problem still happens or ceases to happen.
Hi Filipe,
Yes, there is an actual tape drive in /dev/st0, so that's no mystery. The other drives were intended to be used but haven't been fdisk'd so far. The tape drive is used nightly with Arkeia Network Backup (commercial software with which I am in no way affiliated, but recommend highly).
Regards, -Ray