After years of using Ubuntu, I still find new things to do that make me realize that I don't know what I don't know, please forgive what may be a trivial question.
I am trying to build a server and want to use LVM. It has three drives and I would like to use the two of them (sda & sdb) as Logical Volumes configured as RAID1.
Do I need a linux swap partition on the boot drive? It looks like I set this up but not sure it is necessary.
The device nvme0n1 has about 700Gb that has not been partitioned and I would like to use this as a place to store backups. Would creating an EXT4 partition to do this be the best approach?
Once sda & sdb are part of an LVM RAID1 array, I would like to move some sub-directories from / to the array. Is that possible and if so how? Are there preferable sub-directories to move or leave behind to facilitate backup/restore?
Thanks in advance for suggestions.
scott
Code:
scott@scott-server:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT -e7
NAME FSTYPE SIZE MOUNTPOINT
sda 465.8G
└─sda1 LVM2_member 465.8G
sdb 465.8G
└─sdb1 LVM2_member 465.8G
sdc 14.9G
└─sdc1 vfat 14.9G /media/scott/68C6-10F5
nvme0n1 931.5G
├─nvme0n1p1 1M
├─nvme0n1p2 ext4 2G /boot
├─nvme0n1p3 LVM2_member 197.1G
│ └─ubuntu--vg-ubuntu--lv ext4 189.5G /
└─nvme0n1p4 swap 31.3G
Bookmarks