Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. today in work-related fuckery, i have set up a boring-ass linux server running samba, and am attempting to use it as volume storage for our k8s cluster.

today in work-related fuckery, i have set up a boring-ass linux server running samba, and am attempting to use it as volume storage for our k8s cluster.

Scheduled Pinned Locked Moved Uncategorized
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dave@rascalking.comD This user is from outside of this forum
    dave@rascalking.comD This user is from outside of this forum
    dave@rascalking.com
    wrote last edited by
    #1

    today in work-related fuckery, i have set up a boring-ass linux server running samba, and am attempting to use it as volume storage for our k8s cluster.  partly because i'm going to use it as volume storage after i've moved us to docker swarm, and partly because of the clock skew-related issues we had with on-cluster storage.

    so, i have done basic "poke it and see if it works" tests, and moved on to running our staging instances against it.  everything is happy except for one service that has this teeny tiny db with no exaggeration a single column a single row in a single table.  we're just storing a string.  which naturally i'm just using sqlite for.  i am getting disk i/o errors trying to open the db.

    friends, it turns out that sqlite really super duper does not like running on a smb/cifs share.

    dave@rascalking.comD 1 Reply Last reply
    0
    • dave@rascalking.comD dave@rascalking.com

      today in work-related fuckery, i have set up a boring-ass linux server running samba, and am attempting to use it as volume storage for our k8s cluster.  partly because i'm going to use it as volume storage after i've moved us to docker swarm, and partly because of the clock skew-related issues we had with on-cluster storage.

      so, i have done basic "poke it and see if it works" tests, and moved on to running our staging instances against it.  everything is happy except for one service that has this teeny tiny db with no exaggeration a single column a single row in a single table.  we're just storing a string.  which naturally i'm just using sqlite for.  i am getting disk i/o errors trying to open the db.

      friends, it turns out that sqlite really super duper does not like running on a smb/cifs share.

      dave@rascalking.comD This user is from outside of this forum
      dave@rascalking.comD This user is from outside of this forum
      dave@rascalking.com
      wrote last edited by
      #2

      so now i get to see if there's a workaround with database options in django or something.  and if not, i get to run down a long list of shitty alternatives and decide the least shitty approach for this, which may very well be a plaintext file on disk and fucking flock().

      dave@rascalking.comD 1 Reply Last reply
      0
      • dave@rascalking.comD dave@rascalking.com

        so now i get to see if there's a workaround with database options in django or something.  and if not, i get to run down a long list of shitty alternatives and decide the least shitty approach for this, which may very well be a plaintext file on disk and fucking flock().

        dave@rascalking.comD This user is from outside of this forum
        dave@rascalking.comD This user is from outside of this forum
        dave@rascalking.com
        wrote last edited by
        #3

        fine, i'll switch to using nfs.


        but i'm not gonna like it.

        tzz@infosec.exchangeT 1 Reply Last reply
        0
        • dave@rascalking.comD dave@rascalking.com

          fine, i'll switch to using nfs.


          but i'm not gonna like it.

          tzz@infosec.exchangeT This user is from outside of this forum
          tzz@infosec.exchangeT This user is from outside of this forum
          tzz@infosec.exchange
          wrote last edited by
          #4

          @dave it’s fine. It’s fine. You could do worse than NFS.

          1 Reply Last reply
          1
          0
          • R relay@relay.infosec.exchange shared this topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups