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] – Sean Rhone | bsd:notes:rsync_nas [2025/11/06 19:47] (current) – [Wipe Drive] Sean Rhone | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * No partition table ([[linux: | + | * No partition table ([[linux: |
| su - | su - | ||
| Line 72: | Line 72: | ||
| ===== Reference ===== | ===== Reference ===== | ||
| - | < | + | < |
| + | ugen0.4: <USB3.1 Hub VIA Labs, Inc.> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) | ||
| 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)</ | ||
| - | ====== ZFS NAS ====== | + | ===== Alira ===== |
| - | | + | |
| - | * 10TB Main | + | |
| - | | + | |
| - | | + | |
| - | zpool create ' | + | < |
| + | ugen1.2: <USB3.1 Hub VIA Labs, Inc.> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) | ||
| + | ugen1.3: <USB2.0 Hub VIA Labs, Inc.> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) | ||
| + | ugen1.4: <USB 3.1 Device PM ASMedia Technology Inc.> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA)</code> | ||
| - | zpool status ' | + | ====== Wipe Drive ====== |
| - | | + | |
| - | | + | |
| - | ====== UFS2 NAS ====== | + | gpart destroy -F ' |
| - | | + | |
| - | ===== Format | + | ====== ZFS NAS ====== |
| - | * '' | + | * https:// |
| - | * :!: '' | + | * 10TB Main |
| su - | su - | ||
| Line 106: | Line 109: | ||
| geom disk list | geom disk list | ||
| - | | + | |
| - | | + | |
| + | |||
| + | zpool import | ||
| + | |||
| + | zpool export | ||
| ====== Disconnect Enclosure ====== | ====== Disconnect Enclosure ====== | ||
| Line 130: | Line 137: | ||
| * :!: '' | * :!: '' | ||
| - | usbconfig | + | usbconfig |
| + | |||
| + | usbconfig | grep 'SUPER (5.0Gbps)' | ||
| diskinfo -t ' | diskinfo -t ' | ||
| + | |||
| + | iostat -c6 | ||
| ===== NAS1 ===== | ===== NAS1 ===== | ||
| * '' | * '' | ||
| - | |||
| - | ==== ZFS ==== | ||
| su - | su - | ||
| Line 145: | Line 154: | ||
| chown -R ' | chown -R ' | ||
| - | |||
| - | ==== UFS2 ==== | ||
| - | |||
| - | su - | ||
| - | |||
| - | geom disk list | ||
| - | |||
| - | mkdir -p '/ | ||
| - | |||
| - | chown -R ' | ||
| ===== NAS2 ===== | ===== NAS2 ===== | ||
| Line 173: | Line 172: | ||
| 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) | ||
| + | |||
| + | < | ||
| + | |||
| + | ===== Etc ===== | ||
| + | |||
| + | * :!: Covers games pictures and anything else caught in above excludes | ||
| + | |||
| + | < | ||
| + | |||
| + | ====== 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.1761391027.txt.gz · Last modified: by Sean Rhone
