My question is with regards to the STORAGE value, I have attached an 8TB USB disk to the pc which is running Ubuntu server 18.04 and if I run df -h i get the following:
Also as this drive has just been formatted why has the storage dropped to 6.9TB from 7.3TB; it’s literally empty apart from a Lost+Found folder which is only 16 K?
What file system? If ext2/3/4, then it reserves 5% of disk space for root. It’s pretty much an outdated practice except for the root file system and can be dealt with using tune2fs.
8TB drives in fact have 7.3 TB … i dont wanna start the explication process you can search that on google … you have 6.9 because linux lets some unused space on every drive for root backups … you can win that space by formating the hard drive … here is a script i customized that u can use , just add to a file … HARD in my case that script chmod +x HARD and use it … in your chase ./HARD b1 will format and prepare your drive (carefull this will erase everything on /dev/sdb1 ) you will see your full 7.2-7.3 TB after …
That’s included in the free space. Reserved for root means reserved for root, not unavailable: if free space drops under 5% only root can use that space.
The storage amount which is not available is used by the file system for superblocks backups, journal, etc.
I would never remove the journal on a file system, specially if used for a service like Storj: in my opinion file system integrity is more important than a bunch of additional MBs.
its your opinion and it’s wrong … because you didn’t read all … if you go up you will see he attached an external drive … had nothing to do with file system, the OS is installed on another drive probably SSD as it should … but anyway … opinions are always welcome …
I didn’t mention the OS, if you can tell me where I mentioned the OS I would be graceful.
Moreover: how you can say that an external drive has nothing to do with file system???
Here you’re missing the source directory. And I would recommend not to use the mount point and rather create a sub directory on the external disk. This way the storagenode will not start without the disk being mounted, which would lead to a quick disqualification otherwise. And if possible you should use internal disks directly connected to a SATA port.