- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re adding new disk to current mirror
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
09-16-2003 07:41 AM
09-16-2003 07:41 AM
I have a mirrored volume group vg01 which is as followed :
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c5t9d0 4340 4340
/dev/dsk/c7t9d0 4340 4340
these are mirrored and I need to break this mirror to add a new disk and then mirror them back in to enable me more space .
Mirror copies 1
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4341
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8680
Free PE 0
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
Do I simply just do the same as mirroring one volume but issue the following command :
lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/
Regards
Grace
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 07:50 AM
09-16-2003 07:50 AM
SolutionThen you will need to run vgextend
vgextend /dev/vg01 /dev/dsk/
then
lvextend -m 2 ... as you posted it.
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
09-16-2003 07:52 AM
09-16-2003 07:52 AM
Re: Re adding new disk to current mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 07:59 AM
09-16-2003 07:59 AM
Re: Re adding new disk to current mirror
You'll need to add atleast two more disks to the VG before you can extend that lvol.
The lvextend syntax you posted would not work if your intent is to extend the lvol. Simply put, add to PV to the VG then lvextend to add more space to your lvol.
pvcreate, vgextend then lvextend to increase the size of the lovl.
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 11:51 AM
09-16-2003 11:51 AM
Re: Re adding new disk to current mirror
______________________________
First of all, if you are simply adding a disk to vg01 for more available space, then you dont need to mess with removing/readding the mirroring... however, you may need another disk to make the mirroring work properly...
Just leave that alone...
With mirroring currently used on vg01, in order to mirror properly, your disks on m0 must = total extents of the m1 mirror...
If you add 1 more disk to m0 and don't add a disk of the same size to m1, you will not be able to mirror them properly. If you have a disk fail with out proper mirrors you will be in trouble.
Second, that command you have shown... lvextend -m 2... Implies that you are making a 3rd mirror... if that is the case. Then you only need to run it and your 3rd mirror will be established and you can then break the mirror and move that disk where ever you want to move it... possibly to another box or for backup purposes...
Please tell us your objective clearly...
1) is it to add additional disk space to the vg01
2) is it to assign a 3rd mirror?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2003 06:02 AM
09-17-2003 06:02 AM