12-09-2018, 01:37 AM | #1 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2018
Device: Fire HD, phone, laptop
|
Moving virtual and cache to elsewhere on Ubuntu
Am using Ubuntu 18 and was trying to use Calibre, but had a space issue once uploading some of my ebooks. Seems even though my actual files are on another folder in a different drive, the virtual library info gets put on my Linux boot drive and I am not finding a way to revise that. My boot drive is only 120gb and I need to be able to have this cache and virtual info such as metadata elsewhere. Can anyone assist please?
Thanks much. |
12-09-2018, 02:23 AM | #2 |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
A VL is in RAM. It is a subset image of the real library.
So the question is where your TMP and swap is. |
12-09-2018, 03:10 AM | #3 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use CALIBRE_TEMP_DIR, as described here: https://manual.calibre-ebook.com/cus...ment-variables
|
12-09-2018, 05:11 AM | #4 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
You should put the temp dir on the fastest HDD or even SSD if available. Also the swap partition or a swap file should be on the fastest drive.
You can also put the ~/.cache folder on the SSD if your home folder is on a slower drive. Read up on the use of links in Linux. It is even possible to put the calibre database and/or the format files on the SSD using links. If your computer has plenty of RAM (>16GB) then you can even place the temp folder in RAM for the ultimate in fast drive. Linux has great support for this using tmpfs. https://www.linux.com/learn/intro-to...ng-linux-links Last edited by Adoby; 12-09-2018 at 05:15 AM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to clear cache? | odamizu | Kindle Developer's Corner | 8 | 04-11-2017 11:15 AM |
The Cache files in calibre | Dopedangel | Calibre Companion | 8 | 02-17-2017 01:58 AM |
Ubuntu UbuTab Android/Ubuntu OS device | gbm | Android Devices | 1 | 01-21-2015 02:23 PM |
Need help on Sony cache.xml | janpardo | Reading and Management | 0 | 05-24-2010 08:22 AM |
Do recipes use a cache? | Starson17 | Calibre | 2 | 03-10-2010 10:05 PM |