HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding root disk to the system
Operating System - HP-UX
1834458
Members
2655
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-08-2001 06:27 AM
02-08-2001 06:27 AM
Hi,
here is some kind of How-To.
A month ago, we had a disk with the system installed on it. Then, after installing some patches and then removing them, system was crashed. It is impossible to boot from this disk (From ISL : hpux -XXX - all options doesn't worked) Several days after disaster, system was installed onto another disk. Someone told me, that the good way to follow is using Recovery Shell from support disk.
So, is it possible to add LVM structure from first disk (where system was crashed) to the second disk?
here is some kind of How-To.
A month ago, we had a disk with the system installed on it. Then, after installing some patches and then removing them, system was crashed. It is impossible to boot from this disk (From ISL : hpux -XXX - all options doesn't worked) Several days after disaster, system was installed onto another disk. Someone told me, that the good way to follow is using Recovery Shell from support disk.
So, is it possible to add LVM structure from first disk (where system was crashed) to the second disk?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 07:47 AM
02-08-2001 07:47 AM
Solution
Yes, you can import the LVM structure from the old vg00 as follows:-
1. Choose a name for the volume group for example vgoldroot.
2. mkdir /dev/vgoldroot; cd /dev/vgoldroot
3. mknod group c 64 0x??0000
ensure that ?? is a unique number, do
ls -l /dev/*/group to check
4. vgimport vgoldroot /dev/dsk/c?d?t?
where c?d?t? is your old boot disk.
5. Activate the volume group.
vgchange -a y vgoldroot
You will now be able to access the old logical volumes, for example:
mkdir oldroot
mount /dev/vgoldroot/lvol3 /oldroot
Hope this helps.
Regards,
John
1. Choose a name for the volume group for example vgoldroot.
2. mkdir /dev/vgoldroot; cd /dev/vgoldroot
3. mknod group c 64 0x??0000
ensure that ?? is a unique number, do
ls -l /dev/*/group to check
4. vgimport vgoldroot /dev/dsk/c?d?t?
where c?d?t? is your old boot disk.
5. Activate the volume group.
vgchange -a y vgoldroot
You will now be able to access the old logical volumes, for example:
mkdir oldroot
mount /dev/vgoldroot/lvol3 /oldroot
Hope this helps.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 08:01 AM
02-08-2001 08:01 AM
Re: Adding root disk to the system
Hi !
Jhon has right only one other think>
first check vgimport possibility in old disk with:
vgscan -a -p
regards, Saa
Jhon has right only one other think>
first check vgimport possibility in old disk with:
vgscan -a -p
regards, Saa
If no problem, don't fixed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 08:59 AM
02-08-2001 08:59 AM
Re: Adding root disk to the system
One more addition after you import the old root disk. You can do vgdisplay so you can get all the logical vols on the disk in case you plan to mount partitions then root, but you might have to guess which partion is what after mounting or match it with the current rootdisk mount points.
Also are you talking about (adding)copying the lvm structures from the old disk to the new root disk? like we do a vgcfgrestore to copy the lvm structures to a replaced disk, so you get the partitions as they where on the failed disk.
In the case of primary root disk, It wont be possible.
Good luck.
Also are you talking about (adding)copying the lvm structures from the old disk to the new root disk? like we do a vgcfgrestore to copy the lvm structures to a replaced disk, so you get the partitions as they where on the failed disk.
In the case of primary root disk, It wont be possible.
Good luck.
Amidsts difficulties lie opportunities
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP