{"action":"created","issue":{"url":"https://api.github.com/repos/trapexit/mergerfs/issues/102","labels_url":"https://api.github.com/repos/trapexit/mergerfs/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/trapexit/mergerfs/issues/102/comments","events_url":"https://api.github.com/repos/trapexit/mergerfs/issues/102/events","html_url":"https://github.com/trapexit/mergerfs/issues/102","id":100511987,"number":102,"title":"Keep related files together on the same physical drive?","user":{"login":"hugepants","id":4482452,"avatar_url":"https://avatars.githubusercontent.com/u/4482452?v=3","gravatar_id":"","url":"https://api.github.com/users/hugepants","html_url":"https://github.com/hugepants","followers_url":"https://api.github.com/users/hugepants/followers","following_url":"https://api.github.com/users/hugepants/following{/other_user}","gists_url":"https://api.github.com/users/hugepants/gists{/gist_id}","starred_url":"https://api.github.com/users/hugepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugepants/subscriptions","organizations_url":"https://api.github.com/users/hugepants/orgs","repos_url":"https://api.github.com/users/hugepants/repos","events_url":"https://api.github.com/users/hugepants/events{/privacy}","received_events_url":"https://api.github.com/users/hugepants/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T10:17:36Z","updated_at":"2015-08-14T13:44:48Z","closed_at":null,"body":"Thanks for making this useful tool.\r\n\r\nI use Kodi (in OpenELEC) so I intend to use mergerfs with the options `category.search=newest` for fasthash scanning and `defaults` for best performance.\r\n\r\nExample structure of my files on [physical drives]:\r\n\r\n[drive1]\r\n`/movies/movie1`\r\n`/movies/movie1/movie.mkv`\r\n`/movies/movie1/movie.jpg`\r\n`/movies/movie1/movie.sub`\r\n\r\n`/movies/movie2`\r\n`/movies/movie2/movie.mkv`\r\n`/movies/movie2/movie.jpg`\r\n`/movies/movie2/movie.sub`\r\n\r\n[drive2]\r\n`/movies/movie200`\r\n`/movies/movie200/movie.mkv`\r\n`/movies/movie200/movie.jpg`\r\n\r\nIf I later add a subtitle file to the pool for movie200 named movie.sub, is there a way to ensure that this file is stored on the same physical drive for movie200 alongside its movie.mkv and movie.jpg (i.e. [drive2]), if there is available space for it?\r\n\r\nIn mhddfs, if there is space available in [drive1], it will store the movie.sub file in [drive1] `/movies/movie200/movie.sub`, but I would prefer for it to be stored in [drive2] alongside the other files for movie200.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/trapexit/mergerfs/issues/comments/131109418","html_url":"https://github.com/trapexit/mergerfs/issues/102#issuecomment-131109418","issue_url":"https://api.github.com/repos/trapexit/mergerfs/issues/102","id":131109418,"user":{"login":"trapexit","id":197676,"avatar_url":"https://avatars.githubusercontent.com/u/197676?v=3","gravatar_id":"","url":"https://api.github.com/users/trapexit","html_url":"https://github.com/trapexit","followers_url":"https://api.github.com/users/trapexit/followers","following_url":"https://api.github.com/users/trapexit/following{/other_user}","gists_url":"https://api.github.com/users/trapexit/gists{/gist_id}","starred_url":"https://api.github.com/users/trapexit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trapexit/subscriptions","organizations_url":"https://api.github.com/users/trapexit/orgs","repos_url":"https://api.github.com/users/trapexit/repos","events_url":"https://api.github.com/users/trapexit/events{/privacy}","received_events_url":"https://api.github.com/users/trapexit/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T13:44:48Z","updated_at":"2015-08-14T13:44:48Z","body":"That should be the default behavior. `epmfs` (existing path, most free space) policy for the `create` category is that."}}