- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr size extension question
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
Discussions
Discussions
Forums
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
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
тАО09-08-2003 12:53 AM
тАО09-08-2003 12:53 AM
/usr size extension question
I need to extend /usr,can this be done dynamically or do I have to take server to single user mode?
1.lvextend
2.umount /usr
3.extendfs
4.mount /usr
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 01:00 AM
тАО09-08-2003 01:00 AM
Re: /usr size extension question
It depends on is you have OnlineJFS installed (it is licensed). If not, you have to extend /usr in singlr user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 01:01 AM
тАО09-08-2003 01:01 AM
Re: /usr size extension question
Follow next link for a detailed answer,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x88525c7609e9d61190050090279cd0f9,00.html
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 01:22 AM
тАО09-08-2003 01:22 AM
Re: /usr size extension question
Or else, boot into single user mode. hpux -is
init 1 wont do.
lvextend, extendfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 01:30 AM
тАО09-08-2003 01:30 AM
Re: /usr size extension question
Thanks for the reference.The server has JFS installed(swlist |grep JFS), so can I just extend lvol & then use fsadm to extend filesystem?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 02:34 AM
тАО09-08-2003 02:34 AM
Re: /usr size extension question
Yes:
lvextend -L (n) /dev/vgXX/lvolXX
fsadm -F vxfs -b (n) mountpoint
See man fsadm
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 03:40 AM
тАО09-08-2003 03:40 AM
Re: /usr size extension question
Not only do you have to have Online JFS installed, but /usr has to be a JFS filesystem.
grep "usr" /etc/fstab
If it has "hfs" then you have to do the reboot.
If it has "vxfs" then you can use Online JFS.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 03:52 AM
тАО09-08-2003 03:52 AM
Re: /usr size extension question
Don't confuse with the basic JFS included in the HPUXbase64 bundle with OnlineJFS which is a separate product called:
B5118CA B.11.11 HP OnLineJFS
You need this product to extend the filesystem online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 03:52 AM
тАО09-08-2003 03:52 AM
Re: /usr size extension question
Thanks for the feedback! Yes the /usr filesystem is vxfs, so I will go ahead and attempt the extension!
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 04:02 AM
тАО09-08-2003 04:02 AM
Re: /usr size extension question
1. lvextend
2. fuser -cuk /usr (Users maybe affected)
3. umount /usr
4. extendfs
5. mount /usr
good luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com