- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove drive from 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
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
12-03-2001 07:52 AM
12-03-2001 07:52 AM
lvreduce -m 0 /dev/vg05/uvol5 /dev/dsk/c1t4d0
it says that cannot communicate with physical volume we get the same thing for vgreduce. Is there a way to reduce the volume group without being able to communicate to the drive?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 07:58 AM
12-03-2001 07:58 AM
Re: remove drive from lvm
# mv /etc/lvmtab /etc/lvmtab.orig
# vgscan -a -v
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 08:06 AM
12-03-2001 08:06 AM
Re: remove drive from lvm
There is a painful process for this. You need to find the PV Key for each logical volume and then reduce it using the key.
For each lvol in your vg05 do the following,
#lvdisplay -v -k /dev/vg05/lvol?
This will display
LE PV1-key PE1 Status PV2-Key status
Find out the PV-key of the corresponding disk. The status would show as ???. Say 1.
Then do an lvreduce using -k option.
#lvreduce -m 0 -k /dev/vg05/lvol? 1
Once you are done with all the logical volumes, you can be able to reduce the PV.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 08:16 AM
12-03-2001 08:16 AM
SolutionI think you have a "ghost disk".
# lvdisplay -v -h /dev/vgXX/lvolX - get disk-key
# lvreduce -m 0 -k /dev/vgXX/lvolX [disk-key]
repeat this procedure for all mirrored lvols and then:
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan
# vgreduce vgXX /dev/dsk/YY
# vgchange -a n vgXX
# vgreduce -f vgXX [disk]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2001 10:11 AM
12-03-2001 10:11 AM
Re: remove drive from lvm
Use "lvreduce -k" to reduce mirror on a non-existant disk or a failed disk.
Hope this helps.
Regds