- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: could not active volums groups
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 09:42 PM
07-28-2003 09:42 PM
could not active volums groups
I'll show you LVMTAB :
# strings /etc/lvmtab
/dev/vg00
#:?$Z&
/dev/dsk/c0t5d0
/dev/dsk/c0t8d0
/dev/vgsaspstn
/dev/dsk/c2t1d0
/dev/dsk/c2t2d0
/dev/dsk/c2t3d0
-------------------------------------
# more /etc/fstab
/dev/vgsaspstn/lvapp /saspstnapp vxfs rw,suid,nolargefiles,delaylog,datainlog 0
2
/dev/vgsaspstn/lvdata /saspstndata vxfs rw,suid,nolargefiles,delaylog,datainlog
0 2
-------------------------------------------
# vgimport -v /dev/vgsaspstn /dev/dsk/c2t1d0 /dev/dsk/c2t2d0 /dev/dsk/c2t3d0
Beginning the import process on Volume Group "/dev/vgsaspstn".
vgimport: Volume group "/dev/vgsaspstn" already exists in the "/etc/lvmtab" file
----------------------------------------------
# vgcfgrestore -n /dev/vgsaspstn /dev/rdsk/c2t1d0
Volume Group configuration has been restored to /dev/rdsk/c2t1d0
# vgcfgrestore -n /dev/vgsaspstn /dev/rdsk/c2t2d0
Volume Group configuration has been restored to /dev/rdsk/c2t2d0
# vgcfgrestore -n /dev/vgsaspstn /dev/rdsk/c2t3d0
Volume Group configuration has been restored to /dev/rdsk/c2t3d0
----------------------------------------------
# vgchange -a y vgsaspstn
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c2t1d0":
Cross-device link
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c2t2d0":
Cross-device link
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c2t3d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t3d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Couldn't query the list of physical volumes.
vgchange: Couldn't activate volume group "vgsaspstn":
Quorum not present, or some physical volume(s) are missing.
----------------------------------------------
# ioscan -funC disk |grep c2
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0
/dev/dsk/c2t5d0 /dev/rdsk/c2t5d0
---------------------------------------------
I do not know what i have to do to return all the volum groups ?
Note I already do vgimport !
Any Idea please ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 10:04 PM
07-28-2003 10:04 PM
Re: could not active volums groups
when you do the vgcfgrestore you should supply all the disk which were in that volume group not disk one by one as you have done that has corrupted the volume group configuration on the disks.
And vgimport wont happen till the disks are in /etc/lvmtab
Now there is very little you can do to restore the lv and data. What you can do is export the volume group
1. vgexport
2. mkdir /dev/
3. mknod /dev/
and vgimport
4. vgimport /dev/
5. If vgimport doesn't work then you have to create the VG again and then all lv and restore the data from backup.
vgcreate /dev/
lvcreate ...
Thanks
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 10:19 PM
07-28-2003 10:19 PM
Re: could not active volums groups
are there any other disks, from another chain ?
What is this storage? Is it possible that you used some disks that belongs to a vg on another server ?
Please post a full (if not already so)
strings /etc/lvmtab
and ioscan -fnCdisk
I suspect that you re-used some disks..
Another thing: in the output it comes:
"/dev/dsk
/c2t3d0":
on two rows, can you confirm this ? i suspect also some corruption in lvmtab or vgda/vgra structures...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 10:22 PM
07-28-2003 10:22 PM
Re: could not active volums groups
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfaf43ac61301774ba24b37ec56774b38,00.html
that you had other vg.
Check the minor number !
ll /dev/vg*/group
to see if they are unique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 10:29 PM
07-29-2003 10:29 PM
Re: could not active volums groups
I think that you have a problem with lvmtab so run vgscan in preview mode and if the output is ok run it for update lvmtab
# vgscan -p -a -v
# vgscan -a -v
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 02:35 AM
07-30-2003 02:35 AM
Re: could not active volums groups
1) mv /etc/lvmtab /etc/lvmtab.org
2) vgscan -a -v
The above command will recreate lvmtab file. Now you check your vgdisplay command.