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 [2025/08/29 04:07] – Sean Rhone | bsd:notes:zfs_nas_format [2025/10/23 03:16] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | * [[bsd:server:freebsd_14.3|FreeBSD 14.3]] | + | * No partition table ([[linux:notes:rsync_nas# |
- | * https:// | + | |
su - | su - | ||
Line 8: | Line 7: | ||
geom disk list | geom disk list | ||
- | | + | |
- | | + | |
- | zpool status ' | + | ====== NTFS USB Mount ====== |
- | | + | |
- | + | ||
- | ===== NTFS Restore ===== | + | |
su - | su - | ||
Line 22: | Line 19: | ||
geom disk list | geom disk list | ||
- | gpart list 'da1' | + | gpart list 'da0' |
pkg install ' | pkg install ' | ||
Line 28: | Line 25: | ||
kldload ' | kldload ' | ||
- | mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro' '/dev/da1p2' '/mnt/NAS2' | + | mkdir -p '/mnt/USB1' && ntfs-3g -o 'rw, |
- | | + | |
- | | + | umount '/mnt/USB1' |
- | ==== vsftpd ==== | + | kldunload ' |
- | | + | |
- | | + | |
- | chmod -R ' | + | ====== ZFS Format ====== |
- | ===== NTFS USB ===== | + | * [[bsd: |
+ | * https:// | ||
+ | * :!: TODO: Check if auto-mounted on reboot for vsftpd | ||
su - | su - | ||
Line 48: | Line 47: | ||
geom disk list | geom disk list | ||
- | gpart list ' | + | gpart list |
+ | |||
+ | zpool create | ||
+ | |||
+ | zpool status ' | ||
+ | |||
+ | zpool import ' | ||
+ | |||
+ | ===== NTFS USB Restore ===== | ||
+ | |||
+ | su - | ||
+ | |||
+ | geom disk list | ||
+ | |||
+ | gpart list 'da1' | ||
pkg install ' | pkg install ' | ||
Line 54: | Line 67: | ||
kldload ' | kldload ' | ||
- | mkdir -p '/mnt/USB1' && ntfs-3g -o ' | + | mkdir -p '/mnt/NAS2' && ntfs-3g -o ' |
- | | + | |
+ | |||
+ | cp -R -L -p '/ | ||
+ | |||
+ | umount '/ | ||
+ | |||
+ | kldunload ' | ||
+ | |||
+ | usbconfig | ||
+ | |||
+ | usbconfig -d '/ | ||
+ | |||
+ | ===== vsftpd ===== | ||
+ | |||
+ | * [[servers: | ||
+ | |||
+ | chown -R ' | ||
- | | + | |
- | ====== NTFS ====== | + | ====== NTFS Old ====== |
* '' | * '' | ||
Line 123: | Line 152: | ||
sync && usbconfig -d '/ | sync && usbconfig -d '/ | ||
- | ====== Clone Mount/Rsync ====== | + | ====== Clone Mount/ |
* '' | * '' |
/srv/www/wiki/data/attic/bsd/notes/zfs_nas_format.1756454836.txt.gz · Last modified: by Sean Rhone