- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Exporting Vg
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
тАО07-23-2004 10:35 PM
тАО07-23-2004 10:35 PM
one small help
I have one hdd with one vg and 2 lvs on that.
Now i want to shift the hdd to other bayb in the disk array without loosing the data.
Is the following proedure is fine
1) unmount the fs on this vg ( i mean lv)
2) deacivate the vg
3) export the vg with -m option ( to create the map file)
4) physically connectb the hdd in other slot
5) import the vg with the new physical path.
What is the significance of -s option.
Rgds
Suraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2004 12:17 AM
тАО07-24-2004 12:17 AM
Solution1. Create Map File first.
# vgexport -p -v -m vgmapfilename /dev/vgxx
** Note the -p option here see man vgexport
2. Unmount the Filesystems
3. Deactivate the VG
# vgchange -a n /dev/vgxx
4. Insert the HDD in new slot.
5. Import the VG
# vgimport -m vgmapfilename /dev/vgxx
6. Activate the VG
# vgchange -a y /dev/vgxx
7. Mount the Filesystems.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2004 06:54 AM
тАО07-25-2004 06:54 AM
Re: Exporting Vg
-s option will put the VGID in the map file and then when you import with -s option it will check all the disks that match the VGID and import all those disks without youi having to give the physical paths.
just type vgimport -s -m mapfile /dev/newvgname when importing after moving.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2004 08:59 AM
тАО07-25-2004 08:59 AM
Re: Exporting Vg
i m not sure at 100% but if i have good memories i think vgexport and import -s is the shared mode . This system is really cool when you have an array of disk and two servers . In fact with this option you can give the visibility of one vg on two servers .
for example you have a vg with some fs. all the informations on your fs never change ,they are here only in order to be consult: you want to mount it in read mode .
You do a map on one server with -s options.
you desactivate your vg
you import the vg on the second server.
you activate the vg in read modeon the twos
you mount in read mode .
it's okay
PS you can mount one in r/w and one in read, but if you write on one side, the other don't update the information. it's only a snapshot at mounted time
Sorry for my english
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 01:40 AM
тАО07-26-2004 01:40 AM