Hive: Difference between revisions

From Bitpost wiki
Line 18: Line 18:
* update all my code on softraid; remove both the old softraid drives and give dan for offsite backup
* update all my code on softraid; remove both the old softraid drives and give dan for offsite backup
* move tv-mind, film to safe and grim, remove drives
* move tv-mind, film to safe and grim, remove drives
== Overview ==
FreeNAS provides storage via Pools.  A pool is a bunch of raw drives gathered and managed as a set.  My pools are one of these:
* single drive: no FreeNAS advantage other than health checks
* raid1 pair: mirrored drives give normal write speeds, fast reads, single-fail redundancy, costs half of storage potential
* raid0 pair: striped drives gives fast writes, normal reads, no redundancy, no storage cost
* raid of multiple drives: FreeNAS optimization of read/write speed, redundancy, storage potential
The three levels of raid are:
* raidz: one drive is consumed just for parity (no data storage, ie you only get (n-1) storage total), and one drive can be lost without losing any data; fastest
* raidz2: two drives for parity, two can be lost
* raidz3: three drives for parity, three can be lost; slowest


== Pools ==
== Pools ==

Revision as of 14:10, 2 April 2022

TODO

DONE: copy bitpost/softraid/* to safe/ > ALWAYS USE safe/projects ETC NOW

  • set up cron to pull all repos to safe/ every night
  • mack: move mack data to safe, remove torrent symlinks, update windoze mapped drive and kodi
  • reservoir: move reservoir data to safe, fix torrent symlinks, update kodi
  • sassy: stop rtorrent, move sassy to safe, update edit_torrent_shows links, update torrent symlinks, update all SharedDownload folders (via mh-setup-samba!)
  • splat has tons of tv on it, won't fit on safe - move to grim? YES, update edit_torrent_shows links, update torrent symlinks

safe should now be pretty full...

  • remove mack, sassy, splat, reservoir drives
  • continue migration until we have 7 slots free (16 - 7 safe - 2 grim)
  • add 7-8 new BIG ssds in new raidz array
  • rinse and repeat
  • update all my code on softraid; remove both the old softraid drives and give dan for offsite backup
  • move tv-mind, film to safe and grim, remove drives

Pools

  • Drives
Pool Capacity Type Drives
sassy 0.2 TB single 250GB ssd
splat 3.6 TB raid0 1.82 TB hdd x2
mack 0.9 TB single 1 TB ssd
reservoir 2.7 TB single 2.73 TB hdd
grim 7.2 TB raid0 3.64 TB ssd x2
safe 6 TB raidz 1 TB ssd x7

Datasets

Every pool should have one dataset. This is where we set the permissions, important for SAMBA access.

Dataset settings:

name #pool#-ds
share type SMB
user m
group m
ACL
 who everyone@
 type Allow
 Perm type Basic
 Perm Full control
 Flags type Basic
 Flags Inherit

Windows SMB Shares

Share each dataset as a Samba share under:

Sharing > Windows Shares (SMB)

Use the pool name for the share name.

Use the same ACL as for the dataset.

Hardware

  • LSI 8-drive SAS board passed through proxmox to hive as "PCI Device":

Melange-LSI-board.png

  • 7 1 TB Crucial SSDs

Plugged in to SATA 1, 2, 3 and U.2 1, 2, 3, 4. NOTE: to get U.2 drives to be recognized by Melange ASUS mobo required a BIOS change:

Bios > advanced > onboard devices config > U.2 mode (bottom) > SATA (NOT PCI-E)

Hive history