文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>LVM2-4

LVM2-4

时间:2006-06-30  来源:txkss

It is possible to configure LVM2 to operate with LVM1-formatted (Red Hat Enterprise Linux 3) volume groups. You can even configure LVM2 to default to using the LVM1 metadata format. This can be done by editing the /etc/lvm/lvm.conf file and ensuring that the following directive is enabled in the global section:

format = "lvm1"

The change made above is global and permanent. If you are attempting to recover or import an LVM1 volume, use the -M1 switch to force the LVM2 tools to use the LVM1 metadata format. For example if you have a LVM1-formatted volume group you want to restore:

vgcfgrestore -M1 <volume group name>

Now that the volume group is restored, change the metadata of the newly restored volume group to LVM2 to retain compatibility with the Red Hat Enterprise Linux 4 LVM tools.

vgconvert -M2 <volume group name>

See the respective man pages of these commands for more information and additional options: man vgcfgrestore and man vgconvert.

相关阅读 更多 +
排行榜 更多 +
找茬脑洞的世界安卓版

找茬脑洞的世界安卓版

休闲益智 下载
滑板英雄跑酷2手游

滑板英雄跑酷2手游

休闲益智 下载
披萨对对看下载

披萨对对看下载

休闲益智 下载