adijay 0 Posted October 7, 2017 Share Posted October 7, 2017 Hi there! I have my emby server set up on a headless Linux server on a Debian Jessie distro. First of all, can anyone explain me why emby creates /dev/loop temporary "partitions" ? They are all between 4 and 7 GB. Is it for cache? Is it normal that those "partitions" are created although emby server is not accessed? Thank you Link to comment Share on other sites More sharing options...
Luke 37180 Posted October 7, 2017 Share Posted October 7, 2017 Hi, can you look at what is inside of them? Thanks. Link to comment Share on other sites More sharing options...
Okeur75 6 Posted December 1, 2017 Share Posted December 1, 2017 Hey, sorry but I was wondering the same question, so here is the answer for Luke. I have /dev/loop0 mounted to /tmp/Emby/a[some hexa] and /dev/loop1 mounted on /tmp/emby/b[some hexa] Directory tree looks like this: #tree /tmp/Emby/ /tmp/Emby/ ├── a9c92dbe-5a3f-4241-97ed-80d2b52d92c8 │ ├── AUDIO_TS │ └── VIDEO_TS │ ├── VIDEO_TS.BUP │ ├── VIDEO_TS.IFO │ ├── VIDEO_TS.VOB │ ├── VTS_01_0.BUP │ ├── VTS_01_0.IFO │ ├── VTS_01_0.VOB └── b06917a3-f11b-4aa8-97bc-ba894f3d907e ├── AUDIO_TS └── VIDEO_TS ├── VIDEO_TS.BUP ├── VIDEO_TS.IFO ├── VIDEO_TS.VOB ├── VTS_01_0.BUP ├── VTS_01_0.IFO ├── VTS_01_0.VOB These folders are full and do not flush. Also files and directories belong to nobody/nogroup with read-only rights. Is it some kind of temporary folder that should be flushed ? I restarted emby and it does not change. Link to comment Share on other sites More sharing options...
Luke 37180 Posted December 1, 2017 Share Posted December 1, 2017 do you have .iso files in your library? Link to comment Share on other sites More sharing options...
dcrdev 251 Posted December 1, 2017 Share Posted December 1, 2017 (edited) Yeah loop devices are used for mounting files as block devices, considering the above directory structure and content I'd say that's a dvd iso. Nothing to do with cache and or memory consumption. Edited December 1, 2017 by dcrdev Link to comment Share on other sites More sharing options...
Okeur75 6 Posted December 1, 2017 Share Posted December 1, 2017 Hmmm I thought not but I have few yes (11) Link to comment Share on other sites More sharing options...
Okeur75 6 Posted December 1, 2017 Share Posted December 1, 2017 Yeah loop devices are used for mounting files as block devices, considering the above directory structure and content I'd say that's a dvd iso. Nothing to do with cache and or memory consumption. Ok thank you. But why it is not cleaned when the movie is watched, or the server is restarted ? Link to comment Share on other sites More sharing options...
dcrdev 251 Posted December 1, 2017 Share Posted December 1, 2017 Ok thank you. But why it is not cleaned when the movie is watched, or the server is restarted ? The only reason the kernel wouldn't deactivate them is if they are still mounted. I don't know how Emby ISO support works - so can't comment. Link to comment Share on other sites More sharing options...
Okeur75 6 Posted December 3, 2017 Share Posted December 3, 2017 Ok so I just unmounted these 2 since a reboot of Emby did not change anything. And I removed the ISO from the library so it won't happen again. Link to comment Share on other sites More sharing options...
Luke 37180 Posted December 3, 2017 Share Posted December 3, 2017 It might be time to remove server-side iso mounting. first of all it requires sudo which makes it impractical for most. and secondly it's just not getting enough testing these days which means that little quirks like this are bound to happen. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now