- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Lost VG(s)
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-14-2003 07:21 AM
07-14-2003 07:21 AM
Re: Lost VG(s)
What about VG02
it has two entries in
strings /etc/lvmtab.old
/dev/vg02
/dev/dsk/c5t1d0
/dev/dsk/c2t2d0
Which one to use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:23 AM
07-14-2003 07:23 AM
Re: Lost VG(s)
Apparently both disks belonged to vg02, so use both: /usr/sbin/vgimport -v -m /etc/lvmconf/vg02.mapfile /dev/vg02 /dev/dsk/c5t1d0 /dev/dsk/c2t2d0 .
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:26 AM
07-14-2003 07:26 AM
Re: Lost VG(s)
For vg02, given your old 'etc/lvmtab', do:
# /usr/sbin/vgimport -v -m /etc/lvmconf/vg02.mapfile /dev/vg02 /dev/dsk/c5t1d0 /dev/dsk/c2t2d0
Since both disks were part of 'vg02' you need to import both. See the man pages for 'vgimport' and 'vgexport' for more information, to.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:30 AM
07-14-2003 07:30 AM
Re: Lost VG(s)
vgcfgrestore -n /dev/vg02 /dev/rdsk/c5t1d0 /dev/rdsk/c2t2d0
vgimport ...
try
# mount -a
however, I wonder what happened during your installation...
Try
# swlist -l fileset -a state | grep -v -E "^#|configur"
this command should list nothing, else you have filesets in the state corrupted, transient or installed.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:30 AM
07-14-2003 07:30 AM
Re: Lost VG(s)
I used just one disk instead of two:
/usr/sbin/vgimport -v -m /etc/lvmconf/vg02.mapfile /dev/vg02 /dev/dsk/c5t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:33 AM
07-14-2003 07:33 AM
Re: Lost VG(s)
vgexport vg02
vgimport .... /dev /dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:35 AM
07-14-2003 07:35 AM
Re: Lost VG(s)
In response to your questin of what to do after doing a 'vgimport' with only one of the two physical volumes:
Do a 'vgexport' and then a 'vgimport' with the correct device files. This will correctly cleanup your current '/etc/lvmtab'. Note that you will need to rebuild your volume group device file ('dev/vg02/group') *before* the 'vgimport'. The 'vgexport' removes these files.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:35 AM
07-14-2003 07:35 AM
Re: Lost VG(s)
that would have been the correct line above,
sorry for that.
Regards
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:26 PM
07-14-2003 12:26 PM
Re: Lost VG(s)
Restore first the configuration:
vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtXdX
Export the VG (remove from OS):
vgexport vgXX
Import the VG (add to OS):
vgimport /dev/rdsk/cXtXdX
Caesar
- « Previous
-
- 1
- 2
- Next »