blog:importing_plex_jail_failure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
blog:importing_plex_jail_failure [2021/08/17 14:40] – created brettblog:importing_plex_jail_failure [2021/08/17 15:04] brett
Line 1: Line 1:
 ====== Importing Plex jail failure ====== ====== Importing Plex jail failure ======
  
-I was relocating my jails from one storage pool to another. When I went to import the Plex jail it failed. The problem is the plex jail is 64Gb monster. The database for it should be separate from the Jail now that I know this.+I was relocating my jails from one storage pool to another. Shout to digimoot for some good documentation. 
 +  * https://digimoot.wordpress.com/2020/01/11/freenas-backup-jails-automatically-using-iocage-import-and-export/ 
 +When I went to import the Plex jail it failed. The problem is the plex jail is 64Gb before exporting 48Gb exported. The database for it should probably be separate from the Jail.
  
-FreeNAS 11 has a defect. It tries to uncompress the jail root into memory before sending it to ZFS RECV+This was the first post that I ran across on this issue 
 +  * https://www.reddit.com/r/freenas/comments/fjdszy/iocage_import_failing_and_causing_swap_error/ 
 +Which led me to discover FreeNAS 11 has a defect. It tries to uncompress the jail root into memory before sending it to ZFS RECV.  That's right, we load the 64Gb file into memory (BANG).
   * https://github.com/iocage/iocage/issues/1086   * https://github.com/iocage/iocage/issues/1086
  
Line 28: Line 32:
 swap_pager_getswapspace(32): failed swap_pager_getswapspace(32): failed
 </code> </code>
-Code was re-written in FreeNAS 12 - https://github.com/iocage/iocage/blob/master/iocage_lib/ioc_image.py#L288+Code was fixed in TrueNAS 12 - https://github.com/iocage/iocage/blob/master/iocage_lib/ioc_image.py#L288
 <code> <code>
                 chunk_size = 10 * 1024 * 1024                 chunk_size = 10 * 1024 * 1024
Line 40: Line 44:
                 recv.communicate()                 recv.communicate()
 </code>                 </code>                
-It has not been backported. We will do that ourselves to get this working.+It has not been backported FreeNAS 11, we will do that ourselves so we can continue to use the "iocage import" process without hacking about with workaround commands.
  
 {{tag>freenas plex}} {{tag>freenas plex}}
  • blog/importing_plex_jail_failure.txt
  • Last modified: 2021/08/17 15:13
  • by brett