[HPADM] RE: Extending a logical volume

From: James J. Perry (jjperry@water.com)
Date: Wed May 04 2005 - 11:02:01 EDT


Ah the wonderful / size problem. The reason you are having issues that
is that the OS is running. Since it is up, then the filesystem will be
busy. The only way to resize it is to have the system down. But if the
system is down, you cannot resize it... It is a catch-22. The same
goes for /stand.

>From my experience, you have a few options (no inclusive).

1. Create mount points for other areas that are off / now. A good
example would be /var/adm/sw, /var/opt/perf/datafiles, or any other
large directory. This was what had to be done on old servers here as
all space was allocated to /.

2. Use Ignite to either do a make_tape_recovery or a golden image. Make
sure that all software (Oracle, Sybase, etc) are unmounted. Take a full
system backup in case there are unforseen problems. Once both steps are
done, boot off the Ignite image. When it boots, you can change the file
space and then continue the Ignite. This is what has to be done in a
past life to fix /stand as it was not sized for future growth.
 
The Ignite option works like a charm but you must be intimately familiar
with your system. Also you need to make sure that you have a good
bootable method for the restore. If you are at 10G on / now (or will
soon be), then I suggest you store the image on an Ignite server. This
is what I use for all of my various VPARs. I can boot over the network
and reload the OS to the golden image without problems and then restore
from tape any files that are out of date.

    -Jim

-----Original Message-----
From: hpux-admin-owner@DutchWorks.nl
[mailto:hpux-admin-owner@DutchWorks.nl] On Behalf Of Kory Wheatley
Sent: Wednesday, May 04, 2005 10:37 AM
To: 'hpux-admin@dutchworks.nl'
Subject: [HPADM] Extending a logical volume

When trying to increase the size of the root file system with SAM or
lvextend -L 10240 /dev/vg00/logicalvolume, I get an error telling that
the device is busy or being used. After issuing the fuser -ku /
command, which should kill all the processes on /, I'm still not able to

umount / and increase the size of the filesystem. I'm updating the
patches for an HP-UX 11.0 installation.

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:47 EDT