- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk went bad
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
тАО11-06-2011 10:47 AM
тАО11-06-2011 10:47 AM
Disk went bad
The machine is running, but I am unable to remove the disk from vg01...
It appears the disk is "busy"
There are mirrors to this disk, which of course are now stale.
I want to get rid of this disk from my vg01, but am unable..
Thanks for any help!
lvreduce doesnt work to break the mirrors....
# pvdisplay /dev/dsk/c0t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
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/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2011 10:50 AM
тАО11-06-2011 10:50 AM
Re: Disk went bad
# vgreduce /dev/vg01 /dev/dsk/c0t5d0
vgreduce: Couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2011 11:13 AM
тАО11-06-2011 11:13 AM
Re: Disk went bad
Did it in preview mode, same result without the -p option when i removed lvmtab...
# vgscan -p -v -a
vgscan: The physical volume "/dev/dsk/c0t3d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t4d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t5d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t6d0" is already recorded in the "/etc/l
vmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t5d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.
/dev/vg00
/dev/dsk/c0t4d0
/dev/dsk/c0t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2011 06:34 AM
тАО11-08-2011 06:34 AM
Re: Disk went bad
If you want to just remove the disk without replacing it, do the following:
1) Put the old /etc/lvmtab back into place.
2) You will need to reduce the mirrors off of the bad disk by using the '-k' option to lvreducde.
For example: lvreduce -m 0 -k /dev/vg01/lvol1 /dev/dsk/c0t5d0
Do this for all LVs that are mirrored to this drive.
3) Reduce the disk out of VG01 with the '-f' option -- vgreduce -f /dev/vg01