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/21 02:17] – Sean Rhone | bsd:notes:zfs_nas_format [2025/08/29 01:22] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ZFS ====== | ====== ZFS ====== | ||
+ | * [[bsd: | ||
* https:// | * https:// | ||
su - | su - | ||
- | zpool create ' | + | |
+ | |||
+ | gpart list | ||
+ | |||
+ | | ||
zpool status ' | zpool status ' | ||
- | ====== NTFS ====== | + | zpool import ' |
+ | |||
+ | ===== NTFS Restore | ||
su - | su - | ||
+ | |||
+ | geom disk list | ||
+ | |||
+ | gpart list ' | ||
pkg install ' | pkg install ' | ||
+ | |||
+ | kldload ' | ||
+ | |||
+ | mkdir -p '/ | ||
+ | |||
+ | cp -R -L -p '/ | ||
+ | |||
+ | sync && umount '/ | ||
+ | |||
+ | ==== vsftpd ==== | ||
+ | |||
+ | * [[servers: | ||
+ | |||
+ | chown -R ' | ||
+ | |||
+ | chmod -R ' | ||
+ | |||
+ | ====== NTFS ====== | ||
+ | |||
+ | * '' | ||
+ | * Format '' | ||
+ | * 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 - | ||
+ | |||
+ | pkg install fusefs-ntfs rsync | ||
kldload ' | kldload ' | ||
Line 26: | Line 64: | ||
NTFS_USE_UBLIO=' | NTFS_USE_UBLIO=' | ||
+ | |||
+ | ntfsfix '/ | ||
mkdir -p '/ | mkdir -p '/ | ||
+ | |||
+ | rsync --verbose --recursive --update --progress '/ | ||
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 ====== | ||
- | * ext4 | + | * '' |
+ | * Clone '' | ||
su - | su - | ||
Line 41: | Line 116: | ||
mkdir -p '/ | mkdir -p '/ | ||
- | rsync --verbose --recursive --update | + | rsync --verbose --recursive --update --progress '/ |
/usr/local/www/wiki/data/attic/bsd/notes/zfs_nas_format.1734765437.txt.gz · Last modified: by Sean Rhone