romanrmr
By:
romanrmr

Does Digital Ocean use NFS as a file system for its VPSs? (SQLite doesn't work with NFS)

November 14, 2015 1.1k views
DigitalOcean

Does anybody here know for sure if Digital Ocean use NFS as a file system for its VPSs? I am asking this because I like to use SQLite for my websites, and SQlite isn't guaranteed to work correctly on NFS "because fcntl() file locking is broken on many NFS implementations" [https://www.sqlite.org/faq.html]

2 Answers

@romanrmr

I've used SQLite (connecting through PHP's PDO library) on multiple occasions without any issues. I'm not able to confirm what method of storage they use, though I believe I recall (from a previous post or answer to a feedback thread in their UserVoice community) that storage is local.

  • Correct. The droplets' filesystems reside locally on the hypervisors -- we're not using NFS :)

    • @kamaln7

      Thanks for the confirmation :-).

    • hi , consider the following situation

      1)I configure a droplet with blockstorage attached.
      2)I place an sqlite file in the block storage and if read, write the sqlite file from my application(nodejs) in the droplet will the changes be persisted?

      3)or Can I keep the file in the droplet itself (since it is cloud will it allow me to read/write)?

      which is the best solution?

Thank you, both, for the answer. It was important.

Have another answer? Share your knowledge.