HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

vgcfgrestore

 
Amdy_Sufiyan
Occasional Contributor

vgcfgrestore

hi...


bash-4.1# vgcfgrestore -l -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
 ---- Physical volumes : 2 ----
         /dev/rdsk/c1t2d0 (Bootable)
         /dev/rdsk/c2t2d0 (Non-bootable)


what does both disk signify..??

6 REPLIES
Bill Hassell
Honored Contributor

Re: vgcfgrestore

This indicates that there are two disks in vg00. One of the disks is bootable and the other is not. Use the command vgdisplay -v vg00 to see the details. If you are expecting the second disk to be a mirror and bootable in case the first disk fails, the second is NOT configured that way. The command: lvlnboot -v will also give you additional details.



Bill Hassell, sysadmin
Amdy_Sufiyan
Occasional Contributor

Re: vgcfgrestore

Thanx for your reply...  :)

but sir i am a beginner in HP-UX so would you plz tell me why we are aasuming here these two disk as diffrent disk coz what i'm thinking here is one disk having two controler or say primary and alternate path.

basant
Frequent Advisor

Re: vgcfgrestore

Please share nickel of your server
Basant Sharma
Bill Hassell
Honored Contributor

Re: vgcfgrestore

If the second disk was an alternate path, then the disk would be marked as bootable. An alternate path is the same physical disk, so the characteristics will be identical. As I mentioned, vgdisplay -v vg00 will be more informative, as well as the output from lvlnboot -v



Bill Hassell, sysadmin
Aneesh Mohan
Honored Contributor

Re: vgcfgrestore

 

Hello,

 

--- Physical volumes : 2 ----

 

(a) You have two physical disks allocated to vg00

(b) You dont have mirroring for vg00

(c)  The disk c1t2d0 has BDRA configured [ your root,stand are on this disk apart from other filessytems ]

(d)  The disk c2t2d0 has no BDRA configured [ This disk is an expanision of vg00 volume group ]

 

regards,

Aneesh

Torsten.
Acclaimed Contributor

Re: vgcfgrestore

Here is the bad version:

disk2 is the mirror of disk1, but non-bootable = kind of useless

# vgdisplay -v vg00

# lvlnboot -v

# lvdisplay -v /dev/vg00/lvol1 ... up to lvol8

will tell.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!