Question about fstab and virtualbox

Hello,

I’m actually looking for informations for install a storj node on my server.

It’s running under Linux, with virtual box installed on it for virtualization (Nexcloud in particular).

The OS virtualized OS data folder is hosted on the server (not in the virtual OS), shared with Samba, and mounted in virtual box with fstab :

//192.168.X.X/NextCloud /mnt/NextCloud cifs ,_netdev,users,auto,users,credentials=/home/rc36/Progs/.password,uid=www-data,gid=www-data,vers=1.0 0 0

That is to say the folder is mounted via fstab, but whitout UUID like asked in the documentation : is it a problem for storj?

Another thing, in nexcloud the data folder need absolutly www-data like user and group : did storj also need a special user name, or just the rights for read and write ?

Thank’s !

Cifs is a big problem, you can lose your storj databases.
I strongly recommend not using remote storage via cifs,nfs. Only local storage and iscsi working well with SQLite databases.

1 Like

Hello,

I didn’t know iscsi, thank’s for this solution.

I looked at this today, and it seem to work finely.
But in fstabd, except if I missed something, it’s not possible to mount the HDD with his UUID, just with something like /dev/sdb1.
Is it a problem with storj?

It could be a problem for you, if your system renames paths for drives after reboot or disconnect. Your drive will disappear and system could not boot

Try to figure out UUID for your HDD partition:

blkid

I finally found how mount the HDD in fstab with a UUID.

If it can help somebody, for the ISCSI I used this tutorial :

ISCSI storage on ubuntu 18.04