- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I reduce a logical volume online ?
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
03-22-2004 03:26 AM
03-22-2004 03:26 AM
( online JFS is installed )
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:33 AM
03-22-2004 03:33 AM
Re: How do I reduce a logical volume online ?
Just "lvreduce -L 3072 /dev/vg00/lvolXX"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:55 AM
03-22-2004 03:55 AM
Re: How do I reduce a logical volume online ?
Which I am sure you did!!
Of course, /usr is a fairly static FS solong as you defraged it should be okay.
Just remember UNIX will let you do nearly anything whether or not it is good for your box...of course HPUX has safeguards with LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:07 AM
03-22-2004 04:07 AM
Re: How do I reduce a logical volume online ?
lvreduce -L 3072 /dev/vg00/lvolXX
Make sure you have a backup/make_tape_recovery though....
If the fsadm resize went fine, then the lvreduce should work...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 08:40 AM
03-22-2004 08:40 AM
SolutionTake backup of file system.
Defrag first
#fsadm -F vxfs -DEde /usr
Reduce to new size e.g 3000MB
#fsadm -F vxfs -b 3000M /usr
#lvreduce -L 3000 /dev/vg00/lvxxx
Note:Use the logical volume mounted on /usr
To see do bdf /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 09:00 AM
03-22-2004 09:00 AM
Re: How do I reduce a logical volume online ?
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 09:15 AM
03-22-2004 09:15 AM
Re: How do I reduce a logical volume online ?
Best practice IMHO, is to backup FS, lvremove Lvol and lvcreate again... but in this case that would involve reloading the OS.
I think he found that it was worth the risk in this case to try it. Not my favorite thing though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 07:47 PM
03-22-2004 07:47 PM
Re: How do I reduce a logical volume online ?
Yes, I do have a backup of /usr and I defragemented before reducing the filesystem, which worked fine by the way. (I followed exactly the steps "SS" proposes to do)
I was a bit afraid of doing the lvreduce, because I wasn't sure, if onlineJFS is installed, you should use that same command for reducing the logical volume.
Anyway, it worked. THX a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 07:59 PM
03-22-2004 07:59 PM