- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failed disk in LVM
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
Discussions
Discussions
Forums
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
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-18-2010 12:20 AM
тАО02-18-2010 12:20 AM
Failed disk in LVM
vgdisplay -v
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 4
Act PV 3
Max PE per PV 4350
VGDA 6
PE Size (Mbytes) 4
Total PE 13020
Alloc PE 9943
Free PE 3077
Total PVG 3
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 300
Current LE 75
Allocated PE 150
Used PV 1
The system is still working so I'm asuming its mirrored. So when I get the disk replaced how do I proceed with getting the system all back to normal?
How can I actually tell that this is mirrored?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 12:41 AM
тАО02-18-2010 12:41 AM
Re: Failed disk in LVM
it would show its its mirroed or not.
to replace check the PDF
when_good_disk_go bad.
BR,
kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 12:58 AM
тАО02-18-2010 12:58 AM
Re: Failed disk in LVM
Do the follwoingg things
Replace th bad disk
#vgcfgrestore -n Vg01 /dev/rdsk/c3t5d0
#lvsync dev/vg00/lvol1
----------------------------
IF lvol is not mirror
1) take backup of system
2) #vgcfgrestore -n Vg01 /dev/rdsk/c3t5d0
3) crete newfile system on lvol mount it back and restore the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 01:09 AM
тАО02-18-2010 01:09 AM
Re: Failed disk in LVM
>>replaced how do I proceed with getting the system all back to normal?<<
You can also refer to HP offical document
"Good disk Gone Bad".
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
>>How can I actually tell that this is mirrored?<<
lvdisplay -v /dev/vg00/lvol1 |more -> look for "Mirror Copies =1
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 01:20 AM
тАО02-18-2010 01:20 AM
Re: Failed disk in LVM
lvdisplay -v /dev/vg00/lvol1
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 300
Current LE 75
Allocated PE 150
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
So next step is to log a call and get a new disk shipped:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 01:55 AM
тАО02-18-2010 01:55 AM
Re: Failed disk in LVM
Yes . Please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 09:21 AM
тАО02-18-2010 09:21 AM
Re: Failed disk in LVM
Take care when replacing the drive - 2 are bootable, 2 are just for data!
Some information that could help:
# pvdisplay -v ... (for remaining disks)
# setboot (to get the configured boot disks)
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-18-2010 02:50 PM
тАО02-18-2010 02:50 PM
Re: Failed disk in LVM
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 10:02 PM
тАО02-18-2010 10:02 PM
Re: Failed disk in LVM
Please update the below queries.
whats the version of the OS.
#strings /etc/lvmtab
#pvdisplay /dev/dsk/c3t5d0
#diskinfo /dev/rdsk/c3t5d0
#lvlnboot -v
#dmesg |grep -i "c3t5d0"
#ls -ltr /dev/dsk/*
#ls -ltr /etc/lvmconf/
#vgscan
Regards,
Prasanth Thomas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 12:14 AM
тАО02-19-2010 12:14 AM
Re: Failed disk in LVM
strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t6d0
/dev/dsk/c3t5d0
/dev/dsk/c3t3d0
/dev/dsk/c3t4d0
/dev/vg_san
/dev/dsk/c7t0d1
/dev/dsk/c8t0d0
/dev/dsk/c7t0d2
[lonse5] usr #
[lonse5] usr # pvdisplay /dev/dsk/c3t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c3t5d0".
[lonse5] usr #
[lonse5] usr # diskinfo /dev/rdsk/c3t5d0
io_search failed: No match found.
[lonse5] usr # lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
[lonse5] usr # dmesg |grep -i 'c3t5d0'
[lonse5] usr #
[lonse5] usr # ls -ltr /dev/dsk/*
brw-r----- 1 bin sys 31 0x000000 Feb 24 2005 /dev/dsk/c0t0d0
brw-r----- 1 bin sys 31 0x033000 Feb 24 2005 /dev/dsk/c3t3d0
brw-r----- 1 bin sys 31 0x034000 Feb 24 2005 /dev/dsk/c3t4d0
brw-r----- 1 bin sys 31 0x035000 Feb 24 2005 /dev/dsk/c3t5d0
brw-r----- 1 bin sys 31 0x036000 Feb 24 2005 /dev/dsk/c3t6d0
brw-r----- 1 bin sys 31 0x063000 Mar 30 2005 /dev/dsk/c6t3d0
brw-r----- 1 bin sys 31 0x053000 Mar 30 2005 /dev/dsk/c5t3d0
brw-r----- 1 bin sys 31 0x070000 Mar 30 2005 /dev/dsk/c7t0d0
brw-r----- 1 bin sys 31 0x070100 Mar 30 2005 /dev/dsk/c7t0d1
brw-r----- 1 bin sys 31 0x080000 Mar 30 2005 /dev/dsk/c8t0d0
brw-r----- 1 bin sys 31 0x080100 Mar 30 2005 /dev/dsk/c8t0d1
brw-r----- 1 bin sys 31 0x070200 Apr 7 2006 /dev/dsk/c7t0d2
brw-r----- 1 bin sys 31 0x080200 Apr 7 2006 /dev/dsk/c8t0d2
[lonse5] usr #
[lonse5] usr # ls -ltr /etc/lvmconf/
total 9248
---------- 1 root sys 0 Feb 24 2005 lvm_lock
-r-------- 1 root sys 297984 May 9 2005 vg01.conf.old
-r-------- 1 root sys 296960 May 9 2005 vg01.conf
-r-------- 1 root sys 332800 Jun 1 2005 vg00.conf.old
-r-------- 1 root sys 332800 Jun 1 2005 vg00.conf
-rw------- 1 root sys 1724416 Apr 7 2006 vg_san.conf.old
-r-------- 1 root sys 1724416 Apr 7 2006 vg_san.conf
[lonse5] usr #
[lonse5] usr # vgscan
vgscan: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c3t3d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t4d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c7t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c7t0d2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c8t0d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument