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/05/21 23:59] 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/
- 
-  * ''NAS'' main (blank) 
-  * ZFS'd 
  
   su -   su -
  
-  zpool create 'NAS' '/dev/ada1'+  geom disk list 
 + 
 +  gpart list 
 + 
 +  zpool create 'NAS' '/dev/da0'
  
   zpool status 'NAS'   zpool status '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.1747886387.txt.gz · Last modified: by Sean Rhone