- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove a Volume group without destory the d...
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
04-03-2005 06:49 PM
04-03-2005 06:49 PM
How to remove a Volume group without destory the data
The rp3410 connect with DS2120 and Daisy Chain with 1 Scsi enclosure. After I copy all the data from scsi cnclosure to DS2120. What is the step to remove the volume group in scsi enclosure. Vg00 is the OS volume group. Lets say vg01 is under scsi enclosure. How do I remove the volume group without destory the data? Here is the step :
1.#lvremove -f /dev/vg01/data
2.#vgreduce vg01 /dev/dsk/c0t2d0
3.#vgremove vg01
Please correct if I made mistake
Best regads
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 07:00 PM
04-03-2005 07:00 PM
Re: How to remove a Volume group without destory the data
Use vgexport command.
#vgexport -m map file vgname.
It exports vg from the system. Data will not be removed.
Regards
Radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 07:05 PM
04-03-2005 07:05 PM
Re: How to remove a Volume group without destory the data
vgremove will destroy everything about that volume group but vgexport allows u to import the data back (vgimport):
try this:
# umount
# vgchange -a n /dev/vg01
# vgexport -m /tmp/vg01_mapfile -s -v /dev/vg01
# strings /etc/lvmtab
check if vg01 still remains
# vi /etc/fstab
comment off the vg01 file systems
also refer to this doc:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000075095108
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 01:34 AM
04-04-2005 01:34 AM
Re: How to remove a Volume group without destory the data
vgexport is that safe way.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 02:09 AM
04-04-2005 02:09 AM
Re: How to remove a Volume group without destory the data
But why don't you want to remove the data? Sounds like you are migrating from the SCSI enclosure to a DS2120 - why do you need the data on the SCSI enclosure?
Rgds...Geoff