Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
roybataluna
Posts: 5
Joined: Tue Oct 21, 2014 8:50 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby roybataluna » Tue Oct 21, 2014 8:57 pm

Hi guys. I have an issue with our Zimbra. I'am running out of disk space. I just assume responsibility with this email server and they havent tell me what to do in case of this issue occurs. How could I expand the disk space? here is the result of the df



Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/vg_zime01headlin-lv_root
              ext4     50G   47G   61M 100% /
tmpfs        tmpfs    939M     0  939M   0% /dev/shm
/dev/sda1     ext4    485M   69M  391M  15% /boot
/dev/mapper/vg_zime01headlin-lv_home
              ext4    863G  200M  819G   1% /home
I mean, I have a lot of space on ext4, how could I utilize that? Thanks in advance




avea2003
Posts: 13
Joined: Sat Sep 13, 2014 3:31 am

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby avea2003 » Tue Oct 21, 2014 11:24 pm

Zimbra install in /opt



Filesystem Type Size Used Avail Use% Mounted on

/dev/mapper/vg_zime01headlin-lv_root

ext4 50G 47G 61M 100% /
roybataluna
Posts: 5
Joined: Tue Oct 21, 2014 8:50 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby roybataluna » Wed Oct 22, 2014 12:20 am

what you mean? can you explain further?
avea2003
Posts: 13
Joined: Sat Sep 13, 2014 3:31 am

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby avea2003 » Wed Oct 22, 2014 12:47 am

All product Zimbra (all accounts with mail and database) install in /opt/zimbra

if you have

Filesystem Type Size Used Avail Use% Mounted on

/dev/mapper/vg_zime01headlin-lv_root

ext4 50G 47G 61M 100% /

That mean you have only 61M free on /

You need resize you disk or make new partition or lvm??? what you used????? I don't know what you system.
roybataluna
Posts: 5
Joined: Tue Oct 21, 2014 8:50 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby roybataluna » Wed Oct 22, 2014 1:19 am

We are using VMware Zimbra Version: 8.0.0_GA_5434.FOSS It is installed on CentOS. how could I utilize the free space on /dev/mapper/vg_zime01headlin-lv_home
ext4 863G 200M 819G 1% /home. because there is a lot of space in here.

User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby jorgedlcruz » Wed Oct 22, 2014 3:52 am

Hi roybataluna,

Is your environment physical or virtual (with which hypervisor)?



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
avea2003
Posts: 13
Joined: Sat Sep 13, 2014 3:31 am

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby avea2003 » Wed Oct 22, 2014 3:55 am

You need have LiveCD with CentOS and backup you system

1. Run from liveCD and choose 'Rescue system'

2. Unmount all disk ext Livecd

3. Activate all LVM partition

vgchange -a y

4. List active logical disk

lvscan

5. Check you disk

fsck -fy /dev/vg0/root

fsck -fy /dev/vg0/home

6. Decrease home for 500Gb

resize2fs /dev/vg0/home 500G

7. Decrease partition for 500Gb

lvreduce -L -500G /dev/vg0/home

8. Increase partition for 500Gb

lvextend -L +500G /dev/vg0/root

9. resize2fs /dev/vg0/root

10. fsck -fy /dev/vg0/root

fsck -fy /dev/vg0/home

11.restart
roybataluna
Posts: 5
Joined: Tue Oct 21, 2014 8:50 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby roybataluna » Wed Oct 22, 2014 4:13 am

It's virtual. Its running on Vsphere
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby jorgedlcruz » Wed Oct 22, 2014 5:10 am

If you will try the avea2003 steps (thank you very much for the steps), please do a backup/snapshot or clone first.



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
roybataluna
Posts: 5
Joined: Tue Oct 21, 2014 8:50 pm

Disk Space for Zimbra 8.0.0_GA_5434.FOSS

Postby roybataluna » Thu Oct 23, 2014 2:59 am


I followthe guide you provided but I got an error when i conduct a fsck command on lv_home


Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 24 guests