[linux-lvm] LVM1 Snapshot

Xavier Montagutelli Xavier.Montagutelli at insa-tlse.fr
Tue Apr 1 09:53:02 UTC 2003


On Tue, 1 Apr 2003, Aman Shahi wrote:

>
> Using LVM1, how do I create a snapshot LV on a
> different physical device than the original LV

Add at the end of your "lvcreate" command the name of the physical device
to use :

fantastic:/usr/local/sbin# lvcreate --help
Logical Volume Manager 1.0.6
Heinz Mauelshagen, Sistina Software  25/10/2002 (IOP 10)

[..]

lvcreate -s|--snapshot [-c|--chunksize ChunkSize]
        {-l|--extents LogicalExtentsNumber |
         -L|--size LogicalVolumeSize[kKmMgGtT]}
        -n|--name SnapshotLogicalVolumeName
        LogicalVolume[Path] [PhysicalVolumePath...]


But it does not work if the physical volume is a md device.

--
[ Xavier Montagutelli          `""'                                   ]
[ INSA Toulouse                0--0                                   ]
[               ---------oOOo---()---oOOo----------                   ]
[ Dpt de Math / Service Informatique  Tel: +33 5 61 55 93 38 / 67     ]
[ 135, Avenue de Rangueil             Fax: +33 5 61 55 93 20 / 60     ]
[ 31077 Toulouse Cedex 4              Mel: montagut at gmm.insa-tlse.fr  ]





More information about the linux-lvm mailing list