I made some final decisions on my storage solution. I'm going to do away with RAID and stick with Logical Volume Management and ext4. I'm researching ZFS and btrfs but even in a cutting edge distro like Arch Linux, official support for ZFS is far from reassuring. In the end the added complexity and lack of widespread support in linux just isn't there yet - for RAID and ZFS. Well for RAID I decided that for my humble requirements, the added costs and complexity tell me it isn't going to pay much return. For one thing RAID 5 which is the most cost efficient doesn't give me enough data protection for the price.
So I just made backups and use the entire disks as one partition. I created the second volume group and in one command formed the PV's for it. I remembered that some files are still in the trash bin, so I just restored them to their appropriate directories. Most of my home directories were untouched.
$ sudo pvs
[sudo] password for donato:
PV VG Fmt Attr PSize PFree
/dev/sda1 vol2 lvm2 a-- <2.73t <94.52g
/dev/sdb1 vol1 lvm2 a-- 496.00m 496.00m
/dev/sdb2 vol1 lvm2 a-- <223.08g 0
/dev/sdc1 vol2 lvm2 a-- <1.82t <1.82t
/dev/sdd1 vol2 lvm2 a-- <1.82t <1.82t
/dev/sde1 vol2 lvm2 a-- <931.51g <931.51g
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
vol1 2 3 0 wz--n- 223.56g 496.00m
vol2 4 2 0 wz--n- <7.28t 4.64t
$ sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home vol1 -wi-ao---- <177.08g
root vol1 -wi-ao---- 30.00g
swap vol1 -wi-ao---- 16.00g
Musiclv vol2 -wi-ao---- 700.00g
Videoslv vol2 -wi-ao---- 1.95t
Comments