- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing 9GB mirror to 18GB. HPUX 10.20 on L Class...
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-19-2006 04:12 AM
07-19-2006 04:12 AM
Could someone please explain the best way to extend a 9gb mirror group for a data volume. I've been asked to replace a mirror group that contains 2 x 9gb HDD's with 2 x 18gb HDD's. The data would then be restored to the new 18gb mirror set. I need some advice on the best way to complete this. Any advice (hopefully step by step) would be greatly appreciated. Many thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 04:18 AM
07-19-2006 04:18 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
But if you are using lvm, I would do a vgexport and then a vgimport when that is done, I would extend the vg on the new drive.
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 04:18 AM
07-19-2006 04:18 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 04:25 AM
07-19-2006 04:25 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
The first step is to do a "vgdisplay -v /dev/vgXX" where XX is the desired VG and post that data. That data will determine your next steps. You should also indicate if you can physically attach all 4 disks simultaneously.
And 10.20 on an L-box, I don't think so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 04:28 AM
07-19-2006 04:28 AM
SolutionIf the existing volume group will accept 18GB disks (it may only use 9GB of the 18 GB, depending on the parameters used to create the VG)
add the disks to the VG.
extend a second mirror to one of the 18 GB disks
remove one of mirrors to the 9 GB disks
mirror to the second 18 GB disk
remove the mirror from the last 9 GB disk
If you have to create a new VG to accomodate the 18 GB disks size
create the new vg
create the new lvol's
mount the new lvols to temporary mount points
copy the data over
umount all the mount points
change the entries in /etc/fstab to point to the new lvols and mount everything
or
mount the lvols on the new disks to the correct mount points and restore your data from tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 04:28 AM
07-19-2006 04:28 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Break all the mirrors, extend the original lvols, destory the broken lvols, then re-mirror.
This gives you an automatic backout plan in case something goes wong.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 12:31 AM
07-20-2006 12:31 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Check your "vgdisplay -v" of the volume group and check your maximum physical volume size. If it less than your new 18GB, then you will be wasting the new 18GB disk space.
Better to create a new Volume group and copy the data from old filesystem to new filesystem.
Regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 03:00 AM
07-20-2006 03:00 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Many thanks for all the very quick replies.
I'm in the process of collecting 'vg' and 'lvol' info as requested. I'm also confirming what backup solution they use. I'm hoping to have this information by tomorrow, Friday 21st July 2006 and will update this problem/question with any attachments as soon as I receive them. I will update this soon and point all replies.
Kind regards,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 04:00 AM
07-20-2006 04:00 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
so there is a high probability that the VG can accomodate 18GB disks while 36GB disks would be limited to like 17GB of usable space.
Once You have the VG information for us, we can tell for sure.
Florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 04:02 AM
07-25-2006 04:02 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Very sorry for the delay in getting the vgdisplay info to you. I've put a request to the customer to supply these details but as yet have had no response. I have chased this over the last few days. Once they get fed up with 'pester power' I'll hopefully be able to attach all requested info. I'm hoping to update this thread towards the end of this week.
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 12:31 AM
08-23-2006 12:31 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
This is my new HP Forums name (changed from Newphil).... I've finally got an update for this case!! Very sorry for the lengthy delay in getting this posted.
I've been chasing the customer for the last few weeks, I've visited the site today and have attached copies of the VGDISPLAY for VG01 & VG02. I've also attached the lvdisplays for these VG's. I've just noticed I've missed a few lvols (backup, history & live) from VG01. Used lvdisplay -v /dev/vg01/lvol* to get this info, hopefully this won't cause an issue.
The initial spec of an 9GB mirror was incorrect. They have two seperate 9GB disks, one for VG01 and one for VG02 with no mirror. They want to install 2 x 18GB drives and hopefully extend these VG/LVols as they are running at almost 100%. What would be the quickest, safest way to replace each of these 9GB disks and restore the data? (They use fBackup as the backup/restore program) Could I remove a 9GB, vgcfgrestore to the new 18GB and then lvextend? Then just restore the affected data to the new disk? I've got basic HPUX skills so It would be great to get a step by step solution. Many thanks in advance and once again sorry for the delay in this reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 12:33 AM
08-23-2006 12:33 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 12:34 AM
08-23-2006 12:34 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 12:42 AM
08-23-2006 12:42 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Since the the vg's were initally created with 9 GB disks, they probably will not fully utilize the 18 GB disks.
I would create a new vg that will use all of the space on the 18 GB disks (and even modify the vg parameters at creation time to allow for even bigger disks)
Then I would create all of the lvols in the size desired in the new vg.
perform a backup of the data
unmount the old lv's
mount the new lv,s and restore
OR
mount the new lv's to to temorary mount points
copy the info from the original lv's
unmount the original lv's
mount the new lv's to the original names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 01:07 AM
08-23-2006 01:07 AM
Re: Changing 9GB mirror to 18GB. HPUX 10.20 on L Class server
Pete
Pete