- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Query regarding lvreduce on HP-UX 11.23
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
12-30-2010 11:59 PM
12-30-2010 11:59 PM
Query regarding lvreduce on HP-UX 11.23
On a production system running HP-UX 11.23 and with no online JFS, can we reduce the size of the lv online.
Someone has increased the size of the currently mounted lv. But not able to extend filesystem as it is not online JFS.
So i want to reduce the added space on that LV.
I am little scared as it is production. I heard defragmentation needs to be done before lvreduce.
Please help me with your comments regarding how to do lvreduce without affecting the production.
Thanks!!
Regards,
Sanwin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 12:05 AM
12-31-2010 12:05 AM
Re: Query regarding lvreduce on HP-UX 11.23
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 01:40 AM
12-31-2010 01:40 AM
Re: Query regarding lvreduce on HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 02:47 AM
12-31-2010 02:47 AM
Re: Query regarding lvreduce on HP-UX 11.23
When i run lvreduce i am getting this message.
What does this mean?
Whether it will remove the old data which was there before expanding the LV.
PLease help me.
When a logical volume is reduced useful data might get lost;
do you really want the command to proceed (y/n) :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 03:10 AM
12-31-2010 03:10 AM
Re: Query regarding lvreduce on HP-UX 11.23
LVM does not store any information about which physical extents within a logical volume contain useful data; therefore, reducing the space allocated to a logical volume without doing a prior backup of the data could lead to the loss of useful data. The lvreduce command on a logical volume containing a file system of greater length than the size being reduced to will cause data corruption.
man lvreduce
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 06:15 AM
12-31-2010 06:15 AM
Re: Query regarding lvreduce on HP-UX 11.23
Current lv size is 20 Gb and i am trying to reduce to 10 GB.
My doubt was whether it will reduce the unused space or there will be issues with data?
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 06:46 AM
12-31-2010 06:46 AM
Re: Query regarding lvreduce on HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 07:13 AM
12-31-2010 07:13 AM
Re: Query regarding lvreduce on HP-UX 11.23
Lvreduce will reduce the lv from the end of the chain. Since the filesystem was never extended across the newly added extents, you should be fine.
You're in a position that's about as safe as it's going to get to run that command. The warning messages don't do anything for the comfort factor, though; I'll freely admit.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 07:17 AM
12-31-2010 07:17 AM
Re: Query regarding lvreduce on HP-UX 11.23
I will try then.
Thanks!!
Regards,
Sanwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 07:26 AM
12-31-2010 07:26 AM
Re: Query regarding lvreduce on HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 07:36 PM
12-31-2010 07:36 PM
Re: Query regarding lvreduce on HP-UX 11.23
1. LV was 10 GB
2. you extended the LV to 20 GB
3. You do not extend the filesystem
4. reduce the LV to 10.01 GB while it is mouned that way it will not let you reduce the LV smaller than the FS structure that is mounted.