- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce and PVG
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
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
тАО10-15-2007 07:57 AM
тАО10-15-2007 07:57 AM
Is there a reason why lvreduce would not support using PVGs as an argument ?.
i.e. I can extend a mirror by the following command,
lvextend -m 1 /dev/vgkaps/lvol10 pvg3 pvg4
But when I goto reduce the first mirror ( part of a migration )
lvreduce -m 0 /dev/vgkaps/lvol10 pvg1 pvg2
It does not work ! I need to use the device special files.
Regards,
Kaps
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:07 AM
тАО10-15-2007 08:07 AM
Re: lvreduce and PVG
Can we have an error message? Not all error messages are meaningful in Linux, but most LVM messages can be interpreted.
I think the lvreduce command is merely misformed in this case.
The man page might give you better syntax.You also should make sure there are no open processes on the filesystem before you try lvreduce.
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
тАО10-15-2007 08:35 AM
тАО10-15-2007 08:35 AM
Solution> Is there a reason why lvreduce would not support using PVGs as an argument ?
Well, the manpages clearly show that only a 'pv_path' is a qualifier to the logical volume path of an 'lvreduce' whereas either a 'pv_path' or a 'pvg_name' can qualify the logical volume path of an 'lvextend'.
That's an obvious answer that begs the question, of course. As for "why" one can't use a 'pvg_name' argument with either command, I would guess that since the '/etc/lvmpvg' file can be manually editted, it could be "unsafe" to rely on its contents as the guide for removing logical extents. Conversely, when allocating new extents, it is possible to verify the allocation policies of the targets based on the contents of the file and simply allow or deny the allocation at the onset -- a "safe" operation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:38 AM
тАО10-15-2007 08:38 AM
Re: lvreduce and PVG
# lvdisplay -v /dev/vgkaps/lvol10
# cat /etc/lvmpvg
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:41 AM
тАО10-15-2007 08:41 AM