|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
FAILED mounting ISO image
Some, but not all of my iso ripped DVDs are not being picked up when I Scan Imported Media. Looking at the log file, I am getting the message "FAILED mounting ISO image". Here is a snippet from the log:
Sun 9/10 17:09:21.443 [LibraryImporter@5246ca7d] testFile=Disc 01.iso The iso file mounts properly in Windows 10, and I can see the VIDEO_TS subdirectory with all of the vob files, etc. Any suggestions?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#2
|
||||
|
||||
The wrong fs type is key here. Basically the mount command is using a default files system for isos (maybe iso9660 or something like that). In googling, it seems that some dvds might require udf. I think that the mounting logic might need to try the default, as it does not, and if that fails, then try -t udf OR -t auto. I'd open a bug, bug, when someone works on this, they might need to get a dvd.iso in order to test it out (or have you accept Sage.jar updates to test).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Thanks for the info, Sean. I did compare the file systems with PowerISO for iso's that imported successfully and iso's that did not import successfully, there is no difference according to PowerISO.
Running a few tests gives me additional interesting results. If I rename a file that did not import successfully, then run "Scan Imported Media" in Sage, rename the file back, and run "Scan Imported Media" in Sage again, the file imports properly. Which tells me that the problem may not lie in the iso file at all. When I look at the Sage log, it appears that the way that Sage determines whether a given iso imported properly is by mounting it multiple times. If it fails due to an "already mounted" message, Sage adds the media file to it's database. Kinda backward logic, if I am correct in how it is working. And if I am correct, I'm wondering if the logic is getting tripped up occasionally and not importing some files properly.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls Last edited by KeithAbbott; 09-16-2017 at 06:14 PM. |
#4
|
|||
|
|||
Just thought I would document my workaround here, in case anyone else runs into a similar problem. It appears to me that this is primarily a problem when many new ISOs are being imported, some of the imports are failing and I have not been able to isolate the reason why.
What I did to get past it is I generated an XML file of all imported DVD files from the web interface, and compared that list to the ISO files contained in the videos directory. The compare allowed me to determine which ISO files had not been imported properly. I then renamed each of those files, ran the "Scan Imported Media" function, renamed the files back to the original name, and ran the "Scan Imported Media" function again. Sage then showed the missing DVDs in the Videos section, alongside all of the rest of my DVDs.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#5
|
|||
|
|||
Possible fix
That error can be caused if your loop device isn't setup properly.
Try: 1. modprobe loop (as root) 2. Check to see that the loop module loaded (lsmod | grep loop) 2. make sure /dev/loop0 through /dev/loop9 actually exist If the /dev/loop* devices don't exist, create them with mknod: (as root) # mknod /dev/loop0 b 7 0 # mknod /dev/loop1 b 7 1 ... # mknod /dev/loop9 b 7 9 Regards, Joe |
#6
|
|||
|
|||
Interesting, my /dev/loop8 and /dev/loop9 were both missing. I used the mknod command and created both nodes, I'll have to check and see if the Imported Media scan included all .iso files this time.
I'm using unRAID, I wonder why all ten nodes aren't pre-defined in unRAID?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls Last edited by KeithAbbott; 11-29-2017 at 04:26 PM. |
#7
|
|||
|
|||
Looks like the mknod commands to create /dev/loop8 and /dev/loop9 did not persist after a reboot. Anyone know what steps I should follow to get /dev/loop8 and /dev/loop9 to persist after a reboot?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#8
|
||||
|
||||
Sounds like something that could easily be added to the sagetv unRAID startup scripts.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed to load image file! | wayner | Gemstone for v9 | 0 | 04-10-2017 10:43 AM |
Mounting network drives | osx-addict | SageTV Media Extender | 16 | 04-07-2012 07:09 PM |
Automatic Metadata Failed (Code 10100) IMDB: Failed to parse providerDataUrl: | mkanet | Batch Metadata Tools | 2 | 10-12-2010 03:22 PM |
Mounting question | xj-boonie | SageTV HD Theater - Media Player | 8 | 05-06-2009 08:14 PM |
DVD ripping/ISO mounting/unmounting | evilpenguin | SageTV Customizations | 3 | 07-31-2004 10:14 PM |