[HPADM] RE: Extending a logical volume

From: James J. Perry (jjperry_at_water.com)
Date: 05/04/05

  • Next message: James J. Perry: "[HPADM] RE: memory question"
    Date: Wed, 4 May 2005 11:02:01 -0400
    To: "Kory Wheatley" <wheakory@isu.edu>, <hpux-admin@dutchworks.nl>
    
    

    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)
    

  • Next message: James J. Perry: "[HPADM] RE: memory question"

    Relevant Pages

    • [HPADM] Re: RE: RE: Extending a logical volume
      ... Installing OnlineJFS avoids all these hurdles. ... Use Ignite to either do a make_tape_recovery or a golden image. ... To subscribe/unsubscribe to this list, ...
      (HP-UX-Admin)
    • [HPADM] RE: RE: Extending a logical volume
      ... You should also reboot to single user mode. ... Then make your slices and mirror them and reboot -- All done!! ... Use Ignite to either do a make_tape_recovery or a golden image. ...
      (HP-UX-Admin)
    • Re: Wie HP-Unix Image machen, mit Ignite?
      ... wiederherzustellen besser. ... Dann hast Du Ignite nicht verstanden. ... Oder das ganze aus dem Boot Menü (wo man BO PRI und so eingeben kann - ...
      (de.comp.os.unix.networking.misc)
    • [HPADM] RE: make_recovery for 10.20
      ... supports an 11i boot -- makes sense!!! ... I have inherited support for a 10.20 box -- no upgrade possible. ... Ignite is not installed. ... No virus found in this outgoing message. ...
      (HP-UX-Admin)
    • Re: Decrease /var volumn size
      ... The lvreduce destroy the filesystem! ... If you don't have online JFS, you must save the /var filesystem reduce ... the lvol, newfs the lvol for /var and restore the backup. ... Or use an ignite to restore the system (in the interactive mode from ...
      (comp.sys.hp.hpux)