Add scripts and configuration files for mergerfs setup and testing
- Created backup files for wipefs on specific disk partitions. - Added db-test script to verify metadata.db file integrity. - Documented successful mergerfs branch and pool configurations in mfs-good.txt. - Implemented mfs write test in mfs-test.txt. - Included mergerfs version and device information in mfs.txt. - Developed rebuild scripts for mergerfs stages, including verification and filesystem creation. - Generated stage logs for each rebuild step to track disk and filesystem status. - Added checks for systemd mount requirements and filesystem verification in stage4.
This commit is contained in:
1 parent
b234845165
commit
ff5a793c75
57 files changed
+2795
No files matched your search
@@ -0,0 +1,35 @@
|
||||
D4='/dev/disk/by-id/wwn-0x5000c500fde02343'
|
||||
D8A='/dev/disk/by-id/wwn-0x5000c500e70446ad'
|
||||
D8B='/dev/disk/by-id/wwn-0x5000c500ebf2cd37'
|
||||
D6='/dev/disk/by-id/wwn-0x5000c500929c8d02'
|
||||
|
||||
echo
|
||||
echo '=== WIPE OLD LVM DRIVES ==='
|
||||
for d in "$D4" "$D8A" "$D8B" "$D6"; do
|
||||
echo "Wiping $d"
|
||||
wipefs --all --force "$d"
|
||||
|
||||
parted --script "$d" \
|
||||
mklabel gpt \
|
||||
mkpart primary ext4 1MiB 100%
|
||||
done
|
||||
|
||||
partprobe
|
||||
udevadm settle
|
||||
|
||||
echo
|
||||
echo '=== VERIFY DRIVES ==='
|
||||
lsblk -o NAME,SIZE,MODEL,SERIAL,FSTYPE
|
||||
|
||||
echo
|
||||
echo '=== BUILD FILESYSTEMS ==='
|
||||
mkfs.ext4 -m 0 -L banshee-4tb "${D4}-part1"
|
||||
mkfs.ext4 -m 0 -L banshee-8a "${D8A}-part1"
|
||||
mkfs.ext4 -m 0 -L banshee-8b "${D8B}-part1"
|
||||
mkfs.ext4 -m 0 -L banshee-6tb "${D6}-part1"
|
||||
|
||||
echo
|
||||
echo '=== VERIFY FILESYSTEMS ==='
|
||||
lsblk -f
|
||||
blkid
|
||||
|
||||
Reference in new issue
Block a user