Re: Restore mksysb/shrink filesystems

From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 10/15/03

  • Next message: Green, Simon: "Re: Restore mksysb/shrink filesystems"
    Date:         Wed, 15 Oct 2003 07:47:05 -0500
    To: aix-l@Princeton.EDU
    
    

    That was my agenda for today. I had planned on doing it that way.
    Question is - where is this menu option now ?

    BV
    --------------------------------------------------------

    Bill Verzal
    AIX Administrator, Komatsu America
    (847) 970-3726 - direct
    (847) 970-4184 - fax

    |---------+---------------------------->
    | | "Green, Simon" |
    | | <Simon.Green@EU.A|
    | | LTRIA.COM> |
    | | Sent by: IBM AIX |
    | | Discussion List |
    | | <aix-l@Princeton.|
    | | EDU> |
    | | |
    | | |
    | | 10/15/2003 04:43 |
    | | AM |
    | | Please respond to|
    | | IBM AIX |
    | | Discussion List |
    | | |
    |---------+---------------------------->
    >-------------------------------------------------------------------------------------------------------------------------------|
      | |
      | To: aix-l@Princeton.EDU |
      | cc: |
      | Subject: Re: Restore mksysb/shrink filesystems |
    >-------------------------------------------------------------------------------------------------------------------------------|

    First, run mkszfile.
    Then edit /image.data. You could simply change the logical_volume_policy
    stanza to specify SHRINK= yes, which will affect every LV, or you could
    change individual LV stanzas to specify a new size.
    Once that's done, run a mksysb without the -i or -m flags.
    Finally, use this mksysb to restore your system. Since it's been taken on
    the same system you can boot straight from tape, if you like: no need to go
    through the full cloning procedure.

    Simon Green
    Altria ITSC Europe Ltd

    AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
    AIX FAQ at http://www.faqs.org/faqs/aix-faq/

    N.B. Unsolicited email from vendors will not be appreciated.

    > -----Original Message-----
    > From: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
    > Sent: 14 October 2003 22:28
    > To: aix-l@Princeton.EDU
    > Subject: Restore mksysb/shrink filesystems
    >
    >
    > OK - got a question for ya...
    >
    > I have an R50 I just upgraded to 5.1, then applied ML4.
    >
    > After the upgrade, I removed all of the junk that used to be
    > on the system
    > before it was given to me as a sandbox (printers, DB2, etc).
    >
    > This left me with lots of freespace in /usr and /.
    >
    > So I took a mksysb (actually, 2 of them), and booted off the
    > AIX 5.1 CD and
    > wanted to restore with a "Shrink Filesystems". But I could
    > not find the
    > option to shrink them.
    >
    > Anyone got any ideas ?


  • Next message: Green, Simon: "Re: Restore mksysb/shrink filesystems"

    Relevant Pages

    • Re: Restore mksysb/shrink filesystems
      ... stanza to specify SHRINK= yes, which will affect every LV, or you could ... run a mksysb without the -i or -m flags. ... AIX FAQ at http://www.faqs.org/faqs/aix-faq/ ...
      (AIX-L)
    • Re: Lord Basil, how goes the reconquest of SCSI?
      ... Still waiting on a reasonably priced external SCSI enclosure with the 68 pin ... I think the 0653-341 errors are because AIX is getting confused with the new ... back to the generic AIX mksysb system where it creates its our directories, ...
      (comp.sys.ibm.ps2.hardware)
    • Re: mksysb on AIX 5.2 problem
      ... IBM Certified Advanced Technical Expert - RS/6000 AIX ... mksysb on AIX 5.2 problem ... Ce courriel est confidentiel et protégé. ... copie de ce message ou des renseignements qu'il contient par une personne ...
      (AIX-L)
    • Re: importvg/exportvg vs. savevg/(restorevg??)
      ... Complete new install ... ... so with the new machine its a 5.3 -> 5.3 migration. ... do i just install/configure aix on the ... new machine while i'm performing a mksysb on the old machine, ...
      (comp.unix.aix)
    • Re: FILE-SAVE versus AIX mksysb tape
      ... It's been a while since I've run D3 on aix but yes, ... with my coworkers here about d3 FILE-SAVE versus AIX mksysb tapes. ... We used to run full FILE-SAVE ... not have item/file restore capability, ...
      (comp.databases.pick)