Move data store.
Move data store.
Hello Team.
I have installed zimbra 4.5 in CenTos 5, and need move de store folder in other partition.
The actual partition /opt/ have 100Gb, and need moved the store folder to /home folder with 300GB.
I need help by this issue.
Thanks
I have installed zimbra 4.5 in CenTos 5, and need move de store folder in other partition.
The actual partition /opt/ have 100Gb, and need moved the store folder to /home folder with 300GB.
I need help by this issue.
Thanks
Move data store.
Can you move the /opt to your new mount? If not, a symlink should be fine. Just be sure it's not an NFS mount. NFS has locking and latency issues.
Move data store.
I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.
Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.
Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.
Move data store.
Nope. Your best bet is a symlink.
Move data store.
I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.
I do not have much experience with linux and I'm looking for the simplest way to do this.[/QUOTE]
I do not have much experience with linux and I'm looking for the simplest way to do this.[/QUOTE]
Move data store.
[quote user="newbie_sg"]I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.
Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.[/QUOTE]
# cd /opt/zimbra
# mkdir /data/zimbra
# mv store /data/zimbra/
# ln -s /data/zimbra/store .
That moves the /opt/zimbra/store/ directory to /data/zimbra/store/.
Then creates a symlink from /data/zimbra/store/ to /opt/zimbra/store. That way, Zimbra can be started as per normal. It will write it's data to /opt/zimbra/store ... which is really /data/zimbra/store.
Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.[/QUOTE]
# cd /opt/zimbra
# mkdir /data/zimbra
# mv store /data/zimbra/
# ln -s /data/zimbra/store .
That moves the /opt/zimbra/store/ directory to /data/zimbra/store/.
Then creates a symlink from /data/zimbra/store/ to /opt/zimbra/store. That way, Zimbra can be started as per normal. It will write it's data to /opt/zimbra/store ... which is really /data/zimbra/store.
-
- Advanced member
- Posts: 159
- Joined: Fri Sep 12, 2014 10:33 pm
Move data store.
And Upgrades will perform normal through the symbolic Links????fcash wrote:# cd /opt/zimbra
# mkdir /data/zimbra
# mv store /data/zimbra/
# ln -s /data/zimbra/store .
That moves the /opt/zimbra/store/ directory to /data/zimbra/store/.
Then creates a symlink from /data/zimbra/store/ to /opt/zimbra/store. That way, Zimbra can be started as per normal. It will write it's data to /opt/zimbra/store ... which is really /data/zimbra/store.
I mean the OS should just pass the links on as static locations correct???
thanks
Timg
Move data store.
That is how symlinks work.
Move data store.
Wondeful solution. Thank you for your wonderful solution. (perfect and simple way ... ) :rolleyes:
-
- Posts: 25
- Joined: Wed Mar 10, 2021 3:35 pm
- Location: Ubuntu 18.04.5 LTS
- ZCS/ZD Version: 9.0.0.ZEXTRAS.202007114.UBUNTU18.64
Re: Move data store.
Excellent solution!