How to configure IPFS to store data over multiple folders or mounted drives?

I have an 4-HDD ubuntu server and the drives are mounted at

/mnt/hd0
/mnt/hd1
/mnt/hd2
/mnt/hd3

Can I configure IPFS to run on these 4 folders?

Thanks in advance.

I would use LVM, Hardware RAID, or Software RAID to pool the disks together and mount them under a single mount point, and then configure that mount point as your IPFS repository.

3 Likes

May be this should turn into a feature request? given that each file fragment is no larger than 256KB then it should take very little work for IPFS to distribute them over multiple folders, in effect allowing users to “hot swap” new storage devices.