- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Increasing the size of /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
04-06-2004 01:31 AM
04-06-2004 01:31 AM
Increasing the size of /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:41 AM
04-06-2004 01:41 AM
Re: Increasing the size of /usr
If you dont have online JFS installed, then you will have to unmount the file system, but as processes are accessing /usr, you will need to go to single user mode and do that.
Interrupt the boot process. On ISL prompt do hpux -is, once in single usermode do as follows.
/sbin/lvextend -L "new_size_in_MB" /dev/vg00/lvolxx
/sbin/extendfs /dev/vg00/lvolxx
and reboot the machine and check if it has been extened with bdf /usr
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:42 AM
04-06-2004 01:42 AM
Re: Increasing the size of /usr
If you do not have OnlineJFS, then you must boot your box into single user mode. To boot into single user:
1. reboot and stop the boot by 'pressing any key' when prompted on the console.
2. Boot from primary: 'bo pri'
3. At the ISL prompt: 'hpux -is'
4. When you get a prompt, extend lvol (lvextend) and extend file system (extendfs).
5. mount /usr
6. bdf to verify new size.
7. Reboot or init to your normal run level.
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:45 AM
04-06-2004 01:45 AM
Re: Increasing the size of /usr
reboot in single mode
and then you can extent /usr
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:53 AM
04-06-2004 01:53 AM
Re: Increasing the size of /usr
sed 's/tmp/usr/' <
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=541943
HTH,
Gideon
PS. I think only the contiguous part needs to be added to RAC's anwser.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:57 AM
04-06-2004 01:57 AM
Re: Increasing the size of /usr
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:23 AM
04-06-2004 02:23 AM
Re: Increasing the size of /usr
that error is expected.
/usr is a filesystem that system uses normally; then you should boot in single user mode:
# shutdown -ry 0 ---> Interrupt boot ---> sea ---> boot pri ---> interact eith IPL, yes ---> hpux -is
# mount -a
# lvextend -L
usually it is lvol7 but check bdf
# extendfs -F vxfs /dev/vg00/rlvol7
# init 3
Check all by bdf.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:38 AM
04-06-2004 10:38 AM
Re: Increasing the size of /usr
#lvextend -L 2000 /dev/vg00/lvolxxx
#fsadm -b 2000M /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 03:41 PM
04-06-2004 03:41 PM
Re: Increasing the size of /usr
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 06:31 PM
04-06-2004 06:31 PM
Re: Increasing the size of /usr
*) Do u have online JFS ? If yes, it is possible.
------ dont have jfs ----------
IF REBOOT IS NOT POSSIBLE, now CAN BE LATER
--------------------------
*) I suggest u may prefer, create a new LV as required size, as per pete randall.
#lvcreate -L
(When u give this command it will show the lv name u had been created)
mount in new dir
#newfs -F vxfs /dev/vg00/r
#mkdir /newusr
#mount /dev/vg00/
copy the content of /usr to /newusr.
#cp -rp /usr /newusr
change the /etc/fstab entry towards /usr mount point as new LV u have created. Reboot when u get time as convinent.
IF REBOOT IS POSSIBLE IMME.
--------------------------
*) Bring down system run level to single user mode.
#init s
Note down the lvname in bdf output
#bdf
#lvextend -L
Note down fstype of lv from /etc/fstype
#extendfs -F
Mount all Local FS
#mount -a
Confirm the size of lv
#bdf
Bring up the system run level to 3.
Hope these will help you
suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 07:51 PM
04-06-2004 07:51 PM
Re: Increasing the size of /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 08:09 PM
04-06-2004 08:09 PM
Re: Increasing the size of /usr
Extend the logical volume which you can do online with or without OnlineJFS. Then put the "extendfs" command in the startup scripts before the /usr filesystem is mounted. Then you need merely re-boot the system. Of course, if it fails you have to go to single user mode to sort it out so be careful.
It was useful enough to start reading a config file which if it existed, contained the filesystems to extend and extend it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 02:47 AM
04-07-2004 02:47 AM
Re: Increasing the size of /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 03:40 AM
04-07-2004 03:40 AM
Re: Increasing the size of /usr
The recommendations worked perfectly and now I can stop getting the vxd out of space errors. Thank you all!