cancel
Showing results for 
Search instead for 
Did you mean: 

create a volume group

 
taouw
Frequent Advisor

create a volume group

can anyone help me to create a volume group vg01:
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgcreate vg01 /dev/disk/disk5
i have receive the message:
increased the number of physical extents per physical volume to 8683
vgcreate: volume group "/dev/vg01" could not be created:
device busy
6 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: create a volume group

Hi,

To fix this you need to increase your PE size from the default of 4Mb to something bigger like 8,16 or 32 ....

vgcerate -s (8,16,32) vg01 /dev/disk/disk5


mikap
taouw
Frequent Advisor

Re: create a volume group

the same error: could not be created:
device busy
Jozef_Novak
Respected Contributor

Re: create a volume group

Hello,

something might be accessing the disk you plan to include in your volume group. Check with:

# fuser /dev/disk/disk5.

Also check whether the disk is not used for some other purpose apart from LVM config.

J.
Michal Kapalka (mikap)
Honored Contributor

Re: create a volume group


Jun 2, 2009 08:51:10 GMT Unassigned
Hi,

To fix this you need to increase your PE size from the default of 4Mb to something bigger like 8,16 or 32 ....

vgcerate -s (8,16,32) -e 65535 vg01 /dev/disk/disk5
Sajjad Sahir
Honored Contributor

Re: create a volume group

# fuser -ku /dev/disk/disk5.

then try once more
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgcreate vg01 /dev/disk/disk5

thanks and regards

Sajjad Sahir
taouw
Frequent Advisor

Re: create a volume group

i check the user access
# fuser /dev/disk/disk5.
I have receive only the error
"device busy"