HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root disk change
Operating System - HP-UX
1836786
Members
2733
Online
110110
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
01-20-2004 08:09 AM
01-20-2004 08:09 AM
Hi,
i have just replaced root disk using make_tape_recovery -x inc_entire=vg00. It worked, but i have other disk with volume group vg01. This volume group doesn't exist in new system. How to fix it?
i have just replaced root disk using make_tape_recovery -x inc_entire=vg00. It worked, but i have other disk with volume group vg01. This volume group doesn't exist in new system. How to fix it?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 08:16 AM
01-20-2004 08:16 AM
SolutionFirst, make sure it really isn't there:
# vgchange -a y vg01
If that fails, see if /dev/vg01 exists.
If not, do:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
At this point, see if you have a vg01 mapfile in /etc/lvmconf.
If so, do:
vgimport -m /etc/lvmconf/vg01.mapfile vg01
If you have no mapfile, perform a vgscan.
It will alert you to the disk or disks that are part of a
voume group that doesn't exist right now.
In that case, try:
vgimport vg01 /dev/dsk/cXtXdX /dev/dsk/cXtXdX ...etc...
substituting the correct orphaned disks shown in the vgscan.
Then do:
vgchange -a y vg01
mount -a
(Or, if the entries aren't in the /etc/fstab, add them)
Not without 2 backups and an Ignite image!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 08:19 AM
01-20-2004 08:19 AM
Re: Root disk change
Hi,
If you had the cables connected to the system then it should have imported even vg01.
If there is only one disk, it's not difficult to import vg01. Since you restored the same OS, you may have good mapfiles under /etc/lvmconf directory. Look for /etc/lvmconf/vg01.mapfile If you have it then do
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/vg01 /dev/dsk/cxtydz
#vgchange -a y vg01
#mount -a
If you don't have the mapfile, then use
#vgimport -v vg01 /dev/dsk/cxtydz
It will create logical volumes with the default names in /dev/vg01 directory. Do a 'vgchange -a y vg01' and mount each logical volume to see which filesystem it belongs to.
-Sri
If you had the cables connected to the system then it should have imported even vg01.
If there is only one disk, it's not difficult to import vg01. Since you restored the same OS, you may have good mapfiles under /etc/lvmconf directory. Look for /etc/lvmconf/vg01.mapfile If you have it then do
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/vg01 /dev/dsk/cxtydz
#vgchange -a y vg01
#mount -a
If you don't have the mapfile, then use
#vgimport -v vg01 /dev/dsk/cxtydz
It will create logical volumes with the default names in /dev/vg01 directory. Do a 'vgchange -a y vg01' and mount each logical volume to see which filesystem it belongs to.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 08:57 AM
01-20-2004 08:57 AM
Re: Root disk change
It worked! Thanx for all!
Irek
Irek
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