- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing PV
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
06-10-2010 10:22 PM
06-10-2010 10:22 PM
Removing PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 10:38 PM
06-10-2010 10:38 PM
Re: Removing PV
If no, and hotswapable , just remove it.
If yes, and a part of LVM,
#take the backup of all the filesystem part of that.
#pvdisplay -v will show you which and all the lvs are part of it
Then umount the filesystem ( if not mirrord one)
then #lvreduce
Then #vgreduce
#your PV is free now.
just remove the alternate paths also by vgreduce, if it has multiple paths.
To remove the PVRA ,
#pvremove
If your disk is using for swap by swapon command , you may need to reboot the box.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 10:41 PM
06-10-2010 10:41 PM
Re: Removing PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 10:48 PM
06-10-2010 10:48 PM
Re: Removing PV
You mean to say , you have removed the physical disk from the box and now you got a device file with NO_HW?
This is because the device file is still there in the device tree.
you can do an rmsf on the devicefile.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 11:05 PM
06-10-2010 11:05 PM
Re: Removing PV
umonunt the fs
lvremove
vgreduce with all paths
vgremove
pvremove
now what is the command??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 11:20 PM
06-10-2010 11:20 PM
Re: Removing PV
If the disk device /dev/dsk/c12t3d4 is in NO_HW state because it has been disconnected, remove it with:
rmsf -a /dev/dsk/c12t3d4
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2010 12:15 AM
06-11-2010 12:15 AM