Operating System - HP-UX
1753267 Members
5180 Online
108792 Solutions
New Discussion юеВ

Problems with vgcreate in hp-ux 11.23

 
JESUS HIGUERAS
Advisor

Problems with vgcreate in hp-ux 11.23

Hi,

I have problems when i try to create a vg with vgcreate.
The vgcreate process don't finish correctly and during near at 45 minutes prompt back.
The new vg exist in vgdisplay but it don't create correctly.

Sorry for my bad english.

Thank you.
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: Problems with vgcreate in hp-ux 11.23

Hello,

Check your disks are properly available to HP-UX. Run the following commads,

# ioscan -fnC disk
# dd if= of=/dev/null bs=1024k

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
JESUS HIGUERAS
Advisor

Re: Problems with vgcreate in hp-ux 11.23

Disks is ok, i have only disk and is available. I check the fibre channell statistics and it's ok.

Thank you.
Lolupee
Regular Advisor

Re: Problems with vgcreate in hp-ux 11.23

can you paste what you have on display for these commands.

ioscan -fnC disk
vgdisplay -v
diskinfo -v ( dont forget to use rdsk)
pvdisplay -v
Bharat Katkar
Honored Contributor

Re: Problems with vgcreate in hp-ux 11.23

Jesus,
Method to create VG is as follows, see if you are missing something or else check your hardware and it's connections.

# ioscan -fnC disk
Select the disk on which you would like to create VG. Say for e.g. c4t4d4.

# strings /etc/lvmtab | grep c4t4d4

Check whether it already exists, if not then proceed. (In SAN environment you need to check it on all server in the network)

# pvcreate -f /dev/rdsk/c4t4d4
This creates PV on that disk

# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0x0y0000
Here value of y should be unique

# vgcreate vgxx /dev/dsk/c4t4d4

That's all.

Regards,

You need to know a lot to actually know how little you know
JESUS HIGUERAS
Advisor

Re: Problems with vgcreate in hp-ux 11.23

Sorry,

The problems is the same but the lvcreate, vgcreate run correctly.

Sorry.

Jes├Г┬║s.
Simon Wickham_6
Regular Advisor

Re: Problems with vgcreate in hp-ux 11.23

Hi Jesus,

Try and de-activatiing specified volume group with vgchange -a n -q n /dev/vg01

Regards,
Simon