Sethur wrote:You are right, this would certainly be a solution after moving some files and updating the DB. Can you point me to a manual on how to update the DB for a new storage scheme?
To test this scenario, we added a command which will move a single fileset in 5.0.3:
- Code: Select all
bin/omero fs rename $FILESET_ID
This can be done in a loop to achieve what you're asking for, but post-release we'll also working on a SQL template that will do the same thing in bulk for the "drive-addition" use case.
Also, can you tell me what the "X" in driveX means? How does the system know which drive to choose?
Whatever drive name you choose must be configured in the server. E.g:
- Code: Select all
bin/omero config set omero.fs.repo.path drive-002/...
bin/omero admin restart
At that point, all new imports will go to "drive-002". The same procedure would have to be followed to later move to drive-003, etc.
~J