Mounting hdd: Difference between revisions
From wikiluntti
Line 39: | Line 39: | ||
*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 1 (mirroring). All hdds should be identical. | ||
*RAID 5 (parity striping) but requires at least 3 drives | *RAID 5 (parity striping) but requires at least 3 similar drives. | ||
https://en.wikipedia.org/wiki/Standard_RAID_levels | https://en.wikipedia.org/wiki/Standard_RAID_levels | ||
Line 46: | Line 46: | ||
SMB works on Network tab in Ubuntu PCManFM | SMB works on Network tab in Ubuntu PCManFM | ||
=== NFS === |
Revision as of 19:47, 4 December 2021
RAID
cat /proc/mdstat
mdadm
LVM 2
sudo vgscan sudo vgchange -ay ubuntu-vg sudo lvs sudo mount /dev/ubuntu-vg/lvstuff /media/mol -o ro,user
Mount lv2m
https://superuser.com/questions/116617/how-to-mount-an-lvm-volume
Note that the mounting option needs to be read/write: $ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o rw,user
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 similar drives.
https://en.wikipedia.org/wiki/Standard_RAID_levels
How to convert RAID 0 to RAID 5 without losing any data?
SMB works on Network tab in Ubuntu PCManFM