Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Device Busy message from vgcreate command

Status
Not open for further replies.

ColoUser

Technical User
Mar 1, 2002
3
US
Hi All,

I'm trying to create a volume group using the vgcreate command. I get an error message saying the device is busy. I did fuser which didn't return any processes, etc. How do I determine what is attached to this device?? I've tried lssf, ioscan, but no additional info that is useful.

The server is hp 9000/800/N4000-55, OS 11.00.

#vgcreate /dev/vg03 /dev/dsk/c3t0d2
vgcreate: Couldn't open physical volume "/dev/dsk/c3t0d2":
Device busy

# fuser -u /dev/dsk/c3t0d2
/dev/dsk/c3t0d2:

I'm a novice using LVM commands so any help would be greatly appreciated.
Linda
 
Did you check if your device is not use in an other vg ?
# strings /etc/lvmtab | grep /dev/dsk/c3t0d2

Before adding the pv, you have to declare it using pvcreate :
# pvcreate /dev/rdsk/c3t0d2
 
First on all, use ioscan to make sure the /dev/dsk/c3t0d2 is there ?
Then do a insf -e to make sure the drivers are loaded properly.
From the device name looks like you are using a disk array, make sure that there is no secondary/alternate path point to the same disk
strings /etc/lvmtab is a good way to find out if the device use in another VG
Then do a pvcreate -f /dev/rdsk/c3t0d2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top