CKB:Configuring Logical Volume Manager (LVM)

Aus Cryptshare Documentation
Version vom 14. Januar 2022, 11:35 Uhr von Maintenance script (Diskussion | Beiträge) (Imported from text file)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche


Applies to:

All versions of Cryptshare Virtual Appliance

Purpose:

This is an example on configuring LVM on Cryptshare Appliances

Solution:

  1. log in as root on your appliance
  2. run the command yast

  1. navigate to System → Partitioner and press Enter

74384686.png

  1. press Enter to agree the Warning

74384688.png

  1. navigate to virtual disk which will be used for LVM

74384692.png

  1. add new partition as Raw Volume (unformatted)

74384695.png74384696.png

  1. do not format device and select Linux LVM as Partition ID

74384698.png

  1. repeat steps 5, 6 and 7 for all disks which will be used for LVM
  2. navigate to Volume Management and create new Volume Group

74384699.png enter the volume name, select and add previously configured disks 74384700.png74384701.png

  1. create new Logical Volume on the volume group

74384702.png74384703.png74384704.png74384705.png format the volume e.g. as EXT4 and add a mount point you prefer, e.g. /var/opt/data 74384706.png74384707.png74384708.png74384709.png

  1. new volume will be mounted now

74384710.png

  1. create needed folders on the new volume, e.g. uploads, backup and tmp and apply needed permissions
mount

cryptshare:~ # mkdir /var/opt/data/uploads
cryptshare:~ # mkdir /var/opt/data/backup
cryptshare:~ # mkdir /var/opt/data/tmp
cryptshare:~ # chown -R csuser:csgroup /var/opt/data
  1. configure corresponding entries on Cryptshare Administration Interface

74384711.png74384712.png

for configuring temp folder visit this page