- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending a mirrored filesystem
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
05-21-2001 04:20 AM
05-21-2001 04:20 AM
a mirrored lv when there are more than two pv's
in the volume group.
Cheers in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 04:27 AM
05-21-2001 04:27 AM
Re: Extending a mirrored filesystem
To mirror onto a specific disk use this syntax:
# lvextend -m 1 /dev/vgXX/lvolX /dev/dsk/cXtYdZ
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 04:41 AM
05-21-2001 04:41 AM
Re: Extending a mirrored filesystem
lvextend the primary lvol to the disk you want the newly allocated PE's to reside on. Use lvdisplay to determine on which disk in your vg the mirrored PE's are located and then use pvmove to move the mirrored data to the disk you want to use as the secondary disk.
Hope this helps.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 04:42 AM
05-21-2001 04:42 AM
Re: Extending a mirrored filesystem
and see http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 04:44 AM
05-21-2001 04:44 AM
SolutionThe following gives you the syntax of increasing the size of an mirrored lvol.
lvextend -l
This will extend the size of the lvol to newsize (numbers of physical extents), taking the extents from disk1 and disk2. With the allocation policy set to "strict" (default) the two mirror copies of the disk will always be on different disks.
You might be interested in using physical volume groups. A full descriptiuon of this feature, together with examples, is in the manpage lvmpvg(4). Once setup, it will always take care that the allocation of extents is done properly.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG