[HPADM] RE: RE: RE: Extending a logical volume

From: Dave Carter (dwcarter_at_iac.net)
Date: 05/05/05

  • Next message: HP ADMIN: "[HPADM] Re: scheduling cron - on 7th of every month"
    To: <hpux-admin@dutchworks.nl>
    Date: Thu, 5 May 2005 12:57:52 -0400
    
    

    The single user mode you want to use is one you boot into.
    (Not the one you step down into.)
    (The mirroring was just a carry over -- All my boxes were mirrored.)
    Nothing will be mounted Not /
    I take it nobody is trying to boot into single user that way!

    By the way -- getting into single user mode that way is in the user manual.
    It is there for maintenance

    -----Original Message-----
    From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
    On Behalf Of Dave Carter
    Sent: Wednesday, May 04, 2005 12:20 PM
    To: hpux-admin@dutchworks.nl
    Subject: [HPADM] RE: RE: Extending a logical volume

    What are you guys talking about!!!
    One your machine has to be in single user mode!!
    You should also reboot to single user mode.
    Then make your slices and mirror them and reboot -- All done!!
    DaveC
    dwcarter@iac.net

    -----Original Message-----
    From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
    On Behalf Of James J. Perry
    Sent: Wednesday, May 04, 2005 11:02 AM
    To: Kory Wheatley; hpux-admin@dutchworks.nl
    Subject: [HPADM] RE: Extending a logical volume

    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)
    --
                 ---> 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)
    --
                 ---> 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: HP ADMIN: "[HPADM] Re: scheduling cron - on 7th of every month"

    Relevant Pages

    • Re: cannot get pass logon screen in C180 HP-UX
      ... You can boot in single user mode by interrupting the boot process ... :> should boot in single user mode... ... the command to change the password is passwd, ...
      (comp.sys.hp.hpux)
    • Re: how recover a root pass in SCO Unix, I need some help.
      ... commonly and typically the case that the root password is required to ... boot into single user mode - at least when booting from the "normal" ... console and/or physical access to the hardware. ...
      (comp.unix.shell)
    • Re[2]: cant exec getty(urgent)
      ... renaming some file and in some command ... MS> to boot into single user mode on the console. ... by refusing the right of anyone over her body; ...
      (freebsd-questions)
    • Re: cant exec getty(urgent)
      ... renaming some file and in some command ... > at last server never boot in below messages that freezing.. ... prompting you to type in the name of a shell or hit return. ... Now you've got the system into single user mode, ...
      (freebsd-questions)
    • [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)