Re: move logical volume and file system to different vg

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 04/30/03

  • Next message: Green, Simon: "Re: old console problem"
    Date:         Wed, 30 Apr 2003 10:54:58 +0200
    To: aix-l@Princeton.EDU
    
    

    There's no very easy way to do this. (Not a simple, one-command way,
    anyway.)

    Essentially, you have to copy all of the data from the current filesystem to
    a new one. There are several ways of doing this. Which you choose will
    depend on your environment.

    1. Back up; delete and re-create the filesystem in the new location;
    restore.

    2. Use cplv, then chfs to point to the new LV.

    3. Create a new filesystem; copy from the old to the new (e.g. cpio); rename
    the filesystems.

    Simon Green
    Altria ITSC Europe s.a.r.l.

    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: Arthur Prince
    > Sent: 30 April 2003 09:34
    > To: aix-l@Princeton.EDU
    > Subject: move logical volume and file system to different vg
    >
    >
    > I have inherited a system where a number of user created
    > logical volumes and
    > their associated filesystems have been created in rootvg. I
    > would like to move
    > them to datavg(which already exists)
    >
    > Is there an easy way to do this?


  • Next message: Green, Simon: "Re: old console problem"

    Relevant Pages

    • SUMMARY: how do I REALLY delete a file?
      ... leaving the rest of the file system intact. ... Wipedrive doesn't seem to be available for Solaris, but might be of interest to ... run this on each filesystem where the files from ... >Solaris' UFS] do not satisfy this assumption." ...
      (SunManagers)
    • Summary: df -k : discrepancy in the % displayed
      ... The standard file system reserves about 10% of the kbytes for efficiency; ... is unavailable to anyone except root. ... If you created your filesystem with default options, ... This 5% or so reservation is probably not worth bothering with on a 1-2GB ...
      (SunManagers)
    • Re: Saving Objectstore to a WinCE OS device
      ... ANY filesystem can be used. ... It should indicate that this particular registry key is deprecated, ... the registry and mount it as the root and you'll be 80% of the way ... I thought when you mentioned File system that you was refering to ...
      (microsoft.public.windowsce.embedded)
    • Re: Booting - Enterprise Volume Management System
      ... nothing to do with LVM and everything to do with file systems. ... bother with LVM on a single disk if you can just make one big partition? ... Runaway processes can't fill the filesystem, ... windows machine when exchange fills the file system. ...
      (Ubuntu)
    • Re: error concerning filesystem [Virus checked]
      ... IBM AIX Discussion List ... error concerning filesystem ... UNABLE TO ALLOCATE SPACE IN FILE SYSTEM ... If you wish to confirm the origin or content of this communication, ...
      (AIX-L)