- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- -z necessary in vgextend?
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
04-24-2002 08:57 AM
04-24-2002 08:57 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 09:09 AM
04-24-2002 09:09 AM
Re: -z necessary in vgextend?
The spare ('-z') feature of 'vgextend' offers a high-availability feature. The spare volume isn't available (used) during normal operations but stands ready to serve as a replacement (via MirrorDisk/UX software) in the event that another physical disk in the volume group fails. Specifying '-z N' is the same as *not* providing the option at all (the default).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 09:17 AM
04-24-2002 09:17 AM
Re: -z necessary in vgextend?
As I see it -zy sets *spare* - which means that upon failure the disk has to be built. True mirrors have data written to them at approx the same time. So failover is essentially transparent.
Spares are more frequently used in RAID 5-type situations where the RAID keeps going while the spare is being built.
So it all depends on just exactly how you will construct your PVG.
The lvcreate -sg implies that you'll force the mirror to a seperate PVG. Again this will depend on just how you'll construct your PVG. Seems to me that if you don't stripe the disks then the lvcreate -sg *should* override the vgextend -zy as you call for a mirror - not a spare. Or probably since it's *spared* the PV will not be available for mirroring. Hopefully an LVM expert could answer this.
Personally I prefer the true mirror. But then again I don't normally use PVGs, But I believe I'll start looking at them as others have indicated that they're easier to admin.
Hope I haven't muddied the water too much......
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 09:50 AM
04-24-2002 09:50 AM
Re: -z necessary in vgextend?
An additional comment. Sparing assumes / requires strict mirroring.
The idea behind LVM sparing is to offer automatic mirroring of data in the event that a mirrored copy (physical disk) fails, thereby enhancing data protection. Strict allocation is required to insure that data can be replicated from a good physical volume to the spare in the first place.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 11:11 AM
04-24-2002 11:11 AM
Re: -z necessary in vgextend?
I understand sparing better now.
So one can have a 2 or 3 mirror copy & one in spare & when one of the mirrors fail then the spare is "promoted" & auto-mirrored - that's straight-forward.
I understood that strict allocation was to not allow mirroring to the same PV. Not using it has always seemed rather dense to me...I mean how often does just part of the disk go bad - as compared to the whole disk dying? Not to mention the doubling of head movement on the PV.
I knew somebody would clarify this for me....
Thx,
Jeff