- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to reduce /usr
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
05-30-2002 03:58 AM
05-30-2002 03:58 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:01 AM
05-30-2002 04:01 AM
Re: How to reduce /usr
More detail please
OS
bdf
error messages
command used to reduce
Details of /usr
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:04 AM
05-30-2002 04:04 AM
Re: How to reduce /usr
The solution is to reboot the server into single user mode, backup the data in your /usr filesystem to a temporary filesystem, reduce the size of your lvol with lvreduce and then recreate the filesystem with newfs. Finally restore your data into the partition.
I know it's long winded, but this is tyhe only way you can do the job
Regards
Pete Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:05 AM
05-30-2002 04:05 AM
Re: How to reduce /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:09 AM
05-30-2002 04:09 AM
Re: How to reduce /usr
peter have a good solution, but I have tested to reduce /usr and it have worked.
You must have installed jfs 3.3 and all work correctly.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:13 AM
05-30-2002 04:13 AM
Re: How to reduce /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:16 AM
05-30-2002 04:16 AM
SolutionThere are 2 different versions of JFS you need to consider;
1. JFS 3.3 This newer version allows you to successfully reduce an lvol becuase it will move out of the way any data which are on the extents you want to reduce. It will move them to other free extents. Works great although I have seen it fail if your lvol is 99 or 100% full as it needs some space to move the extents to first.
2. The older OnlineJFS offers no such guarantee. It cannot move out of the way extents you want to reduce. If any of the extents you want to reduce are in use the fsadm -b
3. Some people are using the new Veritas volume manager sofware which also allows you to successfully reduce lvols (like JFS 3.3).
So unless you are using JFS 3.3 (or VVM) you will have to use something like an ignite bootable recovery tape to restore vg00 and resize /usr to your new size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 02:52 AM
05-31-2002 02:52 AM
Re: How to reduce /usr
Also, restoring the /usr from tape (my disk is so small I cant back it up on disk, thats why I wanted to reduce /usr in the first place) isnt trivial as most unix commands resides in /usr.