- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replace disk in L2000
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-29-2004 11:31 PM
11-29-2004 11:31 PM
The disk are in VG00, has mirror and o HPUX is 11.00.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 11:41 PM
11-29-2004 11:41 PM
Solutionto reduce mirrored lv:
# lvreduce -m 0 /dev/vg00/lvolX /dev/dsk/cXtYdZ
where devv/dsk/... is the disk you want to remove
You have to do yhis command with all mirrored lvol
to reduce vg :
# vgreduce /dev/vg00 /dev/dsk/cXtYdZ
where devv/dsk/... is the disk you want to remove
but after that you have to recreate your mirror
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 11:47 PM
11-29-2004 11:47 PM
Re: Replace disk in L2000
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:53 AM
11-30-2004 03:53 AM
Re: Replace disk in L2000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:56 AM
11-30-2004 03:56 AM
Re: Replace disk in L2000
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:57 AM
11-30-2004 03:57 AM
Re: Replace disk in L2000
If you like you could just swap the old with the new disk.
# vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtYdZ
# vgsync vgXX
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 04:03 AM
11-30-2004 04:03 AM
Re: Replace disk in L2000
1. ioscan -fnC disk
2. insf -e
3. pvcreate -B -f /dev/rdsk/new_disk
4. vgextend /dev/vg00 /dev/dsk/new_disk
5. mkboot /dev/rdsk/new_disk
6. mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/new_disk
7. lvextend -m 1 /dev/vg00/lvolX /dev/dsk/new_disk
do this for each lvol
8. lvlnboot -b /dev/vg00/lvol1
9. lvlnboot -r /dev/vg00/lvol3
10. lvlnboot -s /dev/vg00/lvol2
11. lvlnboot -d /dev/vg00/lvol2
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 04:11 AM
11-30-2004 04:11 AM
Re: Replace disk in L2000
From this point, it's a normal hot replacement of a boot disk.
Substitute your appropriate disk device nodes:
1) vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t5d0
2) vgchange -a y /dev/vg00
3) mkboot /dev/rdsk/c1t5d0
4) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t5d0
5) lvlnboot -R
6) vgsync /dev/vg00
I haven't shutdown to replace a disk (failed or failing) in over 8 years. Before doing this procedure, man vgcfgrestore, vgchange, mkboot, lvlnboot, and vgsync so that you understand what each command is doing for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 06:14 AM
11-30-2004 06:14 AM
Re: Replace disk in L2000
Look at the thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605920
You can use the attached script in order to build system disk mirroring.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 03:11 AM
09-01-2005 03:11 AM
Re: Replace disk in L2000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 03:17 AM
09-01-2005 03:17 AM
Re: Replace disk in L2000
Hope its a hot swapable ,
you can do :
1. Replace the disk.
2. vgcfgrestore -n /dev/vg00 /dev/dsk/cxtydz ( disk device name)
3. vgsync
You will get message "Resynchronized " after its complets syncing the disk.
Cheers,
Raj.