Re: move a lv / fs to another vg
From: Andy (gk15374_at_yahoo.com)
Date: 04/05/04
- Next message: Andreas Schulze: "Re: problem with execution on .profile"
- Previous message: Richard van Denzel: "iPerf 1.7.0"
- In reply to: Dale Talcott: "Re: move a lv / fs to another vg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Apr 2004 04:59:13 -0700
aeh@quest.cc.purdue.edu (Dale Talcott) wrote in message news:<aeh.1080915411@quest.cc.purdue.edu>...
> "Bert Moos" <bert.moos@hotmail.com> writes:
>
> >within an existing vg (uservg1) i have a lv (/dev/lv01) which contains only
> >one filesystem (/data/app/zone1). i'd like to move this lv (/dev/lv01) with
> >its filesystem (/data/app/zone1) to a new vg (uservg2). this new vg already
> >exists and is empty. how can i move the lv with the filesystems and its data
> >to the new vg.
>
> You can unmount the file system, use cplv to copy its logical volume (lv01)
> to a new LV inside uservg2, edit /etc/filesystems to refer to the new
> LV, and remount the file system.
>
> Double check with the man pages, but I think the steps would be:
>
> umount /data/app/zone1
> cplv -v uservg2 -y newlv01 lv01
> vi /etc/filesystems # change /dev/lv01 to /dev/newlv01
after cplv I would suggest run following command (instead modifying
/etc/filesystems):
chfs -a dev=/dev/newlv01 -a log=/dev/"jfslogonnewvg" /data/app/zone1
(VGDAs and ODM will be then updated)
reg.
- Next message: Andreas Schulze: "Re: problem with execution on .profile"
- Previous message: Richard van Denzel: "iPerf 1.7.0"
- In reply to: Dale Talcott: "Re: move a lv / fs to another vg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|