- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring lvol spanned in two disks.
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
10-18-2003 12:14 AM
10-18-2003 12:14 AM
I have a single lvol with size of 24GB which is spanned across these two disks.
Now i want to add two more 18Gb disks and want to mirror only this lvol.Can anybody tell how to mirror this lvol to new disks?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 12:37 AM
10-18-2003 12:37 AM
Re: Mirroring lvol spanned in two disks.
find the device files for the newly added disk.
/dev/dsk/cXtYd0
vgextend /dev/vg00 /dev/dsk/cXtYd0
I'm assuming the lvol in /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXtYd0
lvdisplay -v /dev/vg00/lvol1 | more
to display mirror info.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 12:41 AM
10-18-2003 12:41 AM
Re: Mirroring lvol spanned in two disks.
You're adding two disks:
use
vgextend /dev/vg00 /dev/dsk/cX2ty2d0
to add the second 18G disk to the vg00
I haven't got lvm mirror installed on my system, but believe there is a "-D y" option to distribute the mirror over two disks correctly.
I'll search for it in the forums and get back..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 12:47 AM
10-18-2003 12:47 AM
Re: Mirroring lvol spanned in two disks.
see:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xab4ca22831ebd5118ff40090279cd0f9%2C00.html&admit=716493758+1066481149320+28353475
see also:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x88a753921f1ad5118fef0090279cd0f9%2C00.html&admit=716493758+1066481009834+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 12:49 AM
10-18-2003 12:49 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x05ad6af52b04d5118fef0090279cd0f9%2C00.html&admit=716493758+1066481286004+28353475
and:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x6da8e3ed7640d71190080090279cd0f9%2C00.html&admit=716493758+1066481355651+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 05:46 PM
10-18-2003 05:46 PM
Re: Mirroring lvol spanned in two disks.
Here i am not using any type of striping
lvol1 is in two disk because lvol size is 24GB and single disk size is 18GB.
in this condition,commands
vgextend vg00 /dev/dsk/dsk1 /dev/dsk/dsk2
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/dsk1 /dev/dsk/dsk2
will it mirror lvol1 to dsk1 and dsk2??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 06:28 PM
10-18-2003 06:28 PM
Re: Mirroring lvol spanned in two disks.
I think your commands will work fine, LVM will fill up the first disk ( 18 GB ) and then it will use the second disk ( 24 - 18 = 6 GB mirrored in the second disk ).
Anyway, you could try it and then check the result with "pvdisplay -v /dev/dsk/your_new_disks".
Kind regards,
Zigor