bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wrong filesystem logged in mtab and reported running df


From: Lee Powell
Subject: wrong filesystem logged in mtab and reported running df
Date: Sat, 23 Sep 2006 15:35:40 -0500

FYI
Running YDL 4.1 on a dual 2.5 GHZ G5.

It looks like 'df' is reporting the wrong filesystem name for / and /boot. These are showing as /dev/sda when they should probably be /dev/sdb.

I was originally running 4.0 on /dev/sda (upper drive).
Last week I installed 4.1 on /dev/sdb (lower drive).
I'm booting using the 'option key' selection for the second penguin to avoid the automatic yaboot for 4.0 I've cross mounted the other filesystems in the /mt directory and these seem correct.

Notice the #blocks for / match the #blocks for /mt/ydlb which is what I was expecting but the filesystem names don't match.

address@hidden ~]$ uname -a
Linux swave.geology.wisc.edu 2.6.15-rc5.ydl.1g5-smp #1 SMP Tue Jan 17 18:09:27 EST 2006 ppc64 ppc64 ppc64 GNU/Linux
address@hidden ~]$ df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda5                59399      3765     52617   7% /
/dev/sda6                   97        55        38  60% /boot
none                      3938         0      3938   0% /dev/shm
/dev/sda5                16869      8760      7252  55% /mt/ydla
/dev/sdb5                59399      3765     52617   7% /mt/ydlb
/dev/sda4               149549     21031    128518  15% /mt/maca
/dev/sdb4                76186      8298     67889  11% /mt/macb
address@hidden ~]$
address@hidden ~]$ cat /etc/mtab
/dev/sda5 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda6 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda5 /mt/ydla ext3 rw 0 0
/dev/sdb5 /mt/ydlb ext3 rw 0 0
/dev/sda4 /mt/maca hfsplus rw,umask=022 0 0
/dev/sdb4 /mt/macb hfsplus rw,umask=022 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
automount(pid2991) /misc autofs rw,fd=4,pgrp=2991,minproto=2,maxproto=4 0 0 automount(pid3095) /mnt autofs rw,fd=4,pgrp=3095,minproto=2,maxproto=4 0 0 automount(pid3030) /net autofs rw,fd=4,pgrp=3030,minproto=2,maxproto=4 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
address@hidden ~]$

I can run additional tests if needed.
-leep-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]