- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to reduce the LVM size
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
11-26-2004 11:59 PM
11-26-2004 11:59 PM
what are the commands to reduce a LVM size.
I dont have on-line jfs.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2004 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2004 01:24 AM
11-27-2004 01:24 AM
Re: How to reduce the LVM size
You can find a short discussion here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1101565226073+28353475&threadId=31100
I personally strong recommend to reduce the file system size by backing it up, recreation of its logical volume and restoring.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2004 02:44 AM
11-27-2004 02:44 AM
Re: How to reduce the LVM size
Reducing a LV without OnlineJFS is not possible. You have to backup the data, remove and recreate the LV, create a new FS and restore the data from the backup into that FS.
steps are below.
1. Take full backup of File system
2. umount FS
3. lvreduce logical volume ( eg:-# lvreduce -L
4. newfs
5. mount the FS and restore data
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2004 04:16 PM
11-28-2004 04:16 PM
Re: How to reduce the LVM size
Yes, If you do not have Online JFS, you can not reduce the LVM size.
This sample I will reduce /home.
1. Backup all user data
2. Umount the filesystem : umount /home
3. Reduce the size : lvreduce -L 100 /dev/vg01/lvhome
Note: the new total size will be 100MB.
4. Re-create the filesystem newfs -F vxfs /dev/vg01/rlvhome Note: to create an hfs filesystem change vxfs by hfs in the previous command.
5. Mount the Logical Volume: mount /dev/vg01/lvhome /home
6. Restore the user data
Can buy this licence but you have to pay money. It is not cheap :)
You also can download and try this :
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BASEVXFS
Hope this helps
Jimkery