- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rebuilding replaced disks HP-UX 10.01
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
11-13-2004 11:11 AM
11-13-2004 11:11 AM
I'm going to replace the disks with new ones (different ones), and need to find out what all I have to do to rebuild.
I see the reference manual pages for vgcfgbackup/restore, but the details are sketchy.
I also found some threads here on a search for "vgcfgrestore", which seem to fill out a lot of those details (though many of them seem to be for later HP-UX's (I don't have vgcfgrestore -R, for example).
If I get the man pages, vgcfgbackup writes a file to /etc/lvmconf/vg00.conf (and the other group I have). The vg00.conf there now is dated Jan 1996.
Do I need to run vgcfgbackup again, if the vgXXX.conf files are already there? If I do, should I save the current ones?
The new disks will have the same hardware address as the old.
Are these the steps:
1. Back up all the FS.
2. Run vgcfgbackup for the two vol groups.
3. shutdown to power off.
4. Pull the old disks.
5. Install the new ones
6. power on and boot.
6.5 (anything here?)
7. Run vgcfgrestore ......
....What options? I have
.......-n /dev/vg00 /dev/rdsk/c0t6d0
8. frecover the FS.
The vgcfgrestore man page says to make the VG unavailable (vgchange -a n ...), but how can it become available if it's blank?
And does it need to be formatted (or something) once it's put in and connected? (Step 6.5?)
(I know, 10.01 is a bit old - once I get it put back together I'll see if I can talk management into going to 11 point something.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2004 11:34 AM
11-13-2004 11:34 AM
SolutionEvery time you put a new drive in a system you have to prepare it with the pvcreate command.
You may after that point be able to use the commands you are trying.
If the disk is a hotswap you may need to run insf -C to get the thing recognized and claimed on an ioscan.
The disk may get a new instance number which might necessitate you extending the volume group to the new disk.
If the new disk comes up as /dev/dsk/c5t8d0 then the command is:
vgextend /dev/vg01 /dev/dsk/c5t8d0
You may have to try a vgreduce on the old dead drive to clean up the /etc/lvmtab table, which you check with the command strings /etc/lvmtab
Just in case you need to rebuild from scratch:
cd /etc
mv lvmtab lvmtab.old
vgscan -a
# Now you need try and reactivate the volume group.
Again, they don't let me keep 10.x machines around to play with so I have no way of verifying this.
Hopefully Bill Hassell will come along, see this post and give you exactly what you need.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2004 05:00 PM
11-13-2004 05:00 PM
Re: Rebuilding replaced disks HP-UX 10.01
Post your 'strings /etc/lvmtab' output followed by 'lvlnboot -v'. Unless we know how these disks are configured into your VG, it will be difficult to determine the appropriate solution.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 08:06 PM
11-14-2004 08:06 PM
Re: Rebuilding replaced disks HP-UX 10.01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 08:07 PM
11-14-2004 08:07 PM
Re: Rebuilding replaced disks HP-UX 10.01
Use make_recovery /ignite must be instaled/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 04:12 AM
11-15-2004 04:12 AM
Re: Rebuilding replaced disks HP-UX 10.01
Do I run 'vgscan' on the new, empty, disk? Do I run 'ioscan' first?
vg00 is /dev/dsk/c0t6d0 and vgfam is c9t0d0. 'ioscan' shows (for disks):
10/8.0 target tgt 7
10/8.0.0 disk sdisk 3 HP C2490WD
10/8.1 target tgt 8
10/8.1.0 disk sdisk 4 HP C2490WD
10/8.3 target tgt 9
10/8.3.0 disk sdisk 5 HP C2490WD
10/8.4 target tgt 10
10/8.4.0 disk sdisk 6 HP C2490WD
10/8.5 target tgt 11
10/8.5.0 disk sdisk 7 HP C2490WD
10/8.6 target tgt 12
10/8.6.0 disk sdisk 8 HP C2490WD
10/8.14 target tgt 13
10/8.14.0 disk sdisk 9 HP C2490WD
10/8.15 target tgt 14
10/8.15.0 disk sdisk 10 HP C2490WD
10/0.6 target tgt 0
10/0.6.0 disk sdisk 0 Seagate ST31200W
The two drives seem to be distributed over the 10/8 addresses - how do I tell which is which (is 10/8.15.0 the left or right one?)
Sridhar: Here's the 'vmtab' and 'lvlnboot' output:
# strings /etc/lvmtab
/dev/vg00
06uu
/dev/dsk/c0t6d0
/dev/vgfam
0G0P
/dev/dsk/c9t0d0
/dev/dsk/c9t1d0
/dev/dsk/c9t3d0
/dev/dsk/c9t4d0
/dev/dsk/c9t5d0
/dev/dsk/c9t6d0
/dev/dsk/c9t14d0
/dev/dsk/c9t15d0
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk
Root: lvol1 on: /dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
Ivajlo: I don't have an ignite disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 06:20 PM
11-15-2004 06:20 PM
Re: Rebuilding replaced disks HP-UX 10.01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 04:04 AM
11-16-2004 04:04 AM
Re: Rebuilding replaced disks HP-UX 10.01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 11:30 AM
09-06-2005 11:30 AM
Re: Rebuilding replaced disks HP-UX 10.01
Hi Michael,
Below is the site to get the ignite-UX for HP version 10.01 os...Use version A if you are going to install on HP os 10.01..
ftp://software.hp.com/dist/swdepot/ignite11_10.01.tar