Moving the /opt/zimbra folder cenos 7

Ask questions about your setup or get help installing ZCS server (ZD section below).
snowymoountain
Posts: 17
Joined: Thu Aug 02, 2018 4:24 pm

Moving the /opt/zimbra folder cenos 7

Postby snowymoountain » Thu Aug 02, 2018 4:27 pm

Hi I am wanting to move the /opt/zimbra folder to the home directory in Centos 7 with Zimbra 8.8.9

having trouble locating a reliable source for this.


phoenix
Ambassador
Ambassador
Posts: 25677
Joined: Fri Sep 12, 2014 9:56 pm

Re: Moving the /opt/zimbra folder cenos 7

Postby phoenix » Thu Aug 02, 2018 5:07 pm

It serves no useful purpose to move that to the 'home' directory, what do you expect that to achieve or what problem are you trying to solve?
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
snowymoountain
Posts: 17
Joined: Thu Aug 02, 2018 4:24 pm

Re: Moving the /opt/zimbra folder cenos 7

Postby snowymoountain » Thu Aug 02, 2018 5:49 pm

The root directory is only 40GB in size, the home directory is 360GB
phoenix
Ambassador
Ambassador
Posts: 25677
Joined: Fri Sep 12, 2014 9:56 pm

Re: Moving the /opt/zimbra folder cenos 7

Postby phoenix » Thu Aug 02, 2018 7:09 pm

It seems rather strange to have a home directory of 360GB on a server, that should not need to be that size. Id suggest you reduce the size of the home directory to something like 20GB and use the rest foe a new mount point for the /opt directory structure and move your zimbra directory to that. In any case you will need some downtime for ZCS while you're doing this. You'd also need to do some research on how to achieve this before you do anything and also make sure you take a backup of any affected directories before moving them.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
snowymoountain
Posts: 17
Joined: Thu Aug 02, 2018 4:24 pm

Re: Moving the /opt/zimbra folder cenos 7

Postby snowymoountain » Thu Aug 02, 2018 7:39 pm

Its set up on LVM so I can theoretically do that on the hoof, cents partitions the disk like this by default as does any linux distro
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 303
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: RE: Re: Moving the /opt/zimbra folder cenos 7

Postby tonster » Thu Aug 02, 2018 11:22 pm

I'd certainly suggest not using the defaults when specing out a production server. They almost never make sense in such a scenario.
snowymoountain wrote:Its set up on LVM so I can theoretically do that on the hoof, cents partitions the disk like this by default as does any linux distro


Sent from my SM-G950U using Tapatalk
User avatar
zmbr16
Posts: 29
Joined: Wed Jul 06, 2016 5:17 am
Location: Hoboken, New Jersey in the United States
ZCS/ZD Version: 8.8.8_GA_3308_NETWORK.RHEL7_64
Contact:

Re: Moving the /opt/zimbra folder cenos 7

Postby zmbr16 » Fri Aug 03, 2018 2:02 am

You could mount /opt/zimbra on another drive

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests