The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
howto mount mac volume on suse 11 biorhythm OS X (Apple) 4 03-31-2009 12:53 PM
Unmount and remove all Logical vol.Volume group and physical disk joeli HP-UX 3 01-27-2009 10:59 AM
automating chroot and mount/unmount duderonomy Gentoo 3 06-02-2008 05:40 PM
how to mount SAN volume with its increased size prvnrk Red Hat 3 05-14-2008 10:04 PM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 05:11 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-09-2009
Dirk_ Dirk_ is offline
Registered User
  
 

Join Date: Feb 2009
Location: Seattle, WA
Posts: 11
/usr out of disk space need to unmount/ expand volume /mount

Greetings,
I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space.
I have plenty of hard disk space on my computer so would like to expand the size of the volume. The problem being is that /usr is mounted and in use and cannot be expanded by SAM.
I need to know which commands to refer to in order to unmount , expand and then mount the volume /usr again.
Respectfully,
Dirk
  #2 (permalink)  
Old 04-10-2009
sanchay sanchay is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
You should login in single user mode to increase the space for /usr or /tmp or /var mount points.
  #3 (permalink)  
Old 04-20-2009
leslie0802 leslie0802 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 3
Hi,

If you have Online JFS, you could do it on the fly. Otherwise you will need to bring to down to single user or use an ignite tape to resize the filesystems. Which means you will still need to bring the system down.

Leslie
  #4 (permalink)  
Old 04-27-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Solved?
  #5 (permalink)  
Old 04-27-2009
Dirk_ Dirk_ is offline
Registered User
  
 

Join Date: Feb 2009
Location: Seattle, WA
Posts: 11
Yes the problem is solved for now. I resolved the problem by uninstalling Internet Explorer 5 for Unix from the /usr volume (the default) and installed it on its own volume. I tried in vain to expand the /usr volume without any luck. fuser reported that it was in use by root and I don't know how to unmount then expand the volume and mount it again outside of SAM.

Thanks for checking in.
Dirk
  #6 (permalink)  
Old 04-28-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
The next will be /var unless it was installed with a FS of 2 GB...

A few things: Is your root VG (vg00) mirrored? Which means whatever space left in the VG is to be divided by 2...

/var will be like /usr: SAM uses it... so unless you have OnlineJFS you are to learn "how to" for a few things without SAM, the easy way round is to have a ignite tape, but I suppose you have no DAT device installed?

So its not complicated:
1 - Bring the Box into single user (or boot into single user...)
2 - lvextend -L SSS /dev/vg00/lvolX (SSS in Megabytes...)
3 - umount /dev/vg00/lvolX
4 - extendfs /dev/vg00/rlvolX (notice the "r" in rlvolX)
5 - mount /dev/vg00/lvolX

If it does not automatically backup lvm structure, ->
vgcfgbackup vg00

You should know where the system saves LVM and Filesystem information:
look at /etc/lvmconf /etc/lvmtab /etc/fstab

The commands you need to know for disks and LVM:
pvcreate
pvdisplay
pvchange
vgcfgbackup
vgcfgrestore
vgcreate
vgextend/vgreduce
vgexport/vgimport
vgremove
vgdisplay
lvdisplay
lvcreate
lvextend
lvremove
newfs
extendfs

Not bad for a start? (Read the man pages and feel welcome to ask here if some of it isnt clear...)

Good luck
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0