文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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.

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载