General
cancel
Showing results for 
Search instead for 
Did you mean: 

why the file systems displayed by bdf is different from the one by sam

SOLVED
Go to solution
newa
Frequent Advisor

why the file systems displayed by bdf is different from the one by sam

Hi,

Why /home/hems is listed by sam but not by bdf?

Thanks in advance.

*******************************
h457:/roothome # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 384848 659336 37% /
/dev/vg00/lvol1 511672 92608 367896 20% /stand
/dev/vg00/lvol8 6291456 5172832 1116528 82% /var
/dev/vg00/lvol7 8388608 2046952 6292240 25% /usr
/dev/vg00/lvol4 2383872 22408 2343336 1% /tmp
/dev/vg00/lvol6 7446528 5201968 2228376 70% /opt
/dev/vg00/lvol5 2097152 366088 1718040 18% /home
/dev/vg00/lvaudit 1024000 19940 941313 2% /.secure/etc
h457:/roothome # bdf

*****************************************
││ / VxFS /dev/vg00/lvol3 ^ │
││ /.secure/etc VxFS /dev/vg00/lvaudit │
││ /home VxFS /dev/vg00/lvol5 │
││ /home/hems VxFS /dev/vghems/lvol1 │
││ /net Auto :
││ /opt VxFS /dev/vg00/lvol6 │
││ /stand HFS /dev/vg00/lvol1 │
││ /tmp VxFS /dev/vg00/lvol4 │
││ /usr VxFS /dev/vg00/lvol7 │
││ /var VxFS /dev/vg00/lvol8
6 REPLIES
Keith Bryson
Honored Contributor
Solution

Re: why the file systems displayed by bdf is different from the one by sam

/home/hems is on another volume group and doesn't appear to be mounted.

Keith
Arse-cover at all costs
johnsonpk
Honored Contributor

Re: why the file systems displayed by bdf is different from the one by sam

Hi,

it seems SAM showing filesystem table (fstab) and all of from that is not mounted.

execute mount -a or mount /home/hems and compare

rgds
johnson
RC Park
Frequent Advisor

Re: why the file systems displayed by bdf is different from the one by sam

bdf is not vg specific. It will list all MOUNTED volumes. SAM's interface will list all available objects, and in some cases give you status, but what is your goal? If you need to work with the FS, then you'll need to be sure it's mounted (issue 'mount' at a prompt, if it doesn't show, it's not there), but know that there are various ways to mount filesystems, and you can mount from other systems via NFS etc..., so again, what do you need to do, or were you just curious as to the difference in the displays?

RCP
TTr
Honored Contributor

Re: why the file systems displayed by bdf is different from the one by sam

Were these two outputs (bdf and sam) obtained at the same time?

Are all the home directories made available via the automounter? If so the user (hems) may have logged in just before you looked at the sam lisying.

What does /etc/fstab show as far what is expected to be be mounted?
TTr
Honored Contributor

Re: why the file systems displayed by bdf is different from the one by sam

I just did a quick test and unles my sam is broken, it (sam) does not update the mounted filesystem listing if you mount or unmount a filesystem. I even did a "Refresh list" from the sam menu and it did not update either.
The bdf is the command to trust in this case. It shows the filesystems that are mounted at the time you run it.
Michael Steele_2
Honored Contributor

Re: why the file systems displayed by bdf is different from the one by sam

Hi

a) cat /etc/mnttab
b) df -k
c) bdf
d) SAM
e) cat /etc/fstab
Support Fatherhood - Stop Family Law