bsd:notes:zfs_nas_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bsd:notes:zfs_nas_format [2024/12/22 00:25] – [NTFS] Sean Rhone | bsd:notes:zfs_nas_format [2025/08/29 01:22] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ZFS ====== | ====== ZFS ====== | ||
+ | * [[bsd: | ||
* https:// | * https:// | ||
- | |||
- | * NAS main (blank) | ||
- | * ZFS'd | ||
su - | su - | ||
- | zpool create ' | + | |
+ | |||
+ | gpart list | ||
+ | |||
+ | | ||
zpool status ' | zpool status ' | ||
+ | |||
+ | zpool import ' | ||
+ | |||
+ | ===== NTFS Restore ===== | ||
+ | |||
+ | su - | ||
+ | |||
+ | geom disk list | ||
+ | |||
+ | gpart list ' | ||
+ | |||
+ | pkg install ' | ||
+ | |||
+ | kldload ' | ||
+ | |||
+ | mkdir -p '/ | ||
+ | |||
+ | cp -R -L -p '/ | ||
+ | |||
+ | sync && umount '/ | ||
+ | |||
+ | ==== vsftpd ==== | ||
+ | |||
+ | * [[servers: | ||
+ | |||
+ | chown -R ' | ||
+ | |||
+ | chmod -R ' | ||
====== NTFS ====== | ====== NTFS ====== | ||
- | * NAS2 spare (wiped) | + | * '' |
- | * Format NAS2 spare to NTFS | + | * Format |
- | * Clone NAS main (ZFS) to NAS2 spare (NTFS) | + | * Clone '' |
+ | * :!: This formatted a 4TB drive with 2TB + rest split and isn't usable under Windows ((Windows shows unpartitioned volumes; Linux sees 4TB 1 partition fine)) | ||
su - | su - | ||
Line 41: | Line 72: | ||
cp -R -v '/ | cp -R -v '/ | ||
+ | |||
+ | ===== Other Backup ===== | ||
+ | |||
+ | * TODO: misc | ||
+ | |||
+ | su - | ||
+ | |||
+ | kldload ' | ||
+ | |||
+ | gpart list | ||
+ | |||
+ | mkdir -p '/ | ||
+ | |||
+ | gio open '/ | ||
+ | |||
+ | sync && umount '/ | ||
+ | |||
+ | pkill ' | ||
+ | |||
+ | ==== OS dd ==== | ||
+ | |||
+ | * TODO: misc | ||
+ | |||
+ | su - | ||
+ | |||
+ | geom disk list | ||
+ | |||
+ | gpart destroy -F ' | ||
+ | |||
+ | dmesg | grep ' | ||
+ | |||
+ | sync && usbconfig -d '/ | ||
====== Clone Mount/Rsync ====== | ====== Clone Mount/Rsync ====== | ||
- | * NAS2 spare (ext4 pre-formatted) | + | * '' |
- | * Clone NAS2 spare (ext4) | + | * Clone '' |
su - | su - |
/usr/local/www/wiki/data/attic/bsd/notes/zfs_nas_format.1734845156.txt.gz · Last modified: by Sean Rhone