dimanche 19 novembre 2023

LVM2 setup on kid3

Physical

Laptop (ASUS) with 7-slot USB hub with USB (5V1A) power supply

3x2TB USB external drives (Seagate,W...,Toshiba)

LVM

  1. sudo pvcreate /dev/sdb /dev/sdc /dev/sdd
  2. sudo vgcreate VGurbackup /dev/sdb /dev/sdc
  3. sudo lvcreate -L 5T -n LVurbackup VGurbackup
  4. sudo mkfs.ext4 /dev/VGurbackup/LVurbackup 
  5. sudo vi /etc/fstab 
  6. sudo mount /var/backups/urbackup
  7. sudo chgrp urbackup /var/backups/urbackup
  8. sudo chmod 770 /var/backups/urbackup

Issues

With 2xUSB external drives it proved to be working fine and reliably even without external supply (the laptop itself is AC powered)
However with 3 drives...Well maybe this powered USB hub is not the right solution... I keep getting I/O errors after a short elapsed time of usage.  Will try a 5V 2A power adapter.

Aucun commentaire: