Copy link to clipboard
Copied
Hi,
I have my complete catalog of Lightroom 3.5 currently on my harddisc of my PC (windows 7).
I want to move this catalog to a network based RAID disc and work from there. I've exported
my catalog to the networkdisc but how do I tell Lightroom to use that catalog instead of the
one on my local drive?
Thanks
John
Copy link to clipboard
Copied
Basically, you can open any catalog simply by double-clicking it.
However, in your case that will not work. LR need the catalog to be locally and can not work with a catalog on a networked drive.
Copy link to clipboard
Copied
What I have done a few times, is upload the catalog to our network, then download it to the computer you wish to work from. When done, delete the one on the network, and replace it with the one you just worked with. A bit of a hassle, but it works.
Copy link to clipboard
Copied
... sound like a different form of a "sneakernet" ...
A lot of us are waiting for the option to have the catalog on a networked drive, even for single user access it would be a gain in some scenarios.
Copy link to clipboard
Copied
Sure it would. I could use this too, sometimes. But this is a (sort of) work-around
Copy link to clipboard
Copied
Thank for all the hints. In the meantime I found what I'm looking for. My biggest issue was discspace and backup. I now have a RAID system on my network and I would like to have my pictures on that, accesible from Lightroom.
If you export the complete catalog to the RAID (Network drive) and than within Lightroom update the drive location of each folder, the catalog (index) is keeping track. So now I have my latest folders (pictures) still on the drive of my computer, most of the pictures are on the network drive. The catalog (.lrcat file) needs to be on your computer.
This works fine for me. The networkdisc takes care of the backup.
Copy link to clipboard
Copied
I tried all of the below with no joy.
I solved it by creating a Dropbox account, with the dropbox stored on my C: drive.
Then drag the .lrcat file to Dropbox.
Click on the .lrcat file in Dropbox to open. The .ircat file really does exist on the c: drive on this computer, so Lightroom has no issues.
This also automatically syncs the .lrcat between multiple computers. You can map a network drive to the same location as the pictures are stored on the primary computer if the pictures are not already on a NAS.
A free bonus is that your .lrcat file is always backed up to Dropbox (but I am paranoid, so I still have another copoy of .lrcat backed up securely on my own Raid drive).
Enjoy!
Copy link to clipboard
Copied
I am somewhat puzzled by the notion of moving the LR catalog to a network drive. Indeed moving the source photos to a network drive is also puzzling.
The catalog file really does need to be on the same machine as your system in order to get any reasonable performance at all. (Which is why they try to stop you doing something stupid like putting the catalog on a network) Even with a GbE link performance will be very slow. I have a little more sympathy for moving images to a NAS over GbE, but there is going to be a very substantial performance penalty there too. This can be somewhat offset if you, for example, ensure your lightroom RAW and preview caches are on fast local disks. But, every time you do an image edit you will be dependent on GbE speed / latency. Even poor local disks will read/write around 100MB/s; you'll be very lucky to achieve 50% that with a NAS - and more likely see 10%.
My approach it wringing the most performance out of Lightroom while maintaining data security is to maintain a large RAID5EE data set on the desktop (6TB) which is continuously backed up to a local NAS/RAID5 over GbE (which backs up overnight to another NAS in a separate building on my property). The LR catalog, RAW cache and previews are on large SSD's on the local machine. LR catalog of course continuously backs up to local NAS. No compromises in terms of speed, space or reliability... Doesn't cost much, so perhaps make the effort.... Capacity is not an issue as you just add disks / replace RAID drive with bigger ones as the disk manufacturers make them. If I was using current disks with my current RAID config I could have 18TB sitting there - something I am not going to need for sime time I can assure you! I cannot imagine waiting around for stuff to shuffle back and forth through a network connection.
Copy link to clipboard
Copied
i have a solution that is working for me.
So I just purchased my first DSLR (Sony Nex-5N) and am entertaining the idea of purchasing Lightroom. So for now, I am running the Lightroom 4 beta to see if I like it (so far so good!). I have a desktop, and a laptop. My desktop is a highend custom gaming PC (6core at 4.2Ghz, 16GB DDR3-2000 RAM, CF ASUS Radeon HD 6950, 64GB SSDs in Raid0) which I will do most of my work from. I don't have much internal storage, because I don't need it. I have a storage server, with a Raid 5 array, totting 6TB of storage (running on Server 2008 R2). I have my laptop (ASUS Zenbook UX31E-DH72) which is lightweight, portable, and powerful. My laptop has the SD card built in, and my PC doesn't. Yeah yeah, I could get a card reader for my desktop, but my desktop is in a server chassis, rackmounted so an internal one isn't an option (and I don't want another device on my desk). Ideally, I would like to have my catalog, index, and everything else for Lightroom, on my Raid5 array, accessible by both PCs, whenever. My storage server is set up as a typical NAS, doing file shares, and that doesn't work. But...but...once I set up a SAN share, it works like a charm! Now I'm not providing an all exclusive walkthrough, but if you tech savvy, I'm sure you can figure it out.
Download Microsoft iSCSI Target and install that on your storage server (must be running Server 2008 R2, with SP1 preferred). Create a Target (which is nothing more than a vhd file), and provide the IQDN of the PCs you want to have access to this vhd (I made mine 30GB in size, which I hope is plenty). Next, on my two WIndows 7 machines, go to the Administrator tools, load the iSCSI Initiator, and connect to that vhd. Open disk management, format the disk and assign it a drive letter, and voiala! I know have an L: on both my desktop and laptop, that think it's a local drive, when it's actually on my RAID5 array. Created my catalog on there, and can easily access it from either computer (but not at the same time, and that's because the database is a single use, lightweight oracle SQL db, I do believe).
Copy link to clipboard
Copied
You cannot have the catalog on a network drive. It does not work in LR. But you can have your photos on a network drive.
See here: http://kb2.adobe.com/cps/333/333736.html
WW
Copy link to clipboard
Copied
If you reference my post above, I tell you how to do it. It's working for me just fine. All my imports go to my L: drive, which is a SAN drive stored on a different physical box. I can then open that same Catalog on a different computer running the same version of LR.
Copy link to clipboard
Copied
This could be done without using iSCSI or any other driver stuff.
i'm using two drive letters for this. x: for the image folders and also the lightroom catalog folder itself.
x:\lrcat is then mounted to the z: drive via subst (subst z: x:\lrcat). It works like charm with lightroom 2 and 3.
But be careful Lr doesn't like disconnects and a gigabit ethernet is useful, as all thumbs are stored in the lrcat folder.
Copy link to clipboard
Copied
I followed the instruction here and it works like a charm.
http://icesquare.com/wordpress/lightroom-how-to-save-lightroom-catalog-on-network-drive-on-windows/
Copy link to clipboard
Copied
Nice instruction including screenshot's. Thanks!
Copy link to clipboard
Copied
Please just note that this is strongly discouraged by the engineers due to risk of catalog corruption, so if you decide to try it, keep good backups.
Copy link to clipboard
Copied
Please just note that this is strongly discouraged by the engineers due to risk of catalog corruption, so if you decide to try it, keep good backups.
I'd really like to know the exact reasons for this from "the engineers" because accessing an SQL DB over a network is so basic and everyday software technology.
Copy link to clipboard
Copied
This is not SQL - it's SQLite. It's a different ballgame.
I'm not sure the engineers will drop by here, as they're pretty busy with the LR5 Beta right now, and some conversations I've had, I can't legally share. They haven't put network blocking in for fun though.
Copy link to clipboard
Copied
Network sharing an LR catalog definitely is a no-go for concurrent access.
However, for guaranteed single user access like working from either desktop or workstation at home there shouldn't be an issue.
Copy link to clipboard
Copied
Even single-user still relies on the network never dropping at the wrong moment. If multi-user was the issue, they wouldn't have blocked network access, just multi-user access.
Copy link to clipboard
Copied
F. McLion wrote:
Network sharing an LR catalog definitely is a no-go for concurrent access.
However, for guaranteed single user access like working from either desktop or workstation at home there shouldn't be an issue.
http://www.sqlite.org/lockingv3.html
"6.0 How To Corrupt Your Database Files
...
SQLite uses POSIX advisory locks to implement locking on Unix. On Windows it uses the LockFile(), LockFileEx(), and UnlockFile() system calls. SQLite assumes that these system calls all work as advertised. If that is not the case, then database corruption can result. One should note that POSIX advisory locking is known to be buggy or even unimplemented on many NFS implementations (including recent versions of Mac OS X) and that there are reports of locking problems for network filesystems under Windows. Your best defense is to not use SQLite for files on a network filesystem."
Copy link to clipboard
Copied
I know all that since I read all that.
However, file locking is an issue only if multiple instances try to access the DB. I assume that LR uses one queue to access the DB and therefore is like a single instance access to the DB. So, if single access can be controlled by not running multiple LR on the same catalog ..
From here: http://www.sqlite.org/faq.html#q5
You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time.
It's everybody's own decision to take a shot .... when a good backup is in place
Copy link to clipboard
Copied
F. McLion wrote:
You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time.
One application instance can easily have multiple processes. Imagine you're doing an import, saving some metadata, and editing some images at the same time, and then add background processes like LR's discarding of 1:1 previews every so often and you can see how you don't need multiple instances to run into this issue.
Copy link to clipboard
Copied
Lee Jay schrieb:
One application instance can easily have multiple processes. Imagine you're doing an import, saving some metadata, and editing some images at the same time, and then add background processes like LR's discarding of 1:1 previews every so often and you can see how you don't need multiple instances to run into this issue.
.. and LR will most probably use one internal queue for all processes to access the DB sequentially because SQLlite can not handle concurrent, multiple access, not over LAN nor on a local drive.
If LR opens a DB (catalog) it places the lock (lrcat.lock file). So opening a remote second instance of LR and opening the same DB over a LAN is not possible anyway. The single access is not an issue as far as I can tell from my programing experience.
Long story short: Everybody should test for themselves ... maybe keeping in mind that these FAQ's and other documentation on the SQLlite page is many years old, referring to very old Windows OS ... and maybe give it a try ... IMHO.
Copy link to clipboard
Copied
here the offical FAQ: http://www.sqlite.org/faq.html#q5 :
Multiple processes can have the same database open at the same time. Multiple processes can be doing a SELECT at the same time. But only one process can be making changes to the database at any moment in time, however.
SQLite uses reader/writer locks to control access to the database. (Under Win95/98/ME which lacks support for reader/writer locks, a probabilistic simulation is used instead.) But use caution: this locking mechanism might not work correctly if the database file is kept on an NFS filesystem. This is because fcntl() file locking is broken on many NFS implementations. You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time. On Windows, Microsoft's documentation says that locking may not work under FAT filesystems if you are not running the Share.exe daemon. People who have a lot of experience with Windows tell me that file locking of network files is very buggy and is not dependable. If what they say is true, sharing an SQLite database between two or more Windows machines might cause unexpected problems.
We are aware of no other embedded SQL database engine that supports as much concurrency as SQLite. SQLite allows multiple processes to have the database file open at once, and for multiple processes to read the database at once. When any process wants to write, it must lock the entire database file for the duration of its update. But that normally only takes a few milliseconds. Other processes just wait on the writer to finish then continue about their business. Other embedded SQL database engines typically only allow a single process to connect to the database at once.
However, client/server database engines (such as PostgreSQL, MySQL, or Oracle) usually support a higher level of concurrency and allow multiple processes to be writing to the same database at the same time. This is possible in a client/server database because there is always a single well-controlled server process available to coordinate access. If your application has a need for a lot of concurrency, then you should consider using a client/server database. But experience suggests that most applications need much less concurrency than their designers imagine.
When SQLite tries to access a file that is locked by another process, the default behavior is to return SQLITE_BUSY. You can adjust this behavior from C code using the sqlite3_busy_handler() or sqlite3_busy_timeout() API functions.
True BUT: http://en.wikipedia.org/wiki/ISCSI :
In computing, iSCSI (i/aɪˈskʌzi/ eye-skuz-ee), is an abbreviation of Internet Small Computer System Interface, an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. By carrying SCSI commands over IP networks, iSCSI is used to facilitate data transfers over intranets and to manage storage over long distances. iSCSI can be used to transmit data over local area networks (LANs), wide area networks (WANs), or the Internet and can enable location-independent data storage and retrieval. The protocol allows clients (called initiators) to send SCSI commands (CDBs) to SCSI storage devices (targets) on remote servers. It is a storage area network (SAN) protocol, allowing organizations to consolidate storage into data center storage arrays while providing hosts (such as database and web servers) with the illusion of locally attached disks.[1]Unlike traditional Fibre Channel, which requires special-purpose cabling, iSCSI can be run over long distances using existing network infrastructure.[2]
>>>> so there no reason why the SCSI/SAN solution not works. But of course if you startup a secon client then probply you have Problem...
>>>> But from this point of view i think the changes in SQL for a multiuser support for LR5 arent that high if you use ISCSI, but i think when u read that:
.....But experience suggests that most applications need much less concurrency than their designers imagine....
then it's nearly ridiculous to belive tha probably up to 5 editor@the same time edit the same project, generats the amount of Problem as 500 enterprise clients. So IMHO the engineers anwser is groggy... There is shorter way implement that Multiuser feature that "adobe" / "the engineers" say. But You need ISCSI or somthing comparable and thats relative complex to set up and expensive. And then i think PM/Marketings says too complex with SQLite, MySQL amongs ORACLE (-> dangerous), and the rest of relatonel database to expensiv and in general only 1% of the LR will it use... ->so: End of story
but i think i will run some automatet ISCSI tests and will report..
regards stephan
Copy link to clipboard
Copied
If iSCSI implements file-locking properly and LR cannot detect it as being different than local storage then iSCSI could help users wanting to use LR in single-user mode with the database not on a local drive. For Windows, subst will also allow with this.
This is entirely different than LR facilitating multi-user photo editing with a single catalog, which requires a client-server database hosted on a database server and LR being written to handle user-editing conflicts. I suspect the market for this is much too small to be cost-effective for Adobe to develop such a product and the multi-user environments to buy and maintain such a system.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now