- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- recover lvm disk
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
Discussions
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
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
12-18-2003 01:06 AM
12-18-2003 01:06 AM
I have one system hpux 10.20 with an broken root disk. I believe the disk is mirrored but on the mirrored disk i have not boot information. I have replaced the broken disk and have boot from this in single user mode.
How can access / mount the other disk with lvm
structur? I have an Ignite tape but it's not actuall. If I can make the disk bootable so i can boot from this disk.
Many Thanks
Thomas Elsaesser
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:18 AM
12-18-2003 01:18 AM
Re: recover lvm disk
I would go for the option to make your original mirror bootable with mkboot and lvlnboot. Then you can boot from that disk and you can then add your new disk to vg00.
To add the old disk to your new vg00, you only need lvlnboot to set it's root, swap and dump devices on your old disk, reboot and then add your new disk to vg00 and mirror the data again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 02:14 AM
12-18-2003 02:14 AM
SolutionSince you've booted to single user from the replacement disk, use mkboot to see if you can make the non bootable mirror bootable.
mkboot /dev/rdsk/cXtXdX
If it returns a warning about a "non-boot lvol" on the disk, don't continue. If you get the command prompt back, you're good to go and run...
mkboot -a "hpux -lq" /dev/rdsk/cXtXdX
now bounce the box and try to boot from the mirror.
Hope this helps,
denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 02:22 AM
12-18-2003 02:22 AM
Re: recover lvm disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 02:32 AM
12-18-2003 02:32 AM
Re: recover lvm disk
So I suggest you to change direcytly the broken disk
put inside the new.
If system doesn't recognize the special file run (pvcreate -f -B /dev/dsk/cxtzdx)
or directly
vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtxdx
mkboot /dev/rdsk/cxtxdx
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxdx
vgchange -a y /dev/vg00
vgsync /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:19 AM
12-18-2003 03:19 AM
Re: recover lvm disk
It has very detailed methods for repairing a faulty disk, they consulted with our HPUX folks to get it just right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:45 PM
12-18-2003 06:45 PM
Re: recover lvm disk
Ok. I have now a new boot disk on the system and have boot from this.
On the mirror is no Boot header (mkboot /dev/rdsk/c1t5d0 create a warning)
How can I access to the mirror disk without destroy the data on this. The best way is when I can mount this disk and copy all related information.
Have you any idea?
Thanks for your help.
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 02:43 AM
12-19-2003 02:43 AM
Re: recover lvm disk
pvcreate -Bf
Then follow the instructions to add a mirror to the vg00 boot disk enclosed in my attachment.
If this old mirror is messed up as you say...that should solve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2003 08:32 PM
12-28-2003 08:32 PM
Re: recover lvm disk
Here the problem:
I have now istall new OS on new disks.
(two 4 GB disk in VG00 )from old Ignite backup.
The original mirror disks with my data is on two other disks. My question is now:
How can I access to my data on the other two disks with lvm structur. The disk have no Boot Area :-(
I must mount the disk, because i need the data on this (/etc/fstab etc)
Thank you,Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:50 AM
12-29-2003 04:50 AM
Re: recover lvm disk
2) A second option may be tricky, but you can vgimport those and change the VG name to somehting other than vg00...
that is if you have a saved vg00.mapfile somewhere.
Then change the mountpoint names... and mount the filesystems you need and extract the config data...then copy it to the new OS filesystems.