Re: Any utility program to dump and create LVM table ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-05-04 at 15:35 +0800, Steven Shiau wrote:
> Hi,
> I am new to LVM, and I am wondering is there any program which can dump
> the LVM table to a file or create LVM table from a file ?
> What I mean is just like sfdisk to partition table, I can use
> sfdisk -d /dev/hda > hda.pf
> to dump the partition table.
> And with this file "hda.pf", I can easily create a partition table in
> another HD like:
> sfdisk /dev/hda < hda.pf
> 
> I know with vgs, pvs, and lvs maybe I can write a script. But if such a utility program exists, then that's easier.

Something like vgcfgbackup and vgcfgrestore?

I don't think these are *quite* what you're after because they expect
particular UUIDs for each volume, useful for getting at data you already
have, whereas I think you're after a way of cloning an LVM setup.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux