- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: add disk to an existing miror
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
тАО02-01-2011 01:48 AM
тАО02-01-2011 01:48 AM
add disk to an existing miror
on my server i've create a miror of LV with disk from room A and disk from room B. Like this, in case of lost a room the system continue to view data. And now, i want to add more space on my LV and i want to keep the same configuration : a miror between the 2 rooms. So i have to present a disk from both the room but i don't know how to say to LVM to makes the miror between the 2 rooms. Can you help me ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 01:53 AM
тАО02-01-2011 01:53 AM
Re: add disk to an existing miror
>>to add more space on my LV a
What you mean by rooms over here ,controllers /PVG
More over lvextend will take care of the mirroring part as per the mirroring policies set by you initially.
Please explain a bit with OS version ,model & vgdisplay output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:02 AM
тАО02-01-2011 02:02 AM
Re: add disk to an existing miror
You have a big room's container named Volume Group (VG). In this VG you have allocated and free spaces, named physical extents. So, how many extents you have available to grow inside of your VG, Is this your vg00?
Please execute this command over your desired VG:
#vgdisplay -v vg
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:11 AM
тАО02-01-2011 02:11 AM
Re: add disk to an existing miror
First i've created a LV with 5 disks from SAN of room A.
After i've created a miror on 5 disks from SAN of room B.
Like this i have a replication of my data on both rooms.
See the attachment of vgdisplay of my vg
Now i want to extend my vg and keep the same replication between the two rooms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:13 AM
тАО02-01-2011 02:13 AM
Re: add disk to an existing miror
For now i have free space, but in some days i'll need to extend it to put more data (around 900Gb)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:18 AM
тАО02-01-2011 02:18 AM
Re: add disk to an existing miror
and post the output.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 03:14 AM
тАО02-01-2011 03:14 AM
Re: add disk to an existing miror
see the attachment for the output of lvdisplay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 04:24 AM
тАО02-01-2011 04:24 AM
Re: add disk to an existing miror
Thanks for the logs now we can see some information :-
That no of mirrors are 1
& each LV is spead across 10 luns ( 5 from each pool)
while doing lvcreate we may not specify the disks but can do with lvextend
so make a zero size lvol ,extend it on a disk from pool1 & then create a mirror on pool2
pvcreate /dev/rdsk/cxtxdx ( for each disk)
vgextend /dev/backupvg /dev/rdsk/cxtxdx ( for each disk)
lvcreate -n backuplv /dev/backupvg ( zero size )
lvextend -L
lvextend -m 1 /dev/vgbackup/backuplv /dev/dsk/cxtxdx ( pool B )
Better post diskinfo /dev/rdsk/cxtxdx for the new diks / luns & specify the full size while extending lv.
Please revert for any queries.
Thanks & Regards
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2011 12:40 AM
тАО02-02-2011 12:40 AM
Re: add disk to an existing miror
I'm sorry but i'm not sure to understand everything. Are you saying i have to broke what i've done and create a new miror to add 2 disks ?
this part : pvcreate /dev/rdsk/cxtxdx ( for each disk)
vgextend /dev/backupvg /dev/rdsk/cxtxdx ( for each disk)
lvcreate -n backuplv /dev/backupvg ( zero size )
lvextend -L
lvextend -m 1 /dev/vgbackup/backuplv /dev/dsk/cxtxdx ( pool B )
is what i done to create the miror some weeks ago.
Can you re-explain me please ?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2011 02:30 AM
тАО02-02-2011 02:30 AM
Re: add disk to an existing miror
1.You need to add 2 more luns (one from roomA and one fromB.
2.Extend the new luns to the backupvg.
3.lvextend -L
It will be automatically extended to the other lun also.
Thanks,
Shan.