User Tools

Site Tools


bsd:notes:zfs_nas_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:zfs_nas_format [2024/12/22 00:25] Sean Rhonebsd:notes:zfs_nas_format [2025/05/21 23:59] (current) Sean Rhone
Line 3: Line 3:
   * https://docs.freebsd.org/en/books/handbook/zfs/   * https://docs.freebsd.org/en/books/handbook/zfs/
  
-  * NAS main (blank)+  * ''NAS'' main (blank)
   * ZFS'd   * ZFS'd
  
Line 14: Line 14:
 ====== NTFS ====== ====== NTFS ======
  
-  * NAS2 spare (blank+  * ''NAS2'' spare (wiped
-  * Format NAS2 spare to NTFS +  * Format ''NAS2'' spare to NTFS 
-  * Clone NAS main (ZFS) to NAS2 spare (NTFS)+  * Clone ''NAS'' main (ZFS) -> ''NAS2'' spare (NTFS
 +  * :!: 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 42:
  
   cp -R -v '/NAS/' '/mnt/NAS2/'   cp -R -v '/NAS/' '/mnt/NAS2/'
 +
 +===== Other Backup =====
 +
 +  * TODO: misc
 +
 +  su -
 +
 +  kldload 'fusefs'
 +
 +  gpart list
 +
 +  mkdir -p '/mnt/NAS' && ntfs-3g -o 'rw,big_writes,windows_names' '/dev/da0p2' '/mnt/NAS'
 +
 +  gio open '/mnt/NAS'
 +
 +  sync && umount '/mnt/NAS'
 +
 +  pkill 'thunar'
 +
 +==== OS dd ====
 +
 +  * TODO: misc
 +
 +  su -
 +
 +  geom disk list
 +
 +  gpart destroy -F 'da0' && dd if='/dev/zero' of='/dev/da0' count='8096'
 +
 +  dmesg | grep 'ugen'
 +
 +  sync && usbconfig -d '/dev/ugen0.4' power_off
  
 ====== Clone Mount/Rsync ====== ====== Clone Mount/Rsync ======
  
-  * NAS2 spare (ext4 pre-formatted) +  * ''NAS2'' spare ([[linux:notes:disk_gpt_format#ext4|GPT ext4 pre-formatted]]
-  * Clone NAS2 spare (ext4) to NAS main (ZFS)+  * Clone ''NAS2'' spare (ext4) -> ''NAS'' main (ZFS)
  
   su -   su -
/srv/www/wiki/data/attic/bsd/notes/zfs_nas_format.1734845107.txt.gz · Last modified: by Sean Rhone