- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to unmirror a failed disk
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
тАО12-06-2004 12:11 AM
тАО12-06-2004 12:11 AM
I have mounted the filesystem. but the lvdisplay is showing stale for one of the disk.
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 ??? 0000 stale /dev/dsk/c2t2d0 0000 current
i tried to reduce the lv, but it's giving the error. i think for this problematic disks with the question mark we have to use lvreduce command with "pvkey".
Can anybody pls tell me how to find out this pvkey 'n' the exact syntax of this command.
Thanks,
SR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 12:20 AM
тАО12-06-2004 12:20 AM
Re: How to unmirror a failed disk
try :
# lvreduce -m 0 /dev/vgxx/lvolx /dev/dsk/cxtxdx
which /dev/dsk/cxtxdx is your failed disk
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 12:24 AM
тАО12-06-2004 12:24 AM
Re: How to unmirror a failed disk
Can you pls tell me how to remove the failed disk, which shows "question marks" in lvdisplay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 12:26 AM
тАО12-06-2004 12:26 AM
SolutionYou are right. You will need to use 'pvkey' to reduce the mirror. Run the command
lvdisplay -k -v /dev/vgxx/lvolx
and find out the pvkey corresponding to the failed PV. Then use 'lvreduce -m 0 -k /dev/vgxx/lvolx
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 12:38 AM
тАО12-06-2004 12:38 AM
Re: How to unmirror a failed disk
I was looking for the exact command.
I have reduced the LV successfully.
Thanks,
SR