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/29 04:24] Sean Rhonebsd:notes:zfs_nas_format [2025/10/23 03:16] (current) Sean Rhone
Line 1: Line 1:
-===== NTFS USB Mount =====+====== ext4 USB Mount ====== 
 + 
 +  * No partition table ([[linux:notes:rsync_nas#format]]) 
 + 
 +  su - 
 + 
 +  geom disk list 
 + 
 +  mkdir -p '/mnt/USB1' && mount -t 'ext2fs' -o 'ro' '/dev/da0' '/mnt/USB1' 
 + 
 +  chown -R 'espionage724':'espionage724' '/mnt/USB1' 
 + 
 +====== NTFS USB Mount =====
 + 
 +  * :?: 2025/08/29: ''thunar'' seems to freeze when browsing folders related to this during file operations (possibly fuse related)
  
   su -   su -
Line 15: Line 29:
   gio open '/mnt/USB1'   gio open '/mnt/USB1'
  
-  pkill 'thunar' && sync && umount '/mnt/USB1'+  umount '/mnt/USB1
 + 
 +  kldunload 'fusefs' 
 + 
 +  usbconfig 
 + 
 +  usbconfig -d '/dev/ugen0.4' 'power_off'
  
 ====== ZFS Format ====== ====== ZFS Format ======
Line 48: Line 68:
  
   mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro' '/dev/da1p2' '/mnt/NAS2'   mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro' '/dev/da1p2' '/mnt/NAS2'
 +
 +  mkdir -p '/mnt/NAS2' && ntfs-3g -o 'ro' '/dev/da1s1' '/mnt/NAS2'
  
   cp -R -L -p '/mnt/NAS2/'* '/NAS'   cp -R -L -p '/mnt/NAS2/'* '/NAS'
  
-  sync && umount '/mnt/NAS2'+  umount '/mnt/NAS2
 + 
 +  kldunload 'fusefs' 
 + 
 +  usbconfig 
 + 
 +  usbconfig -d '/dev/ugen1.5' 'power_off'
  
-==== vsftpd ====+===== vsftpd =====
  
   * [[servers:bsd:vsftpd]]   * [[servers:bsd:vsftpd]]
Line 61: Line 89:
   chmod -R '774' '/NAS'   chmod -R '774' '/NAS'
  
-====== NTFS ======+====== NTFS Old ======
  
   * ''NAS2'' spare (wiped)   * ''NAS2'' spare (wiped)
Line 124: Line 152:
   sync && usbconfig -d '/dev/ugen0.4' power_off   sync && usbconfig -d '/dev/ugen0.4' power_off
  
-====== Clone Mount/Rsync ======+====== Clone Mount/Rsync Old ======
  
   * ''NAS2'' spare ([[linux:notes:disk_gpt_format#ext4|GPT ext4 pre-formatted]])   * ''NAS2'' spare ([[linux:notes:disk_gpt_format#ext4|GPT ext4 pre-formatted]])
/srv/www/wiki/data/attic/bsd/notes/zfs_nas_format.1756455886.txt.gz · Last modified: by Sean Rhone