bsd:notes:rsync_nas
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bsd:notes:rsync_nas [2025/10/25 07:17] – [Format] Sean Rhone | bsd:notes:rsync_nas [2025/10/26 02:31] (current) – [Mount ext4] Sean Rhone | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * No partition table ([[linux: | + | * No partition table ([[linux: |
| su - | su - | ||
| Line 75: | Line 75: | ||
| ugen0.5: <USB2.0 Hub VIA Labs, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) | ugen0.5: <USB2.0 Hub VIA Labs, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) | ||
| ugen0.6: <USB 3.1 Device PM ASMedia Technology Inc.> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA)</ | ugen0.6: <USB 3.1 Device PM ASMedia Technology Inc.> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA)</ | ||
| + | |||
| + | ====== Wipe Drive ====== | ||
| + | |||
| + | su - | ||
| + | |||
| + | geom disk list | ||
| + | |||
| + | dd if='/ | ||
| ====== ZFS NAS ====== | ====== ZFS NAS ====== | ||
| Line 92: | Line 100: | ||
| zpool export ' | zpool export ' | ||
| - | |||
| - | ====== UFS2 NAS ====== | ||
| - | |||
| - | * 10TB Main | ||
| - | |||
| - | ===== Format ===== | ||
| - | |||
| - | su - | ||
| - | |||
| - | geom disk list | ||
| - | |||
| - | dd if='/ | ||
| - | |||
| - | newfs -L ' | ||
| ====== Disconnect Enclosure ====== | ====== Disconnect Enclosure ====== | ||
| Line 127: | Line 121: | ||
| * :!: '' | * :!: '' | ||
| - | usbconfig | + | usbconfig |
| + | |||
| + | usbconfig | grep 'SUPER (5.0Gbps)' | ||
| + | |||
| + | usbconfig | grep '< | ||
| diskinfo -t ' | diskinfo -t ' | ||
| + | |||
| + | iostat -c6 | ||
| ===== NAS1 ===== | ===== NAS1 ===== | ||
| * '' | * '' | ||
| - | |||
| - | ==== ZFS ==== | ||
| su - | su - | ||
| Line 142: | Line 140: | ||
| chown -R ' | chown -R ' | ||
| - | |||
| - | ==== UFS2 ==== | ||
| - | |||
| - | su - | ||
| - | |||
| - | geom disk list | ||
| - | |||
| - | mkdir -p '/ | ||
| - | |||
| - | chown -R ' | ||
| ===== NAS2 ===== | ===== NAS2 ===== | ||
| Line 170: | Line 158: | ||
| mkdir -p '/ | mkdir -p '/ | ||
| - | ===== 4TB Restore ===== | + | ====== 4TB Restore |
| * 4TB HDD restore to 10TB NAS drive | * 4TB HDD restore to 10TB NAS drive | ||
| - | * ZFS | ||
| * Exclude '' | * Exclude '' | ||
| - | * 2025/10/25: '' | ||
| < | < | ||
| - | * Games | + | ===== Games ===== |
| - | < | + | **** |
| - | * Music (:!: '' | + | < |
| - | < | + | ===== Music ===== |
| - | * Videos | + | * :!: ''&&'' |
| - | < | + | < |
| - | ===== 2TB USB Restore ===== | + | ===== Videos ===== |
| + | |||
| + | * :!: Only some (rest below) | ||
| + | |||
| + | < | ||
| + | |||
| + | ====== 2TB USB Restore | ||
| * Videos 2 (WD ext) | * Videos 2 (WD ext) | ||
| - | < | + | ===== Mount ===== |
| - | < | + | su - |
| - | ===== Maintenance ===== | + | geom disk list |
| - | ==== Repair ==== | + | gpart list ' |
| - | | + | |
| - | | + | |
| - | ==== Defrag | + | ===== rsync ===== |
| - | * :!: First-time seemingly takes longer than the whole 5TB+ restore | + | < |
| - | udisksctl mount --block-device | + | < |
| + | |||
| + | ====== Maintenance ====== | ||
| + | |||
| + | ===== ZFS Scrub ===== | ||
| + | |||
| + | su - | ||
| + | |||
| + | zpool import ' | ||
| + | |||
| + | zpool scrub ' | ||
| + | |||
| + | zpool status ' | ||
| + | |||
| + | zpool export 'NAS' | ||
| - | | + | |
/srv/www/wiki/data/attic/bsd/notes/rsync_nas.1761391056.txt.gz · Last modified: by Sean Rhone
