- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /Home Directory
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
- 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-09-2004 08:36 PM
04-09-2004 08:36 PM
/Home Directory
I have hpunix 10.20 installed on HP D class 9000. Now my home directory become full, when i check BDF command its, showing 100% used. is there any way to increse my home directory?
Pls give any solutions
Regads,
saf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2004 08:53 PM
04-09-2004 08:53 PM
Re: /Home Directory
Yes, If you got some free space left in your volume group.
Check if you have.
# vgdisplay -v /dev/vg00
If you have free extends left.
# umount /home
# lvextend -M new_size_in_MB /dev/vgXX/lvolX
# extendfs -F hfs /dev/vgXX/rlvolX
I suspect you use hfs filesystems, check the output from /usr/bin/fstyp /dev/vgXX/lvolX.
# mount /home
# bdf
Hope this helps,
Robert-Jan
Ps.
http://www.compute-aid.com/extend_vg00.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2004 08:59 PM
04-09-2004 08:59 PM
Re: /Home Directory
first check the available space in your vg00.
# vgdisplay vg00
# lvdisplay /dev/vg00/
# lvdisplay /dev/vg00/lvol4 [example]
once you have identity the space. do this:
# lvextend -L
you must un-mount /home
# umount /home
if not possible, you may have to restart the server in single-user boot.
if able to un-mount, then extend via:
# /usr/sbin/extendfs /dev/vg00/rlvol4 [example]
then mount it up again:
# mount /dev/vg00/lvol4 /home [example]
please reply if you have problem with restarting as single user.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2004 11:53 PM
04-09-2004 11:53 PM
Re: /Home Directory
Hey check whether you have any free extends are available on the volume group where the /home is been created
vgdisplay -v vgXX (where XX is may be 00 , 02 and so on)
if you have any space available then use follwing procedure
umount /home
lvextend -L (specify size in MB) /dev/vgXX/lvolXX
extendfs -F (specify file system type) /dev/vgXX/rlvolXX
mount /dev/vgXX/lvolXX /home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2004 03:20 AM
04-10-2004 03:20 AM
Re: /Home Directory
once you have checked there is available disk you can check to see if you have online JFS which means you don't need to unmount the filesystem:
swlist |grep -i onlinejfs
if it is installed then:
#lvextend -L
#fsadm -f vxfs -b
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2004 03:56 AM
04-10-2004 03:56 AM
Re: /Home Directory
du -kx /home | sort -rn | more
Then look in the biggest directories to see if there are junk files that can be removed. /home will grow without bounds unless you place some controls on it.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2004 05:18 AM
04-10-2004 05:18 AM
Re: /Home Directory
Since /home is one of those filesystems that can be unmounted, you can unmount it, do a lvextend / extendfs to increase the size and then remount it. Make sure any users who have home directories in /home or are running any processes from home are logged out and their processes stopped / killed.
If you have online jfs this can be done without unmounting by using lvextend / fsadm and without asking any user to log out.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2004 05:51 AM
04-10-2004 05:51 AM
Re: /Home Directory
To see logival volume do
#bdf /home
See if space is available in vg00 and on both primary and mirroe disks.
#vgdisplay -v vg00|more
For example if you want to extend /home to new size of 800MB
#lvextend -L 800 /dev/vg00/lvolxx
#fsadm -b 800M /home
If you extend a already mirrored logical volume, the mirror will also get extended automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2004 10:53 AM
04-10-2004 10:53 AM
Re: /Home Directory
First you should check if you can move/remove some unwanted files from /home
# du -axk /home | sort -nr |more
Incase you find that there are no unwanted files then we have to think on increasing the filesystem.
Take the filesystem backup of /home.
Check the availability of space in vg00
# vgdisplay -v /dev/vg00
If there are free space available.
Without Online JFS.
# shutdown 0
This will bring the server in a single user mode and ensure that all the users are logged out.
# mount -a
# bdf (Check the size of /home, say 500MB)
You want it to be 1 GB
# lvextend -L 1000 /dev/vg00/lvolX
lvolX is the logical volume of /home.
# umount /home
# extendfs /dev/vg00/rlvolX
# mount -a
# init 3
With Online JFS installed,
# lvextend -L 1000 /dev/vg00/lvolX
# fsadm -b 1000M /home
All the best.