- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to completely remove a drive
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
тАО08-01-2005 03:31 AM
тАО08-01-2005 03:31 AM
By completely removing a drive, I'd do the followings:
umount /dev/vg07/lvol1
vgchange -a n /dev/vg07
vgexport /dev/vg07
Please tell me if I have done enough to get it clean, so that I don't have problem on the next reboot and add a new drive.
All help is appreciated.
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 05:18 AM
тАО08-01-2005 05:18 AM
SolutionWith the above command the information about the Volume group vgo7 is removed from the server.ie Now the server now doesn't know that there was a VG with vg07 existed in the server. But i am not sure whether this is what u require. "Adding a new drive, removing a drive" --are u refering to disk? What exactly u require on the next reboot..
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 10:51 AM
тАО08-01-2005 10:51 AM
Re: how to completely remove a drive
lvremove
vgreduce disks in vg
vgremove
delete fstab entry
rmsf the device files
Note the way hpux assigns channels this will not reclaim them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 10:52 AM
тАО08-01-2005 10:52 AM
Re: how to completely remove a drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 12:06 PM
тАО08-01-2005 12:06 PM
Re: how to completely remove a drive
If you want to do a drive replacement with existing LVM structure then
#umount all the parttions in /dev/vg07
#vgchange -a n /dev/vg07
#vgcfgbackup /dev/vg07
#vgexport /dev/vg07
Replace the new disk
#vgcfgrestore
#vgchange -a y /dev/vg07
#mount the filesystems
You need to restore the data from the backup
Regards
S.Arunkumar