mergerfs:combine_multiple_hard_drives_into_a_single_mountpoint
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mergerfs:combine_multiple_hard_drives_into_a_single_mountpoint [2025/04/29 08:19] – [Created the new mount points] peter | mergerfs:combine_multiple_hard_drives_into_a_single_mountpoint [2025/06/06 21:00] (current) – [Check] peter | ||
---|---|---|---|
Line 48: | Line 48: | ||
===== Try to Manually Mount ===== | ===== Try to Manually Mount ===== | ||
+ | |||
+ | ==== Mount the individual disks to be included into mergerfs ==== | ||
<code bash> | <code bash> | ||
- | mergerfs -o defaults, | + | sudo mkdir /mnt/disk01 |
+ | sudo mkdir /mnt/disk02 | ||
+ | sudo mkdir /mnt/ | ||
+ | |||
+ | sudo mount /dev/sdb1 / | ||
+ | sudo mount /dev/sdc1 / | ||
+ | sudo mount /dev/sdd1 /mnt/disk03 | ||
</ | </ | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | * Use the actual devices in the system. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Mount mergerfs from the individual mounted disks ==== | ||
+ | |||
+ | <code bash> | ||
+ | sudo mergerfs -o defaults, | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
- | If after mounting, there are problems with the permissions, | + | * If after mounting, there are problems with the permissions, |
- | Set **user_allow_other** in / | + | |
</ | </ | ||
Line 66: | Line 88: | ||
<code bash> | <code bash> | ||
- | cd /srv | + | cd /mnt |
- | /srv$ ls -l | + | /mnt$ ls -l |
ls: cannot access ' | ls: cannot access ' | ||
total 0 | total 0 | ||
Line 88: | Line 110: | ||
<file bash / | <file bash / | ||
... | ... | ||
- | UUID=b8548ed6-a3e9-44b2-845c-648892491c2d | + | UUID=b8548ed6-a3e9-44b2-845c-648892491c2d |
- | UUID=c09544b8-0dc3-4532-a1c7-31fd63c8c97e | + | UUID=c09544b8-0dc3-4532-a1c7-31fd63c8c97e |
- | UUID=347f34a3-b4b1-47c9-bec9-3ea0c4aa3715 | + | UUID=347f34a3-b4b1-47c9-bec9-3ea0c4aa3715 |
- | /mnt/media* /srv/media fuse.mergerfs defaults, | + | /mnt/disk* /mnt/media fuse.mergerfs defaults, |
- | #OLD /mnt/media* /srv/media fuse.mergerfs defaults, | + | # Another way. |
+ | #/ | ||
+ | |||
+ | #OLD /mnt/disk* /mnt/media fuse.mergerfs defaults, | ||
</ | </ | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
- | * This way by using /mnt/media* for the new mergerfs entry in fstab, it will pick up all the drives and any future ones added that uses the same naming scheme. | + | * This way by using /mnt/disk* for the new mergerfs entry in fstab, it will pick up all the drives and any future ones added that uses the same naming scheme. |
- | * The new unified single mount point will be in **/srv/media**. | + | * The new unified single mount point will be in **/mnt/media**. |
- | * To get the UUID values for the disks, use <code bash> | + | * To get the UUID values for the disks, use <code bash> |
</ | </ | ||
Line 167: | Line 192: | ||
<code bash> | <code bash> | ||
- | ls /srv/media | + | ls /mnt/media |
</ | </ | ||
Line 177: | Line 202: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | * This example assumes the original disks included into the mergerfs had those directories or files that are returned. | ||
</ | </ | ||
mergerfs/combine_multiple_hard_drives_into_a_single_mountpoint.1745914744.txt.gz · Last modified: 2025/04/29 08:19 by peter