adijay 0 Posted October 7, 2017 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
Luke 42078 Posted October 7, 2017 Posted October 7, 2017 Hi, can you look at what is inside of them? Thanks.
Okeur75 7 Posted December 1, 2017 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.
dcrdev 255 Posted December 1, 2017 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
Okeur75 7 Posted December 1, 2017 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 ?
dcrdev 255 Posted December 1, 2017 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.
Okeur75 7 Posted December 3, 2017 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.
Luke 42078 Posted December 3, 2017 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.
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