- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- expanding /home after default install
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-01-2004 03:46 AM
11-01-2004 03:46 AM
It should be possible to expand /home to 400 MB but how do I do that without using ignite?
My box:
***************************************
HP-UX kenny B.11.11 U 9000/800 702017538 unlimited-user license
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 71944 131872 35% /
/dev/vg00/lvol1 295024 36192 229328 14% /stand
/dev/vg00/lvol8 2609152 268976 2322416 10% /var
/dev/vg00/lvol7 1056768 1028152 28432 97% /usr
/dev/vg03/lvol2 4096000 2408583 1600742 60% /tport
/dev/vg00/lvol4 204800 14416 189096 7% /tmp
/dev/vg01/lvol4 8499200 6715220 1733822 79% /test
/dev/vg01/lvol3 9216000 6412780 2729120 70% /support
/dev/vg01/lvol1 8388608 6647645 1643849 80% /oracle
/dev/vg01/lvol2 8388608 6213231 2039544 75% /oracle/oradata
/dev/vg00/lvol6 925696 735496 188776 80% /opt
/dev/vg00/lvol5 20480 2280 18072 11% /home
/dev/vg02/lvol1 4194304 3199277 964537 77% /mnt/v2l1
/dev/vg02/lvol2 4194304 85353 3935149 2% /mnt/v2l2
/dev/vg02/lvol3 8388608 4565774 3734086 55% /mnt/v2l3
/dev/vg02/lvol4 8388608 5170654 3117730 62% /mnt/v2l4
/dev/vg03/lvol1 4096000 3585815 478529 88% /mnt/v3l1
/dev/vg03/lvol3 27361280 23154656 4142416 85% /mnt/v3l3
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:55 AM
11-01-2004 03:55 AM
Re: expanding /home after default install
The easiest way is by using SAM,
Alternatives depends if you have online-JFS or not
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:58 AM
11-01-2004 03:58 AM
Re: expanding /home after default install
Not a problem if you have enough space in your vg00. All you have to do is to unmount /home and then extend it. It should be easy if you don't have any application processes running out of /home.
1. Ask all your users to logoff. Find out the processes that are attached to this filesytem.
fuser -cu /dev/vg00/lvol5
If you don't find any PIDs, then go to step2. If you do, then do a 'ps -ef|grep pid' and see what those processes are doing. If they are not critical (make sure 100%), then kill them using the command 'fuser -k /dev/vg00/lvol5'.
2. Unmount /home
#umount /home
3. Extend the logical volume to say 1024MB.
lvextend -L 1024 /dev/vg00/lvol5
extendfs -F vxfs /dev/vg00/rlvol5
4. Mount it back and verify
#mount /home
#bdf /home
5. Ask your users to log back in.
If you have onlineJFS installed (swlist -l product |grep -i onlinejfs), then it's much easier. You can do it on the fly without distrubing the users.
lvextend -L 1024 /dev/vg00/lvol5
fsadm -b 1024m /home
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:01 AM
11-01-2004 04:01 AM
Re: expanding /home after default install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:05 AM
11-01-2004 04:05 AM
Re: expanding /home after default install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:06 AM
11-01-2004 04:06 AM
Re: expanding /home after default install
swlist -l bundle | grep -i JFS
lvextend -L
fsadm -b
Hope this helps
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:25 AM
11-01-2004 04:25 AM
Re: expanding /home after default install
If this is your case, there is no need to expand /home on individual machines, just the NFS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:30 AM
11-01-2004 04:30 AM
Re: expanding /home after default install
# more fs
LOCAL=vxfs
#
I have done it once useing the command line.
How would I do it useing sam?
# pvdisplay /dev/dsk/c1t15d0
--- Physical volumes ---
PV Name /dev/dsk/c1t15d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 4340
Free PE 2527
Allocated PE 1813
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Btw: Gawd your quick!
F
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:51 AM
11-01-2004 04:51 AM
Solutionunder X be sure you have exported you DISPLAY=
sam&
otherwise just type sam...
I will take X to guide you:
Once opened click on "Disks and File Systems" then "Logical Volumes" - choose your lvol where mount directory = /home
Then
Action => Increase size
Simple no?
To know if you have ONline-JFS:
swlist¦grep JFS will show if bought separately
or swlist -l product¦grep JFS
All the best
Vi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:53 AM
11-01-2004 04:53 AM
Re: expanding /home after default install
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:32 PM
11-01-2004 07:32 PM
Re: expanding /home after default install
Perfect solutions.
THX a lot!
F