Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

如何使用dm-crypt在LVM(版本是LVM2)上创建一个加密的逻辑卷?

已更新 -

解决方法:

这是一个样例:

1. 使用命令lvcreate创建一个名字是CRYPTO的逻辑卷(LV) :  :

     [root@testmachine /]# lvcreate -n CRYPTO -L+100M DATA
     Logical volume "CRYPTO" created

2. Create a crypto blockdevice on CRYPTO using cryptsetup使用cryptsetup命令把逻辑卷CRYPTO设置成为加密的块设备...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.