- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lv reduce from a particular disk problem
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
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-11-2011 12:09 AM
тАО10-11-2011 12:09 AM
lv reduce from a particular disk problem
We have one lv in the vg. We need to extend the lv by 2gb. So we added one 8gb disk in the vg. But unfortunately we extended the lv by 8gb. So right now we need get back the 6gb space. We didn't run fsadm and the F.S is online.
Need help how to reduce excess 6gb space from the lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2011 03:24 AM
тАО10-11-2011 03:24 AM
Re: lv reduce from a particular disk problem
Hi:
As long as you didn't extend the filesystem you can simply 'lvreduce' to the size you desire. Since you did not extend the filesystem, the extents that 'lvreduce' will return to the free pool have nothing you need.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2011 04:18 AM
тАО10-11-2011 04:18 AM
Re: lv reduce from a particular disk problem
Previously lv size was 40gb. Now it is 48 gb. 40gb lv is mounted & working. If i want to reduce it to 42gb, is there any impact to the online F.S or we need to umount the F.S. We run lvextend, but we didn't run fsadm. So lv is extended but is not reflect on mount pt. as i was not run fsadm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2011 04:47 AM
тАО10-11-2011 04:47 AM
Re: lv reduce from a particular disk problem
@Abhijit.A wrote:Previously lv size was 40gb. Now it is 48 gb. 40gb lv is mounted & working. If i want to reduce it to 42gb, is there any impact to the online F.S or we need to umount the F.S. We run lvextend, but we didn't run fsadm. So lv is extended but is not reflect on mount pt. as i was not run fsadm.
As I said before, simply 'lvreduce'. You do not need to unmount the filesystem. The filesystem boundries are where they were before you 'lvextend'ed the logical volume.
It never hurts to have a backup before doing LVM operations.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2011 09:00 PM
тАО11-06-2011 09:00 PM
Re: lv reduce from a particular disk problem
Thanks for your reply...
could you please tell me how could i use lvreduce command in this case, means is it require any lv range to be specified....?