- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: recover VG with multiple disks
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
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО06-21-2004 02:39 AM
тАО06-21-2004 02:39 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 02:47 AM
тАО06-21-2004 02:47 AM
SolutionCan you activate the VG?? (vgchange -a y -q n vgxx)
Do you what partitions (lvs) were residing on the bad disk? If you know that and have enough space on other disks, try moving the data on bad disk(pvmode command) to other two disks.
pvmove -n /dev/vgxx/lvolx source_pv dest_pv
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 03:05 AM
тАО06-21-2004 03:05 AM
Re: recover VG with multiple disks
VG cannot be activated. vgchange returns error
Don't know the lvs info.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 03:10 AM
тАО06-21-2004 03:10 AM
Re: recover VG with multiple disks
You could try activing them wiht no quorum mode. You may not be able to recover the data from the lvols that used the failed disk. But the others may be recovered.
vgchange -a y -q n vgxx
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 03:29 AM
тАО06-21-2004 03:29 AM
Re: recover VG with multiple disks
vgchange -a y -q n vgxx.
Once activated, check which lvs reside on faulty disk. Mount those LVS with read only.
mount -F vxfs -o ro /dev/vgxx/lvolx /mount_point.
Then try copying data somewhere else.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 03:32 AM
тАО06-21-2004 03:32 AM
Re: recover VG with multiple disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 04:20 AM
тАО06-21-2004 04:20 AM
Re: recover VG with multiple disks
vgreduce the disk out and then you will be able to mount.
Also, mv /etc/lvmtab /tmp/lvmtab, then vgscan again to make a new one.
-----------------------------------------------------------
From the man page for vgreduce....
Force reduction of missing PVs from volume group: vg01
vgreduce -f /dev/vg01
Removes the physical volume from the volume group when it is still in
the lvmtab file, but it is currently marked as missing from the volume
group: vg01
vgreduce -l /dev/vg01
The following messages will appear after missing PVS has been removed
successfully:
PV with key 0 successfully deleted from vg /dev/vg01
Repair done, please do the following steps.....:
1. Save /etc/lvmtab to another file.
2. Remove /etc/lvmtab.
3. Use vgscan -v to recreate /etc/lvmtab.
4. NOW use vgcfgbackup(1M) to save the LVM setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 06:45 AM
тАО06-21-2004 06:45 AM
Re: recover VG with multiple disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 06:52 AM
тАО06-21-2004 06:52 AM
Re: recover VG with multiple disks
I haven't seen vgimport running vgscan anytime so far.
Try importing it back. It may complain that the disks are missing. Activate it using the above command and try to mount the logical volumes. If all the logical volumes have shares on the failed disk, then you will not be able to mount any of them. This is a famous draw-back of striping, which I wish you didn't have.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 06:59 AM
тАО06-21-2004 06:59 AM
Re: recover VG with multiple disks
I read it as vg00 has 3 disks with maybe 2 mirrors...