- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How extend /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
11-04-2004 01:22 AM
11-04-2004 01:22 AM
How extend /usr
How can extend the file system /usr on system HP-UX 11i (11.23).
I can't umount it, because it is always busy.
Cordialy
Didier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:24 AM
11-04-2004 01:24 AM
Re: How extend /usr
You need the OnlineJFS product. Or you have to backup/reconfigure/restore the system using Ignite.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:24 AM
11-04-2004 01:24 AM
Re: How extend /usr
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:25 AM
11-04-2004 01:25 AM
Re: How extend /usr
swlist -l product | grep -i JFS
fsadm -F vxfs -b
I guess you do not though.
So:
at console
boot
interupt at the 10 second prompt.
bo
Y Interact
hpux -is
or
lpux -lm
There is a copy of the lvm commands in the /sbin folder
run lvextend and extendfs from there.
Make sure you know what disk you want to extend onto. Run reports and have them handy on paper before you start.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:31 AM
11-04-2004 01:31 AM
Re: How extend /usr
Think's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:31 AM
11-04-2004 01:31 AM
Re: How extend /usr
/stand - 512m, / - 8192m, /opt - 4096m, /var - 8192m, /tmp - 2048m - rest as swap.
In situations like this.. most servers often do not have contigous area left so I end up simply repartitioning by doing a tape or net recovery backup and restoring.
Create a tape recovery archive:
make_tape_recovery -I -Av
or
make_tape_recovery -I -Av -a /dev/rmt/?mn
Then boot that tape. I trust you know your BCH operations already. The -I option above stops Ignite Boot from automagicaly restoring so you can re-"carve" your OS disk(s) to suite your needs -- or go with a minimalist partitioning scheme where / and /usr is just one LVOL/partition.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 01:56 AM
11-04-2004 01:56 AM
Re: How extend /usr
HP-UX 11.23 I have not the possibility after the reboot and the 10 secondes prompt to enter in the interact mode ???
What is the procedure for the maintenance mode ?
Thank's
Didier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:13 AM
11-04-2004 03:13 AM
Re: How extend /usr
Interact with IPL
hpux -is
But first, you will have to lvextend - if /usr is on /dev/vg00/lvol7, then
lvextend -L NEWSIZEINMB /dev/vg00/lvol7
Then reboot...
Then /sbin/fs_wrapper -F vxfs /dev/vg00/rlvol7
I think that will work...reason is, extendfs is a symbolic link:
ll /usr/sbin/extendfs
lrwxr-xr-x 1 root root 16 Oct 29 16:37 /usr/sbin/extendfs -> /sbin/fs_wrapper
and /usr will not be mounted...
Only other way is to use a make_tape_recovery
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:25 AM
11-04-2004 03:25 AM
Re: How extend /usr
Here is what I have save in my email from long time. It works. I got this from this forum. It to expand /stand you can do that to /usr. I have done it before without any problem
Assumptions,
01. You are not just an "HP kid" who will play with ignite like stuff.
02. You like taking some risk & saving your valuable time
Size of /dev/vg00/lvol1 is A (boot or /stand or /dev/vg00/lvol1)
Size of /dev/vg00/lvol2 is B (swap or /dev/vg00/lvol2)
You wanna increase size of lvol1 from A to A+X (where X is not more than B - "physical memory installed in your machine")
Basically we have to decrease size of swap to increase boot as they are contigous.
Now Extending /stand is an easy job which can be performed in 10-15 minutes.
Steps
01. Boot your machine in LVM maintenance mode
(hpux -lm at ISL>)
#rm /etc/mnttab
#vgchange -a y /dev/vg00
#lvrmboot -r /dev/vg00
#lvremove /dev/vg00/lvol2
#lvextend -L "A+X" /dev/vg00/lvol1
#extendfs /dev/vg00/rlvol1
#lvcreate -L "B-(X+10)" -C y -r n -n lvol2 /dev/vg00
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#reboot -r
You have your /stand extended now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:36 AM
11-04-2004 03:36 AM
Re: How extend /usr
accomplished mission
with Steven method :
-> single-user
-> interact Y
-> hpux -is
-> cd /sbin
-> lvextend and extendfs
Thank's again
Didier.