Jump to content

Emby Loop


adijay

Recommended Posts

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

  • 1 month later...

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

dcrdev

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 by dcrdev
Link to comment
Share on other sites

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

dcrdev

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...