Mounting hdd: Difference between revisions
From wikiluntti
Line 26: | Line 26: | ||
Raid levels. I have multiple HDD with different sizes, and need to add more hdds if needed. | Raid levels. I have multiple HDD with different sizes, and need to add more hdds if needed. | ||
*RAID 0 (striping) but losing any disk means losing all the data. | *RAID 0 (striping) but losing any disk means losing all the data. | ||
*RAID 1 (mirroring). All hdds should be identical. | |||
*RAID 5 (parity striping) but requires at least 3 drives (which I have). | *RAID 5 (parity striping) but requires at least 3 drives (which I have). | ||
Revision as of 08:45, 17 August 2021
RAID
cat /proc/mdstat
mdadm
Mount lv2m
https://superuser.com/questions/116617/how-to-mount-an-lvm-volume
LVM2 (logical volume manager)
vgdisplay
vgrename
vgchange
vgs
lvscan
PV (physical volume)
pvcreate
QNAP NAS
Raid levels. I have multiple HDD with different sizes, and need to add more hdds if needed.
- RAID 0 (striping) but losing any disk means losing all the data.
- RAID 1 (mirroring). All hdds should be identical.
- RAID 5 (parity striping) but requires at least 3 drives (which I have).
https://en.wikipedia.org/wiki/Standard_RAID_levels
How to convert RAID 0 to RAID 5 without losing any data?