- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extending /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
03-06-2003 03:09 PM
03-06-2003 03:09 PM
I am starting to run out of disk space on /usr and want to know if I can use LVM to extend it. On Solaris with Veritas VM, you can extend it but will run into problems when doing OS upgrades or fixing rootdg. Anyone wish to comment, please?!! Thanks in advance.
spike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:24 PM
03-06-2003 03:24 PM
Re: extending /usr
If you have OnLine JFS you can do this while the FS is up & mounted.
Run this to see if you do have it:
swlist | grep -i online
Then check to see if you have free space in vg00
vgdisplay vg00
Look for the Free PE value.
If both of these are true, then just extend the LV
lvextend -L XXXX /dev/vg00/lvolY
where XXXX=new size in MB and Y=lvol# for /usr (usually 6, but not necessarilly)
Then increase the FS size
fsadm -F vxfs -b XXXXM /usr
where XXXX again = new size in Mb
If you don't have OnLine JFS, you have to reboot & increase the size in single-user mode.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:24 PM
03-06-2003 03:24 PM
SolutionThere are no problems with extending '/usr'. Use 'lvextend' to increase the filesystem size. Then, if you have "Online JFS", use 'fsadm' to increase the filesystem itself. You do not need to unmount the filesystem to do this.
If you don't have "Online JFS" then you need to bootup into single user mode; 'lvextned' the logical volume; and then use 'extendfs' to enlarge the filesystem. Then, reboot (my preference) to resume normally.
A good guide to basic LVM on HP-UX can be found in the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Regards!
...JRF...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:02 PM
03-06-2003 04:02 PM
Re: extending /usr
then
lvextend -L newsizeinMB /dev/vgname/lvname
then if online JFS is not available
umount /usr
extendfs -F vxfs /dev/vgname/rlvname
(note that the "r" is placed before lvname)
mount -a
that's it
if you have online JFS then after the lvextend command run
fsadm -b newsizem /usr
(note that there is a "m" at the end of the filesystem size. like 400m)
-Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:58 PM
03-06-2003 08:58 PM
Re: extending /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 10:41 AM
03-07-2003 10:41 AM
Re: extending /usr
If I understand what you're saying, it is OK to do this. This is supported and will not cause the system problems on upgrades, correct? Thanks for your help!
spike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 10:44 AM
03-07-2003 10:44 AM
Re: extending /usr
Forgive me for answering for Jeff, James, Anil & Michael, but yes, you'll be fine. It won't interfere with upgrades or anything else.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 11:02 AM
03-07-2003 11:02 AM
Re: extending /usr
No apologies needed. Thanks! That makes life a ton easier.
spike