1846983 Members
3491 Online
110257 Solutions
New Discussion

bdf issue

 
ricky_1
Frequent Advisor

bdf issue

Hi ALL,

I find that "bdf -t hfs -t vxfs" lists only Filesystems which are vxfs. That means it recognises only 2nd option "-t vxfs". Is this the way it should work or i need some patching to be done.
BTW servers here are 10.20 and 11x .
Your help is highly appreciated.

Rgds,
Believe in Yourself!!
5 REPLIES 5
Michael Tully
Honored Contributor

Re: bdf issue

Hi,

You can only use one of these arguments at a time. The man page states:

/Quote/
-t type - Report on the file systems of a given type (for example, nfs or hfs).

/Unquote/

If the progrm was capable of doing both, it would have a seperate option for it.

HTH
~Michael~
Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: bdf issue

Hi,
The bdf command does not account for any disk space reserved for swap space or used for the HFS boot block. VXFS file systems may have
other items not accounted for by this command.
never give up
Michael Tully
Honored Contributor

Re: bdf issue

Hi,

A simple script should get both.

HTH
~Michael~

#!/usr/bin/sh
#
# Grab output of bdf types
#
PATH=/usr/bin
LOG=/tmp/bdf.out
#
#Get the HFS filesystems
#
echo "Fileystem Report" >> $LOG
echo ""
echo "HFS Filesystems" >> $LOG
#
bdf -t hfs >> $LOG
#
# Get the vxfs filesystems
echo "" >> $LOG
echo "vxfs Filesystems" >> $LOG
echo "" >> $LOG
#
bdf -t vxfs >> $LOG
echo "" >> $LOG
echo "End of Report" >> $LOG
Anyone for a Mutiny ?
Mark Greene_1
Honored Contributor

Re: bdf issue

I'd call it in to HP as a bug, and see what they say. While the man page does not say you can specify multiple arguements, accepting the last instance of the option without error is also non-standard, I would think.

HTH
mark
the future will be a lot like now, only later
Tim D Fulford
Honored Contributor

Re: bdf issue

mine does the same

Interestingly enough if you swap them 'round it only lists the hfs ones.

I'd say it can only recognises one type. I tried bdf -t hfs,vxfs and so forth but it barffed at me

Tim
-