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:30] – Sean Rhone | bsd:notes:zfs_nas_format [2025/08/29 01:22] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ZFS ====== | ====== ZFS ====== | ||
+ | * [[bsd: | ||
* https:// | * https:// | ||
- | |||
- | * '' | ||
- | * 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 ====== | ||
Line 17: | Line 47: | ||
* Format '' | * Format '' | ||
* Clone '' | * 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 ====== |
/usr/local/www/wiki/data/attic/bsd/notes/zfs_nas_format.1734845448.txt.gz · Last modified: by Sean Rhone