User Tools

Site Tools


logical_volume_manager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
logical_volume_manager [2014/11/24 01:14]
0.0.0.0 created
logical_volume_manager [2014/11/24 02:09]
ben
Line 46: Line 46:
 dm-crypt can be used to encrypt a partition. This is only useful while the disk is unmounted, as while it is mounted the keys are in memory and the disk can be read.  dm-crypt can be used to encrypt a partition. This is only useful while the disk is unmounted, as while it is mounted the keys are in memory and the disk can be read. 
  
-<source lang="bash">+<code bash>
  # To create  # To create
  cryptsetup -y create encrypted-volume /dev/mapper/pool-volume  cryptsetup -y create encrypted-volume /dev/mapper/pool-volume
Line 57: Line 57:
  umount /dev/mapper/encrypted-volume  umount /dev/mapper/encrypted-volume
  cryptsetup remove encrypted-volume  cryptsetup remove encrypted-volume
-</source>+</code>
  
 ===== Resizing ===== ===== Resizing =====
logical_volume_manager.txt · Last modified: 2014/11/24 02:15 by ben