how to increase /opt disk space?

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
damend
Posts: 14
Joined: Mon Aug 31, 2020 2:22 am

how to increase /opt disk space?

Post by damend »

Hi,

Is it possible to increase /opt size by adding new physical hard drive?
This is not in installed in vm. so i wonder if it is possible to increase, how?
disk size 122921.png
disk size 122921.png (9.33 KiB) Viewed 6706 times
User avatar
wentum
Advanced member
Advanced member
Posts: 53
Joined: Fri Apr 04, 2014 10:49 am
Location: Pforzheim (Germany)
ZCS/ZD Version: Release 9.0.0.GA.3924 _P30
Contact:

Re: how to increase /opt disk space?

Post by wentum »

Hi damend,

you're sure this is a zimbra related question?
Anyway, there are a lot of things you can do, but it is depending on your filesystem as well...

E.g. put another (bigger) hdd/sdd into the system, clone over your sda1 with an image tool, expand your partiton table (parted is your friend), expand your filesystem, change mount point /opt
E.g. put another (bigger) hdd/sdd into the system, format it, copy things over using rsync (be carefull of file permissions and the sparse file... keyword is ldap), change mount point /opt

ALLWAYS have a VALID backup! Try first on test installation! If you are not into linux or you feel uncomfortable with what I wrote above DON'T DO IT!!

BTW actually it doesn't seem very urgent to me, there is plenty of space left (your picture)... I wish I had a system like that... ;-)

Regards
Joerg
Post Reply