- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to recreate a volume group I am using right no...
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
07-11-2005 10:47 PM
07-11-2005 10:47 PM
How to recreate a volume group I am using right now
I umount all the filesystem
then mediainit /dev/rdsk/c0t11d0,
I got the message:
unable to set exclusive mode: Device busy.
I am not sure what's the procedure to re-create a volume group .
Can you tell me how to do it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:58 PM
07-11-2005 10:58 PM
Re: How to recreate a volume group I am using right now
Many Thanks
Martin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:58 PM
07-11-2005 10:58 PM
Re: How to recreate a volume group I am using right now
vgexport -m -s /tmp/vg03.map /dev/vg03
Then you simply need to run pvcreate (-f, probably), vgcreate, lvcreate.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:02 PM
07-11-2005 11:02 PM
Re: How to recreate a volume group I am using right now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:08 PM
07-11-2005 11:08 PM
Re: How to recreate a volume group I am using right now
2) BACK UP ALL DATA AT LEAST TWICE
3) Unmount filesystems
4) Deactivate the VG with the 'vgchange -a n vgname' (where vgname is your VG)
5) Recreate the /dev/vg?? directory - mkdir /dev/vgname (where vgname is your VG)
6) Recreate the VG's group file - 'mknod /dev/vgname/group c 64 0x0?0000 (where vgname is your VG and the ? in 0x0?0000 is a unique number among ALL VGs - You should do an ls -l /dev/vgname/group before the vgexport to note the number currently in use)
7) Now recreate your VG with vgcreate
8) Recreate your LVs
9) Mount the filesystems
10) Restore your data