Results 1 to 2 of 2

Thread: Selecting what disks to show usage

  1. #1
    inigoml's Avatar
    inigoml is offline Project Contributor
    Join Date
    Aug 2006
    Location
    Madrid, Spain
    Posts
    124
    Rep Power
    8

    Default Selecting what disks to show usage

    Hi everybody.

    For more than one year, we have been using an external USB hard disk for backup storage in a zimbra NE installation.
    However, we have recently replaced this USB hard disk by a NAS mounted via NFS export.
    Zimbra stats, however, still displays sda1 usage that, of course, is empty (because has been remove).

    So, two questions:

    - How do I remove USB disk from being displayed in disk usage graphs.
    - Can I add an NFS export in disk usage graphs?

    Thanks in advance!

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    removing any reference to the disks in the mysql logs might remove the stats. of course you'll want to backup your db ahead in case something goes screwy.

    loghost:~ # su - zimbra
    zimbra@loghost:~> logmysql zimbra_logger
    mysql> delete from disk_aggregate where device = '/dev/sda1' ;
    mysql> delete from disk_status where device = '/dev/sda1' ;

    then wait for the next time it regens the graphs which is like every 20min or so i think.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •