- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- PV missing, how to recovery
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
тАО04-05-2007 08:01 AM
тАО04-05-2007 08:01 AM
I have a RedhatES3 server. yesterday a PV /dev/dsk/c18t0d1 missing, I wanna recovery it. details as below:
/dev/vg08/lvol1 /dev/dsk/c18t0d1
today I got msg said vgchange failed: VG can't be activated, umount failed: Device Busy or Mount point not available. I found PV /dev/dsk/c18t0d1 missing. through SAM I found there is a disk 255/255/1/0.0 Unused Total mB 512000. I try to:
1. #pvcreate /dev/rdsk/c18t0d1
pvcreate: Couldn't open physical volume "/dev/rdsk/c18t0d1":
No such device or address
2.#vgcfgrestore -n /dev/vg08 /dev/rdsk/c18t0d1
vgcfgrestore: Could not open Physical Volume "/dev/rdsk/c18t0d1".
VG /dev/vg08, LV lvol1 and mount point still there, no need re-create.
how to recovery the PV VG LG
thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2007 01:45 PM
тАО04-05-2007 01:45 PM
SolutionFirst you must figure out why it went bye bye.
If a disk has died, no amount of recovery is going to help. The disk will need to be replaced and the data restored.
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
тАО04-05-2007 02:09 PM
тАО04-05-2007 02:09 PM
Re: PV missing, how to recovery
thank you very much for your fast reply.
I have no idea why the disk disappear and miss. Do you have some method or tools could figure out the problems?
"vgscan","insf -e" and "ioscan -funC disk" "pvdisplay" "diskinfo" etc could not list and recovery this PV. But through SAM - disk and filesystem - disk I could see there is a unused 512000 hardware path 255/255/1/0.0 disk device. It must be the missing disk space.
As you know, /dev/vg08, lvol1 and mount point still there. How can I re-use this 512000's disk as /dev/rdsk/c18t0d1.
Why you thought this disk had died, through "pvcreate" error responds? if died why I could list this disk device and size.
If replace a new disk, what's the next steps:
only run the "pvcreate /dev/rdisk/c18t0d1?
thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2007 11:24 AM
тАО04-06-2007 11:24 AM
Re: PV missing, how to recovery
As you received error of PV missing,the problem cause is that the requested disk go bad,hence check
pvdisplay /dev/dsk/c18t0d1 and find availablity of disk if its unavailable and
diskinfo /dev/rdsk/c18t0d1 gives below error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c18t0d1 : I/O error
that means you need to replace disk
then pvcreate,vgcfgrestore etc.
Regards
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2007 12:57 AM
тАО04-09-2007 12:57 AM
Re: PV missing, how to recovery
when I ran:
#pvdisplay /dev/dsk/c18t0d1
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c18t0d1":
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/vg08".
pvdisplay: Cannot display physical volume "/dev/dsk/c18t0d1".
#diskinfo /dev/rdsk/c18t0d1
diskinfo: can't open /dev/rdsk/c18t0d1: No such device or address
whether up info could make sure disk c18t0d1 bad need replace?
would you please tell me which status, which responds, which info will judge disk faile go bad need replace?
As you know, I could saw this disk through SAM (sam tell me there is unused 512000 hardware path 255/255/1/0.0 disk device)
thanks a lot!