Update mergerfs + snapraid
@@ -41,7 +41,7 @@
|
|||||||
```
|
```
|
||||||
while read DEVICE COMMENT; do
|
while read DEVICE COMMENT; do
|
||||||
|
|
||||||
MP=/mnt/storage/data/${DEVICE};
|
MP=/mnt/storage/disks/${DEVICE};
|
||||||
echo $(date '+%F %T') Creating mountpoint ${MP};
|
echo $(date '+%F %T') Creating mountpoint ${MP};
|
||||||
mkdir -p ${MP};
|
mkdir -p ${MP};
|
||||||
chown root:root ${MP};
|
chown root:root ${MP};
|
||||||
@@ -53,7 +53,7 @@ hdd01-10T-WD-BC0AV53J
|
|||||||
hdd02-10T-ZA2BNCBQ #sinkbak
|
hdd02-10T-ZA2BNCBQ #sinkbak
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
setfattr -n user.mergerfs.branch_mounts_here /mnt/storage/data;
|
setfattr -n user.mergerfs.branch_mounts_here /mnt/storage/disks;
|
||||||
```
|
```
|
||||||
### Formatando https://trapexit.github.io/mergerfs/latest/config/branches/#formatting
|
### Formatando https://trapexit.github.io/mergerfs/latest/config/branches/#formatting
|
||||||
```
|
```
|
||||||
@@ -64,8 +64,8 @@ mkfs.xfs -L ZA2BNCBQ /dev/sdc
|
|||||||
```
|
```
|
||||||
#/etc/fstab
|
#/etc/fstab
|
||||||
# <file system> <mount point> <type> <options> <dump> <pass>
|
# <file system> <mount point> <type> <options> <dump> <pass>
|
||||||
LABEL=WD-BC0AV53J /mnt/storage/data/hdd01-10T-WD-BC0AV53J auto nofail 0 2
|
LABEL=WD-BC0AV53J /mnt/storage/disks/hdd01-10T-WD-BC0AV53J auto nofail 0 2
|
||||||
LABEL=ZA2BNCBQ /mnt/storage/data/hdd02-10T-ZA2BNCBQ auto nofail 0 2
|
LABEL=ZA2BNCBQ /mnt/storage/disks/hdd02-10T-ZA2BNCBQ auto nofail 0 2
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
mount -a
|
mount -a
|
||||||
|
|||||||
Reference in New Issue
Block a user