[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] How do I properly backup and restore / on LVM2
- From: Alan Pek <alan pek db com>
- To: linux-lvm redhat com
- Subject: Re: [linux-lvm] How do I properly backup and restore / on LVM2
- Date: Tue, 13 Apr 2010 18:03:28 +0800
Hi Folks,
Read through the doc and tried to create
a snapshot lv for rootlv by doing, but failed.
singmrecfp1001:~ # lvcreate -L 2.5g
-s -n rsnap rootvg
Path required for Logical Volume
"rootvg"
The origin name should include
the volume group.
lvcreate: Create a logical volume
lvcreate
[-A|--autobackup
{y|n}]
[--addtag
Tag]
[--alloc
AllocationPolicy]
[-C|--contiguous
{y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes
Stripes [-I|--stripesize StripeSize]]
{-l|--extents
LogicalExtentsNumber |
-L|--size
LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent
{y|n}] [--major major] [--minor minor]
[-m|--mirrors
Mirrors]
[-n|--name
LogicalVolumeName]
[-p|--permission
{r|rw}]
[-r|--readahead
ReadAheadSectors]
[-R|--regionsize
MirrorLogRegionSize]
[-t|--test]
[--type
VolumeType]
[-v|--verbose]
[-Z|--zero
{y|n}]
[--version]
VolumeGroupName
[PhysicalVolumePath...]
lvcreate -s|--snapshot
[-c|--chunksize]
[-A|--autobackup
{y|n}]
[--addtag
Tag]
[--alloc
AllocationPolicy]
[-C|--contiguous
{y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes
Stripes [-I|--stripesize StripeSize]]
{-l|--extents
LogicalExtentsNumber |
-L|--size
LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent
{y|n}] [--major major] [--minor minor]
[-n|--name
LogicalVolumeName]
[-p|--permission
{r|rw}]
[-r|--readahead
ReadAheadSectors]
[-t|--test]
[-v|--verbose]
[--version]
OriginalLogicalVolume[Path]
[PhysicalVolumePath...]
singmrecfp1001:~ # lvcreate -L 2.5g -s -n rsnap /dev/mapper/rootvg-rootlv
Volume group "mapper"
doesn't exist
singmrecfp1001:~ # lvcreate -L
2.5g -s -n rsnap /dev/md1
"/dev/md1": Invalid
path for Logical Volume
The origin name should include
the volume group.
lvcreate: Create a logical volume
lvcreate
[-A|--autobackup
{y|n}]
[--addtag
Tag]
[--alloc
AllocationPolicy]
[-C|--contiguous
{y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes
Stripes [-I|--stripesize StripeSize]]
{-l|--extents
LogicalExtentsNumber |
-L|--size
LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent
{y|n}] [--major major] [--minor minor]
[-m|--mirrors
Mirrors]
[-n|--name
LogicalVolumeName]
[-p|--permission
{r|rw}]
[-r|--readahead
ReadAheadSectors]
[-R|--regionsize
MirrorLogRegionSize]
[-t|--test]
[--type
VolumeType]
[-v|--verbose]
[-Z|--zero
{y|n}]
[--version]
VolumeGroupName
[PhysicalVolumePath...]
lvcreate -s|--snapshot
[-c|--chunksize]
[-A|--autobackup
{y|n}]
[--addtag
Tag]
[--alloc
AllocationPolicy]
[-C|--contiguous
{y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes
Stripes [-I|--stripesize StripeSize]]
{-l|--extents
LogicalExtentsNumber |
-L|--size
LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent
{y|n}] [--major major] [--minor minor]
[-n|--name
LogicalVolumeName]
[-p|--permission
{r|rw}]
[-r|--readahead
ReadAheadSectors]
[-t|--test]
[-v|--verbose]
[--version]
OriginalLogicalVolume[Path]
[PhysicalVolumePath...]
singmrecfp1001:~ #
---
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]