Hive history: Difference between revisions
No edit summary |
|||
Line 26: | Line 26: | ||
=== Installed to HIVE VM on melange proxmox === | === Installed to HIVE VM on melange proxmox === |
Revision as of 14:29, 2 April 2022
- seven new 1 tb crucial drives and serial numbers:
- Need to remove SN S1DBNSAF215837R (done)
Original drives, now all reformatted or dead...
/dev/sdh1: LABEL="hare-s3-4t" UUID="b1859924-f309-4940-bced-06274567c0cf" /dev/sda1: LABEL="macatak-1tb-ssd" UUID="08c0ca8c-4325-47ac-8173-1e0f78377e66" /dev/sdc1: LABEL="bold-250gb-ssd" UUID="39c4f3ef-6df8-4a9f-967b-8fff7f6b09af" /dev/sde1: LABEL="mello-250gb-ssd" UUID="323c424b-0741-4479-a863-9994a092f04a" /dev/sdb1: LABEL="rosewill-2tb-hd" UUID="a7fa0b5a-6fdc-4459-be54-c5f5b43a4758" /dev/sdf1: LABEL="blah-2tb-hd" UUID="d83fad9e-9bac-4186-bf13-8eae64266be9" /dev/sdd1: LABEL="reservoir-3tb-hd" UUID="9c1573d4-398a-4edc-a52f-05076124c3b6" /dev/sdg1: LABEL="sans-1.5tb-hd" UUID="459ee65f-ec5a-4c0c-80bf-f024a69ee9b7"
Seems good for now! I can access them from elsewhere with this /etc/fstab goo:
# MDM FreeNAS has arrived //hive/sassy /spiceflow/sassy cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto 0 0 //hive/mack /spiceflow/mack cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto 0 0 //hive/sans /spiceflow/sans cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto 0 0 //hive/splat /spiceflow/splat cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto 0 0 //hive/reservoir /spiceflow/reservoir cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto 0 0
Installed to HIVE VM on melange proxmox
Set up pools
I didn't want to lose storage on the shitty pile of drives I started with, so I set up three drives as standalone striped pools, and 2 sets of pairs as striped pools. That means no loss of storage and no safety AT ALL except that striping will tell me AFTER they've started going bad, bahahaha. I need to spend $3k on 10 ssd NAS drives to get to a better place. Not now.
Set up datastores
It seems I had to set up datastores under my pool root datastores, just so I could add ACL settings to give complete control to the m Samba user. I used the root name with a -ds suffix. I set sharing to SMB. I set the ACL to @owner m:m. Make sure to keep the ACL set to Basic, it's easy to screw up and once you do, files on the system will have screwed up permissions and you might have to fix and apply permissions recursively.
Set up user
I set up m user (1000) and m group (1000)
I set up shares for each of the ACL datastores.
Later plans
Get a bunch (7 or 10?)_of similar ssds and set up a robust raid2z NFS pool. Gonna cost a couple thousand, look for a NAS drive deal.
Right now, the price is high, everything good is at least $100/1TB, and I need a good 40TB to get 30TB of robust storage.