- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replace bad disk in lvm (surestore e hvd10)
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-18-2005 03:42 AM
01-18-2005 03:42 AM
replace bad disk in lvm (surestore e hvd10)
I have a bad disk which is part of lvm. VG vg01. Its not mirrored/raid.
I just want to replace it.
I tried to use dd to identify the bad disk and the good disks around it but was not successful. The lights did not blink on any disks with dd if=diskname of=/dev/null. Dont know why?
I was very confident which the bad disk was so I pulled it out and replaced it.
Now I can see the new disk with ioscan (after runing insf) but cant dd to it.
/dev/dsk/c1t9d0: No such device or address
dd: cannot open /dev/dsk/c1t9d0.
Once I see the disk, I would also like to know how to incorporate it back into the vg vg01.
Please advise?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:53 AM
01-18-2005 03:53 AM
Re: replace bad disk in lvm (surestore e hvd10)
Could you post a
# ioscan -fnCdisk
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:56 AM
01-18-2005 03:56 AM
Re: replace bad disk in lvm (surestore e hvd10)
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 10/0.3.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 1 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 2 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 3 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 4 10/4/4.8.0 disc3 CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t8d0 /dev/rdsk/c1t8d0
/dev/floppy/c1t8d0 /dev/rfloppy/c1t8d0
disk 5 10/4/4.9.0 disc3 CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t9d0 /dev/rdsk/c1t9d0
/dev/floppy/c1t9d0 /dev/rfloppy/c1t9d0
disk 6 10/4/4.10.0 disc3 CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t10d0 /dev/rdsk/c1t10d0
/dev/floppy/c1t10d0 /dev/rfloppy/c1t10d0
disk 7 10/4/4.11.0 disc3 CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t11d0 /dev/rdsk/c1t11d0
/dev/floppy/c1t11d0 /dev/rfloppy/c1t11d0
disk 12 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5401TA
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:01 AM
01-18-2005 04:01 AM
Re: replace bad disk in lvm (surestore e hvd10)
1) Do something
2) Next determine the correct procedure.
Please post the output of ioscan -fn and vgdisplay -v /dev/vg01.
The LED's should have been blinking but especially if you use /dev/rdsk/cXtYd0.
It's possible that the replacement disk is bad or you replaced the wrong one. Until you can dd, LVM doesn't stand a chance.
In any event, here's your procedure after you can talk to the raw disk via dd.
vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t9d0
vgchange -a y /dev/vg01
Next do a pvdisplay -v /dev/dsk/c1t9d0 and see which LVOL's (or parts thereof) are housed on the replacement disk.
For each of those:
newfs -F vxfs /dev/vg01/rlvol1 (or whatever LVOL)
mount each filesystem
restore from backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:08 AM
01-18-2005 04:08 AM
Re: replace bad disk in lvm (surestore e hvd10)
According to ioscan you do appear to have is
/dev/dsk/c1t9d0 /dev/rdsk/c1t9d0
/dev/floppy/c1t9d0 /dev/rfloppy/c1t9d0
Why you have 2 floppy disk devices associated with your FDD is interesting in itself.
Can you do and ll of /dev/rdsk and /dev/dsk
and post the result?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:20 AM
01-18-2005 04:20 AM
Re: replace bad disk in lvm (surestore e hvd10)
1) Do something
2) Next determine the correct procedure.
>I got help from the forum discussion while >i was trouble shooting this.
Please post the output of ioscan -fn and vgdisplay -v /dev/vg01.
>attached.
The LED's should have been blinking but especially if you use /dev/rdsk/cXtYd0.
>They only blink for 2 disk and not for the >other 7. Ofcourse one is bad.
>The led in the top right corner (green) is lit.
It's possible that the replacement disk is bad or you replaced the wrong one. Until you can dd, LVM doesn't stand a chance.
>It is possible that the replacement disk could be bad. I have a new one and i will try that.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:23 AM
01-18-2005 04:23 AM
Re: replace bad disk in lvm (surestore e hvd10)
Here is the output of /dev/dsk and /dev/rdsk.
thanks
# ls
c0t3d0 c0t5d0 c1t10d0 c1t8d0 c2t10d0 c2t8d0 c4t2d0
c0t4d0 c0t6d0 c1t11d0 c1t9d0 c2t11d0 c2t9d0
# ls -la
total 10
drwxr-xr-x 2 bin bin 1024 Jan 18 11:12 .
dr-xr-xr-x 18 bin bin 4096 Jan 18 11:06 ..
brw-r----- 1 bin sys 31 0x003000 Jun 29 2001 c0t3d0
brw-r----- 1 bin sys 31 0x004000 Jun 29 2001 c0t4d0
brw-r----- 1 bin sys 31 0x005000 Jun 29 2001 c0t5d0
brw-r----- 1 bin sys 31 0x006000 Jun 29 2001 c0t6d0
brw-r----- 1 bin sys 28 0x01a000 Jun 29 2001 c1t10d0
brw-r----- 1 bin sys 28 0x01b000 Jun 29 2001 c1t11d0
brw-r----- 1 bin sys 28 0x018000 Jun 29 2001 c1t8d0
brw-r----- 1 bin sys 28 0x019000 Jan 18 11:12 c1t9d0
brw-r----- 1 bin sys 28 0x02a000 Jun 29 2001 c2t10d0
brw-r----- 1 bin sys 28 0x02b000 Jun 29 2001 c2t11d0
brw-r----- 1 bin sys 28 0x028000 Jun 29 2001 c2t8d0
brw-r----- 1 bin sys 28 0x029000 Jun 29 2001 c2t9d0
brw-r----- 1 bin sys 31 0x042000 Jun 29 2001 c4t2d0
# cd ..
# cd rdsk
# ls -la
total 10
drwxr-xr-x 2 bin bin 1024 Jan 18 11:12 .
dr-xr-xr-x 18 bin bin 4096 Jan 18 11:06 ..
crw-r----- 1 bin sys 188 0x003000 Jun 29 2001 c0t3d0
crw-r----- 1 bin sys 188 0x004000 Jun 29 2001 c0t4d0
crw-r----- 1 bin sys 188 0x005000 Jun 29 2001 c0t5d0
crw-r----- 1 bin sys 188 0x006000 Dec 30 09:18 c0t6d0
crw-r----- 1 bin sys 177 0x01a000 Jun 29 2001 c1t10d0
crw-r----- 1 bin sys 177 0x01b000 Jun 29 2001 c1t11d0
crw-r----- 1 bin sys 177 0x018000 Jun 29 2001 c1t8d0
crw-r----- 1 bin sys 177 0x019000 Jan 18 11:12 c1t9d0
crw-r----- 1 bin sys 177 0x02a000 Jun 29 2001 c2t10d0
crw-r----- 1 bin sys 177 0x02b000 Jun 29 2001 c2t11d0
crw-r----- 1 bin sys 177 0x028000 Jun 29 2001 c2t8d0
crw-r----- 1 bin sys 177 0x029000 Jun 29 2001 c2t9d0
crw-r----- 1 bin sys 188 0x042000 Jun 29 2001 c4t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:29 AM
01-18-2005 04:29 AM
Re: replace bad disk in lvm (surestore e hvd10)
insf -Cdisk
to see what (if any) device files are created. Then run ioscan -Cdisk -fn again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:48 AM
01-18-2005 04:48 AM
Re: replace bad disk in lvm (surestore e hvd10)
http://h200001.www2.hp.com/bc/docs/support/SupportManual/lpg28482/lpg28482.pdf