- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: replacing a bad 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
02-12-2008 07:31 AM
02-12-2008 07:31 AM
# strings lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c14t5d0
/dev/vg01
/dev/dsk/c2t6d0
/dev/dsk/c3t6d0
/dev/dsk/c14t6d0
/dev/dsk/c3t5d0
/dev/dsk/c3t4d0
/dev/dsk/c14t4d0
c3t5d0 is bad and we need to replace it
vg01 is mirrored except one lvol which is vg01/lvol5 which is a secondary swap.
# cat /etc/fstab
/dev/vg01/lvol1 /opt vxfs delaylog 0 2
/dev/vg01/lvol2 /users vxfs delaylog 0 2
/dev/vg01/lvol3 /var vxfs delaylog 0 2
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /usr vxfs delaylog 0 2
/dev/vg02/lvol1 /logs vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/lvol4 /opt/IBM vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/swap1 ... swap pri=1 0 0
some root lvols resides under vg01 like /opt and /var
what is the best way to replace that bad disk?
Thank you in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 07:35 AM
02-12-2008 07:35 AM
Re: replacing a bad disk
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Its all in the document.
Back up the system with Ignite make_tape_recovery or make_net_recovery as a precaution.
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
02-12-2008 08:04 AM
02-12-2008 08:04 AM
Re: replacing a bad disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 08:44 AM
02-12-2008 08:44 AM
Re: replacing a bad disk
Remember - always mirror the swap - otherwise you have a pretty showstopper in case of a disk failure.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 09:03 AM
02-12-2008 09:03 AM
Re: replacing a bad disk
/dev/vg01/swap1 ... swap pri=1 0 0
# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 2500
VGDA 12
PE Size (Mbytes) 4
Total PE 11873
Alloc PE 11750
Free PE 123
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 2500
Used PV 4
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 2000
Allocated PE 2000
Used PV 2
LV Name /dev/vg01/lvol3
LV Status available/syncd
LV Size (Mbytes) 4000
Current LE 1000
Allocated PE 2000
Used PV 2
LV Name /dev/vg01/lvol4
LV Status available/syncd
LV Size (Mbytes) 10000
Current LE 2500
Allocated PE 2500
Used PV 2
LV Name /dev/vg01/lvol5
LV Status available/syncd
LV Size (Mbytes) 6000
Current LE 1500
Allocated PE 1500
Used PV 1
LV Name /dev/vg01/swap1
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 1250
Allocated PE 1250
Used PV 3
--- Physical volumes ---
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 2170
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 2170
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c14t6d0
PV Status available
Total PE 2170
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 2170
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t4d0
PV Status available
Total PE 1023
Free PE 23
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c14t4d0
PV Status available
Total PE 2170
Free PE 100
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 09:55 PM
02-12-2008 09:55 PM
Re: replacing a bad disk
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 03:14 AM
02-13-2008 03:14 AM
SolutionSo if you can still work without this swap then go ahead (coz sometimes you have lots of applications running which needs lot of swap) and replace the disk and if not then you need to create a seconday swap on some other Hard disk and mount it and then replace the disk using this document.
www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 08:42 AM
02-13-2008 08:42 AM
Re: replacing a bad disk
thank you all for your reponses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2008 02:21 PM
02-14-2008 02:21 PM
Re: replacing a bad disk
Like Steve said that document is a good one. It will cover all the steps need to achive what you want.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
sp,