Any utility program to dump and create LVM table ?

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

 



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.

Thanks in advance.
-- 
Please AVOID distributing documents in WORD, EXCEL or POWERPOINT format.
[Chinese Big5] 請避免散佈WORD, EXCEL 或是 POWERPOINT格式的檔案.
See http://www.fsf.org/philosophy/no-word-attachments.html
and http://www.cyut.edu.tw/~ckhung/published/997nodoc.shtml
----------------------------------
Steven Shiau
E-mail: steven _at_ nchc.org.tw; steven _at_ stick.idv.tw


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

  Powered by Linux