1834625 Members
3361 Online
110069 Solutions
New Discussion

Re: BDF Command

 
SOLVED
Go to solution
Richard Brak_2
Occasional Advisor

BDF Command

When trying to perform a BDF command on my disk, I receive the following message:

bdf: /dev/rdsk/c0t6d0: Invalid argument

What am I doing wrong?
5 REPLIES 5
Mark Greene_1
Honored Contributor

Re: BDF Command

you can run bdf against one or more file system, but not against the drives themselves.

mark
the future will be a lot like now, only later
Alzhy
Honored Contributor

Re: BDF Command

You do not use bdf on physical disks.. you use it on Filesystems ie: bdf /var
Hakuna Matata.
Geoff Wild
Honored Contributor

Re: BDF Command

You don't do bdf on the /dev/rdsk/disk

But on:

bdf /usr
or
bdf /dev/vg00/lvol7
or
bdf /dev/dsk/c0t6d0


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Helen French
Honored Contributor
Solution

Re: BDF Command

What's actually you trying to do?

# bdf

This command will give you a list of all mounted file systems and it's usage. If you want to know about a specific disk, use these commands:

# diskinfo /dev/rdsk/c0t6d0
# pvdisplay -v /dev/dsk/c0t6d0

Remember that 'rdsk' is for raw devices and 'dsk' is for block devices.
Life is a promise, fulfill it!
Richard Brak_2
Occasional Advisor

Re: BDF Command

Thanks guys, diskinfo worked fine.