- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr 100%
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
Forums
Discussions
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
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-24-2008 03:02 AM
03-24-2008 03:02 AM
/usr 100%
I am using HP-UX 11.23 my /usr FS is 100% and i don't have the online JFS utility. And the size of /usr if 2gb and i have to increase it upto 5gb i have the enough space in vg00.
So please tell me steps to increase /usr FS.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 03:09 AM
03-24-2008 03:09 AM
Re: /usr 100%
The other method, if you have sufficient space, is to create a new file system of the required size, copy /usr into it, then switch the entries in /etc/fstab to point /usr to the new file system, then reboot the system.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 03:11 AM
03-24-2008 03:11 AM
Re: /usr 100%
1.Take backup
2.check if space is available
vgdisplay vg00
if space is there fine , else add disk
do pvcreate and vgextend
3.umount /usr
4.extendfs -F vxfs -s newsize /dev/vg00/lvolxx
5.mount usr
Thats all
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 03:17 AM
03-24-2008 03:17 AM
Re: /usr 100%
lvextend -L new_size /dev/vg00/lvolxx
umount /usr
extendfs
mount
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 03:20 AM
03-24-2008 03:20 AM
Re: /usr 100%
extend the logical volum
extend the file system
mount the file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 03:27 AM
03-24-2008 03:27 AM
Re: /usr 100%
boot your system in single user mode
#vgchange -a y vg00
#lvextend -L 5000M /dev/vg00/lvoxx
#extendfs -F vxfs /dev/vg00/rlvoxx
#mountall
#init 3
Regards,
Davis Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 07:58 PM
04-02-2008 07:58 PM
Re: /usr 100%
Are you sure, 11.23 didn't have online jfs? I heard, from 11.23 onwards, Online JFS is defualt.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 09:59 PM
04-02-2008 09:59 PM
Re: /usr 100%
i.e
swlist -l product | grep -i OnlineJFS
If it is installed , you can extend /usr FS online or else you will have to unmount the FS and extend.
Check the large file in /usr FS that are responsible for FS growth because /usr contain
system files and it should not shhot up drastically
i.e
find /usr -xdev -type f -mtime -2 -ls | sort -nr +6 | head -n 5
If you still want to extend the /usr FS, do the following:
1. If Online JFS is installed:
Extend the lv (lvextend command)
Extend the Filesystem (fsadm command)
2. If Online JFS is not installed:
fuser -cu /usr (to check no user is working)
If user is, kill the user
fuser -ck /usr
umount /usr
extendfs -F
To find the fs-type of /usr:
fstyp
E.g
> fstyp /dev/vg00/lvol7
vxfs
>
extendfs -F vxfs /dev/vg00/lvol7
mount /usr
bdf /usr
Cheers,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 10:04 PM
04-02-2008 10:04 PM
Re: /usr 100%
I'm sorry coz i just noticed, the extendfs commad i have mentioned does not include the size of fs. We have online jfs installed on all our systems, so i have alwyas extended the filesystems online.
Gurus - Kindly add your inputs to the extendfs command to contain the size.
Cheers,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 10:17 PM
04-02-2008 10:17 PM
Re: /usr 100%
Your previous thread about extending usr
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1214686
Please assign points to your older threads and close them if they are solved, so we know what helped you!
Your questions
http://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW30447&listType=unassigned&forumId=1
Regards,
Robert-Jan