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 [2025/08/27 23:06] Sean Rhonebsd:notes:zfs_nas_format [2025/08/29 01:22] (current) Sean Rhone
Line 1: Line 1:
 ====== ZFS ====== ====== ZFS ======
  
 +  * [[bsd:server:freebsd_14.3|FreeBSD 14.3]]
   * https://docs.freebsd.org/en/books/handbook/zfs/   * https://docs.freebsd.org/en/books/handbook/zfs/
  
Line 6: Line 7:
  
   geom disk list   geom disk list
 +
 +  gpart list
  
   zpool create 'NAS' '/dev/da0'   zpool create 'NAS' '/dev/da0'
Line 11: Line 14:
   zpool status 'NAS'   zpool status 'NAS'
  
-  '/NAS'+  zpool import 'NAS' 
 + 
 +===== NTFS Restore ===== 
 + 
 +  su - 
 + 
 +  geom disk list 
 + 
 +  gpart list 'da1' 
 + 
 +  pkg install 'fusefs-ntfs' 
 + 
 +  kldload 'fusefs' 
 + 
 +  mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro' '/dev/da1p2' '/mnt/NAS2' 
 + 
 +  cp -R -L -p '/mnt/NAS2/'* '/NAS' 
 + 
 +  sync && umount '/mnt/NAS2' 
 + 
 +==== vsftpd ==== 
 + 
 +  * [[servers:bsd:vsftpd]] 
 + 
 +  chown -R 'espionage724':'espionage724' '/NAS' && sync 
 + 
 +  chmod -R '774' '/NAS' && sync
  
 ====== NTFS ====== ====== NTFS ======
/usr/local/www/wiki/data/attic/bsd/notes/zfs_nas_format.1756350375.txt.gz · Last modified: by Sean Rhone