Operating System - HP-UX
1748093 Members
5977 Online
108758 Solutions
New Discussion юеВ

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 6
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