- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Replacing vg01 with a bigger disc
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
01-24-2005 08:40 PM
01-24-2005 08:40 PM
I'm currently backing up a 9Gb disc in a workstation ready to replace it with a 36Gb disc.
I would appreciate guidance as to the best way to go about replacing the disc. The workstation only has two slots, so the new disc will be going in the slot currently occupied by the old one.
I think there are two options:
1. vgexport, remove old disc, insert new disc, vgimport
2. remove vg, remove old disc, insert new disc, vgcreate.
I would prefer option 1, but am concerned that this might restrict me to using 9Gb of the new disc (which would defeat the object of buying it).
If I have to go for option 2 will I need to call the vg vg02 as the system has already had a vg01?
Advice from people who have done this before will be rewarded with points.
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 08:56 PM
01-24-2005 08:56 PM
SolutionMix of both options.
# vgchange -a n /dev/vg01
# vgexport /dev/vg01
insert new disk
# ioscan -fnCdisk
if needed
# insf -e
# vgcreate /dev/vg01 /dev/dsk/cxtydz
lvcreate old logical volumes
change the /etc/fstab if needed
restore data from backup
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 09:14 PM
01-24-2005 09:14 PM
Re: Replacing vg01 with a bigger disc
Points to be awarded after I've completed the job.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 09:16 PM
01-24-2005 09:16 PM
Re: Replacing vg01 with a bigger disc
the max disk size depends on your PE size and max PE's per PV. If they are not large enough to handle 36GB, you'll need to create a new VG for this disk.
As the VG name is generally not important you can:
- create a new VG for the new disk
- create the required LVOLs on it
- use temporary mount points for the new LVOLs
- copy everything from the origingal mount points to the temporary mount points
- umount everything
- mount new LVOLs on the original mount points
- done
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 09:29 PM
01-24-2005 09:29 PM
Re: Replacing vg01 with a bigger disc
SAM shows me a maximum size of 16000Mb for this vg. Does that mean I will have to create a new vg or can I re-create vg01?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 09:35 PM
01-24-2005 09:35 PM
Re: Replacing vg01 with a bigger disc
well you can remove and recreate VG01,
or you can create a new VG and copy data from disk, instead of from your backup: quicker & safer (no need to drop original until copy is OK)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 02:26 AM
01-26-2005 02:26 AM
Re: Replacing vg01 with a bigger disc
This thread can now be considered closed.
Mark