- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bad JBOD disk and need help restoring...
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
тАО02-17-2006 01:04 AM
тАО02-17-2006 01:04 AM
I have a guy who lost a disk on his hpux 11.0 system. It is a jamaica disk and it was part of or all of vg01. The problem is that he has no record of what disk(s) made up vg01. All he has is a map file. He wants me to "fix" it. When I go into SAM I find there are 4 disks that do not belong to a volume group...so I assume that after the one disk died, the whole vg01 disappeared and the other three disks that probably belonged to that volume group are now not belonging to anything. None of this stuff was mirrored either. So can someone tell me what I have to do (step by step) to get these disks back into vg01 so that I can restore from tape. Do I have to just vgimport or pvcreate first....then only the one disk that was replaced, or that and the other three disks that in SAM don't belong to a volume group?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:13 AM
тАО02-17-2006 01:13 AM
Re: Bad JBOD disk and need help restoring...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:18 AM
тАО02-17-2006 01:18 AM
SolutionDo a ll /dev/vg01 > /tmp/vg01.listing
To see which disks were in it
Do a strings /etc/lvmtab
Look for vg01 - the disks devs should be there...
Compare to the one that was replaced...
Then do a vgcfgrestore
vgcfgrestore -n /dev/vg01 /dev/rdsk/cXtXdX
Then you should be able to do a vgchange -a y /dev/vg01
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:18 AM
тАО02-17-2006 01:18 AM
Re: Bad JBOD disk and need help restoring...
# strings /etc/lvmtab
(Don't worry about the strange characters that appear. Those are normal).
Another good resource for replacing disks is "Chapter 16 - LVM" of the Software Recovery Handbook.
Software Recovery Handbook:
http://www2.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C16
Chapter 16 - LVM:
http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:31 AM
тАО02-17-2006 01:31 AM
Re: Bad JBOD disk and need help restoring...
Now, I doubt he even knows which disk was replaced other than pointing to it physically. I am in another city, so I have to figure it out somehow. Can I just do a vgcfgrestore to all 4 disks in that vg01 rather than trying to figure out which disk it was?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:38 AM
тАО02-17-2006 01:38 AM
Re: Bad JBOD disk and need help restoring...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:53 AM
тАО02-17-2006 01:53 AM
Re: Bad JBOD disk and need help restoring...
Well the vgcfgresore worked on all disks, then the vgchange seemed to work. When I try and mount the vg01 stuff (mount -a) I get:
vxfs mount: /dev/vg01/lvol4 is corrupted. needs checking
vxfs mount: /dev/vg01/lvol3 is corrupted. needs checking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 01:56 AM
тАО02-17-2006 01:56 AM
Re: Bad JBOD disk and need help restoring...
fsck -F vxfs -o full -Y /dev/vg01/rlvol3
fsck -F vxfs -o full -Y /dev/vg01/rlvol4
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 02:02 AM
тАО02-17-2006 02:02 AM
Re: Bad JBOD disk and need help restoring...
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
warning - no lost+found directory for fileset 999
pass3 - checking reference counts
pass4 - checking resource maps
OK to clear log? (ynq)y
set state to CLEAN? (ynq)y
Can I just create that lost+found directory? or is that not even the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 02:09 AM
тАО02-17-2006 02:09 AM
Re: Bad JBOD disk and need help restoring...
Can you mount the file systems now?
Rgds...Geoff