- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do i reduce the size of a logical volume?
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-28-2001 11:55 PM
11-28-2001 11:55 PM
A rather silly question, but i prefer to ask before attempting something irreversible.
I have a mirrored logical volume to which i had overallocated space. I want to reduce its size by at least 1GB.
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lv_d05 8388608 6593416 1739112 79% /d05
Anyone can you please give the detailed steps.
NB. The file system has application runtimes that are almost always in use.
thank you very much for your replies
kind regards
yogeeraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 12:17 AM
11-29-2001 12:17 AM
SolutionYou cannot reduce the file system unless you have OnlineJFS and JFS ver. 3.3 . In order to do it the "normal" way, backup up the lvol, then perform:
lvreduce -L
then newfs -F vxfs /dev/vg##/rlvol#
then restore the data to the new reduced lvol.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 03:16 AM
11-29-2001 03:16 AM
Re: How do i reduce the size of a logical volume?
If you don't want to unmount/mount filesystem you can try
fsadm -F vxfs -b
lvreduce -L
Andrei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 05:17 AM
11-29-2001 05:17 AM
Re: How do i reduce the size of a logical volume?
The safest way is to back up the LV TWICE. delete it. recreate it with the appropriate size. then restore yor data.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 06:52 AM
11-29-2001 06:52 AM
Re: How do i reduce the size of a logical volume?
Safest way will be backup the data, delete and recreate the LV with required size.
If you have Online JFS & JFS 3.3, defrage the file system first (#fsdam -F vxfs -DEde
In either case do not forget to backup before trying to reduce file system.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 08:15 AM
11-29-2001 08:15 AM
Re: How do i reduce the size of a logical volume?
If you backup while the application is still running, there is a high probability that datafiles will change during the backup and data dependencies will be corrupted when the filesystem is restored.
Reducing a filesystem size should always be assumed to be destructive, even when using the optional Online JFS code. By following this rule, you will always be prepared for a restore.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 11:30 AM
11-29-2001 11:30 AM
Re: How do i reduce the size of a logical volume?
has been successfully decreased, is that
given-up space now free (in the group)
to be added to other volumes?
All my groups show 'Free PE 0', but I have
too much free space in some volumes, and I
want to move it around.