- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to replace a bad disk --- Please help me
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
01-23-2008 09:26 AM
01-23-2008 09:26 AM
I have to replace a bad disk which is there on my 9000/800/L2000-44. The disk which is presently there on the server does not have any data on it and it is not part of any volume group as of now.
My question is.
ioscan -funn C disk
this owuld give teh hardware path.
rmsf -H < path of teh bad _drive> this would remove teh entry.
After that i would replace the old disk with the new one.
what other steps i need to do inorder to intialize the new disk and secondly add tis emppty disk to the existing volume group which has data on it.
I would be greatful if you'll could help me out, as i need to perform this activity today itself.
Thanks a lot in advance. I have see all previous forums for the same issue but was not able to get an appropriate solution fo rteh same.
have a nice day.
Regards
Sam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 09:35 AM
01-23-2008 09:35 AM
Re: Need to replace a bad disk --- Please help me
This excellent whitepaper is something you will want to read:
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 09:40 AM
01-23-2008 09:40 AM
Re: Need to replace a bad disk --- Please help me
Thanks alot for your speedy reply, I have gone through the document, thanks a lot for your inputs.
if i do rmsf -H
after replacing the disk,
how would we intialize the new disk ?
should we run the command
insf -H
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 09:41 AM
01-23-2008 09:41 AM
Re: Need to replace a bad disk --- Please help me
ioscan
insf -eH HW_PATH_of_disk_controller
ioscan -kfnH HW_PATH_to_disk
pvcreate /dev/rdsk/cxtxdx ( found above )
vgextend /dev/vgXX /dev/dsk/cxtxdx
or
vgcreate /dev/vgnew_vg /dev/dsk/cxtxdx
then lvcreate or lvextent to whatever lvol you need this to be that is in the vg you just added it to.
If new:
newfs /dev/vgxx/rlvolx
if added to existing lvol:
extendfs /dev/vgxx/rlvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 09:50 AM
01-23-2008 09:50 AM
Re: Need to replace a bad disk --- Please help me
Run ioscan to check after replacement - that's it.
On the l-class the hardware path is written on the chassis - this info will help you.
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
01-23-2008 09:55 AM
01-23-2008 09:55 AM
Re: Need to replace a bad disk --- Please help me
Thanks alot for your guidance.
The setps that i would perform are
1 replace the bad disk with the new.
2) ioscan -funC disk
3) insf -eH HW_PATH_of_disk_controller
for e.ge insf -eH ( 0/4/0/0.8.0.255.0.7.0)
4) ioscan -kfnH ( 0/4/0/0.8.0.255.0.7.0)
ioscan -kfnH HW_PATH_to_disk
Once the disk is intialized I would add it to the physical volume using pvcreate.
and than add it to the volume group using vgcreate and create the logical volume.
please confirm the steps, so that i can go ahead with the task. I would not use the rmsf -H command .. as it is not required..
Thanks a ton to everyone for helping me out, I sincerly appreciate it.
Regards
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 10:18 AM
01-23-2008 10:18 AM
Re: Need to replace a bad disk --- Please help me
i owudl just replace the disk and do a ioscan command..
may i know what syntax i need to use with ioscan command
ioscan-kfnH would do..
Thanks a lot to everyone, for all your help & guidance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 10:27 AM
01-23-2008 10:27 AM
Re: Need to replace a bad disk --- Please help me
One last question.
When a do a ioscan command, this the bad disk which i need to replace.
Disk 11 0/4/0/0.8.0.255.0.7.0 sdisk CLAIMED DEVICE HP 36.4GST3
36605FC.
So i belive I have replace the disk on the 8 slot.
The complete Ioscan details are below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 10:27 AM
01-23-2008 10:27 AM
Re: Need to replace a bad disk --- Please help me
One last question.
When a do a ioscan command, this the bad disk which i need to replace.
Disk 11 0/4/0/0.8.0.255.0.7.0 sdisk CLAIMED DEVICE HP 36.4GST3
36605FC.
So i belive I have replace the disk on the 8 slot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 10:34 AM
01-23-2008 10:34 AM
Solutionioscan-kfnH
This will read "old" information from kernel (-k) and even "-H" below the LBA level can produce wrong results.
Just do a
# ioscan -fn
or
# ioscan -fnCdisk
and search for he disk.
Regarding the slot:
You did never say anything about the chassis where the disk is - looks like a fiber connected chassis.
Slot and SCSI ID numbers are almost never the same ...
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
01-23-2008 10:54 AM
01-23-2008 10:54 AM
Re: Need to replace a bad disk --- Please help me
i would do the ioscan command suggested by you.
I am using a 9000/800/L2000-44 system and it has intrenal hard disk slots in it.
The output of the ioscan disk command
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 3 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 12 0/4/0/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336607FC
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 5 0/4/0/0.8.0.255.0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
disk 6 0/4/0/0.8.0.255.0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 7 0/4/0/0.8.0.255.0.3.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t3d0 /dev/rdsk/c4t3d0
disk 8 0/4/0/0.8.0.255.0.4.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 9 0/4/0/0.8.0.255.0.5.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t5d0 /dev/rdsk/c4t5d0
disk 10 0/4/0/0.8.0.255.0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 11 0/4/0/0.8.0.255.0.7.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t7d0 /dev/rdsk/c4t7d0
disk 4 0/4/0/0.8.0.255.0.8.0 sdisk CLAIMED DEVICE HP 36.4GST336607FC
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 13 0/4/0/0.8.0.255.0.9.0 sdisk CLAIMED DEVICE HP 36.4GST336605FC
/dev/dsk/c4t9d0 /dev/rdsk/c4t9d0
disk 14 0/4/0/0.8.0.255.0.10.0 sdisk NO_HW DEVICE HP 36.4GST336605FC
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
#
I need to replace the 11 0/4/0/0.8.0.255.0.7.0 sdisk which I beleive would be on the 8 slot.
thanks once agian for your advise & support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 11:04 AM
01-23-2008 11:04 AM
Re: Need to replace a bad disk --- Please help me
disk 14 0/4/0/0.8.0.255.0.10.0 sdisk NO_HW DEVICE HP 36.4GST336605FC
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
status is NO_HW!
What type of JBOD/chassis do you have?
Maybe a full ioscan -fn can give some more information.
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
01-23-2008 01:24 PM
01-23-2008 01:24 PM
Re: Need to replace a bad disk --- Please help me
There is a SC10-Array attached at the backend.
Sir, the task is completed now, I was able to replace the disk. Thanks a lot for your help & support.
Have a nice day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 05:40 AM
01-24-2008 05:40 AM
Re: Need to replace a bad disk --- Please help me
Thanks a lot to everyone, I sincerly appreciate everyone helps & inputs.
Have a nice day.
Fond Regards
Sam