More disk space

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

More disk space

Postby WTPsyche » Wed Aug 09, 2006 4:41 pm

The sum of the Total column from "omscan -A -u -o 0" on my Scalix 10 server is approximately 6.1 GB. However, the size of /var/opt/scalix/data is 8.2 GB. I know they're not one-for-one, but is there a way to identify (and clear out) where that other 2 GB is being used? Is there an optimization utility/technique I should be using periodically?

Thanks.

Steve

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Aug 09, 2006 6:52 pm

Try running the command again but this time also use the -e switch. This will include sizes for hidden files in the mailbox that are attached to messages. Typically, these will be additional MAPI properties or copies of the MIME of an incoming message and are outside of the user's control to be able to manage them.

Cheers

Dave

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Thu Aug 10, 2006 9:39 am

Closer, but not quite...

"du -sk /var/opt/scalix/data" == 8073152
"omscan -A -u -o 0 -e" == 7151477
"omscan -A -u -o 0" == 6139492

There's still 900MB I can't account for. I hate to be nitpicky, but the reason I'm trying to track this down is that we are billing our end users based on the size of their mailboxes, and I want to be sure that the numbers I'm pulling are the most accurate to be fair to them and us. I understand that there is going to be some data overhead, but I'm just trying to understand where/why.

In your opinion, which number most closely reflects the space used by each user? Does this number correspond to what they would get by choosing Folder Size for their mailbox in Outlook?

I appreciate any input.

Steve

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Thu Aug 10, 2006 9:45 am

Just so that I have all the information, can you run the command:

Code: Select all

sxdu -as
and post the output. How close is that value to the size reported by regular du ?

Cheers

Dave

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Thu Aug 10, 2006 9:49 am

Sure.

[root@scalix /]# sxdu -as
6091163 48509

It looks like it's closest to the regular old "omscan -A -u -o 0" without the -e.

Thanks Dave.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Thu Aug 10, 2006 9:55 am

If you run

Code: Select all

sxdu -b
does this account for more of the missing space ? The Public Folder data is also stored in /var/opt/scalix/data and the omscan command you ran doesn't include that total unless you specify the -b switch.

Cheers

Dave

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Thu Aug 10, 2006 9:59 am

Unfortunately, no. It's only ~2MB:

[root@scalix /]# sxdu -b
2157 BULLETIN BOARD AREA
2156 SUBFOLDER

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Thu Aug 10, 2006 10:06 am

Sorry for the additional post, but I can tell you that (from two user comparisons, unfortunately smaller mailboxes -- under 50MB), it looks like the value reported by Outlook's Folder Size on the mailbox most closely reflects what I get from "sxdu -a".

Unfortunately for me, that corresponds to the smaller usage amount I get from the omscans; which ultimately means that either there's 2 GB of disk space that I can't bill for, or that I've got to be prepared to justify the difference between what I report that they're using, and what they see with their own eyes on their own client.

It's funny how trying to cover my butt sounds an awful lot like whining, doesn't it?
:-)

Steve

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Aug 11, 2006 5:32 am

Maybe do a du -sh * in /var/opt/scalix. This will give an indication of which directories are taking up space. The data directory should match the sxdu output (more or less).


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron