Created
May 5, 2021 19:37
-
-
Save imaginator/361a264e73ab2198094979af4f29eea1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cryptsetup luksFormat /dev/sdg1 | |
cryptsetup open /dev/sdg1 BunkerVolGroup06-crypt | |
pvcreate /dev/mapper/BunkerVolGroup06-crypt | |
vgcreate BunkerVolGroup06 /dev/mapper/BunkerVolGroup06-crypt | |
lvcreate -l 100%FREE -n btrfs /dev/mapper/BunkerVolGroup06 | |
btrfs device add /dev/mapper/BunkerVolGroup06-btrfs /mnt | |
lsblk -o name,mountpoint,label,size,uuid | |
vim /etc/crypttab | |
# create disk label | |
lsblk --nodeps -no name,serial,type,tran | |
# Print disk label (12pt size) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment