<div dir="ltr">Hey guys,<div><br></div><div>I was checking freedom disk/partition layout. I've found:</div><div><br></div><div>1) We have 4 disks. 2 disks are being used by Sugar and 2 by OLE.</div><div>2) The disks sdc and sdd used by Sugar are partitioned in the following way:</div><div>   a) three 10 GB partitions (partitions 1-3).</div><div>   b) one 1970 GB partition (partition 4).</div><div>3) We have five RAID1 arrays:</div><div>   a) /dev/md0: sdc1 + sdd1. Currently used by /.</div><div>   b) /dev/md1: sdc2 + sdd2. Not used.</div><div>   c) /dev/md2: sdc3 + sdd3. Not used.</div><div>   d) /dev/md3: sdc4 + sdd4. Physical Volume for the VG freedom-lvm.</div><div>   e) /dev/md4: sda1 + sdb1. Physical Volume for the VG ole.</div><div><br></div><div>4) In freedom-lvm where we have the following Logical Volumes (LVs):</div><div>   a) backup => 1 TB.</div><div>   b) docker_extra_storage => 15 GB. Not enough. It is using btrfs and the amount of space used differs from df -h result. We should use the Docker device mapper instead.</div><div>   c) freedom-virtual => 500 GB. qcow files for a bunch of VMs. Not sure which VMs are being used this space. The VMs currently running are: ole, hanginggarden, chat, munin, kuckuck, hammock, beacon, owncloud, pirate. I guess all of these VMs belong to Dogi. There are also qcow images for apparently decommissioned VMS.</div><div>   d) hammock-data => 150 GB. </div><div>   e) hanginggarden-data => 50 GB.</div><div>   f) ole-data => 100 GB.</div><div>   g) socialhelp => 20 GB. This wrong named LV is used to host some SL stuff.</div><div> </div><div>5) In ole there is only one LV named hammock with 2.73 TB.</div><div><br></div><div>Bernie bought two 2 TB (~1.8TB) new disks for SL the other day. We are planning to create the partitions for the new disks and rsync the current content.</div><div><br></div><div>I suggest the following layout:</div><div><br></div><div>(a) md0: sdx1 [10GB] + sdy1 [10GB] => /</div><div>(b) md1: sdx2 [500GB] + sdy2 [500GB] => PV for Docker.</div><div>(c) md2: sdx3 [rest] + sdy3 [rest] => PV for the backup (1 TB) and srv partiton (replace socialhelp).</div><div><br></div><div>The idea is to use the the docker DM [1] instead of btrfs. We should also deploy kubernetes [2] or something similar in order to improve our container infra.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Best regards,</div><div><br></div><div>Samuel C.</div><div><br></div><div>[1] <a href="https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/">https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/</a> </div><div>[2] <a href="http://kubernetes.io/">http://kubernetes.io/</a></div></div>