Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Donquick on April 18, 2008, 05:01:39 PM

Title: Full Disk
Post by: Donquick on April 18, 2008, 05:01:39 PM
Hi All,

We have a simple setup of 1 server (SME 7) + 4 workstations WIN2000.  Unfortunately we only had an older computer when i installed the system and we have 2 disks of just 10GB each (E and F) in the box and a networked storage device (G) of some 300+GB.

All is generally well but the G incorrectly reports file sizes and doesn't like to display thumbnails and stuff on the fly etc.  For this reason i do not use it for our main shared data.  This goes on E and F.  The server software is also on E.

Getting to the question - E is showing as nearly full on the windows stations although displaying the properties of the two directories there shows them as just a few GB in total size.  So there is something going on.  Either the disk is full of other stuff (and lots of it to do with the server software) or it is misreporting the amount of space available.

Is it possible that temporary file or system files and logs are building up on E and taking up more and more room?

How can i check and how can i delete anything just taking up space.  Or is there some housekeeping routine that i have been neglecting to carry out for several years.

When answering please bear in mind that i do not know how this system works.  I can log on to the server using username root + a password but then i haven't got a clue what to type next.

Sorry for my amateur status and simplistic approach.

Any help much appreciated

Thanks,

Magnus
Title: Re: Full Disk
Post by: cactus on April 18, 2008, 05:27:23 PM
Hi All,

We have a simple setup of 1 server (SME 7) + 4 workstations WIN2000.  Unfortunately we only had an older computer when i installed the system and we have 2 disks of just 10GB each (E and F) in the box and a networked storage device (G) of some 300+GB.

All is generally well but the G incorrectly reports file sizes and doesn't like to display thumbnails and stuff on the fly etc.  For this reason i do not use it for our main shared data.  This goes on E and F.  The server software is also on E.

Getting to the question - E is showing as nearly full on the windows stations although displaying the properties of the two directories there shows them as just a few GB in total size.  So there is something going on.  Either the disk is full of other stuff (and lots of it to do with the server software) or it is misreporting the amount of space available.

Is it possible that temporary file or system files and logs are building up on E and taking up more and more room?
Above mentioned labels are not linux labels so it is hard to judge what the relation is to the harddisks of the server.
When answering please bear in mind that i do not know how this system works.  I can log on to the server using username root + a password but then i haven't got a clue what to type next.
Start of by login in as root and post the output off the following command on the SME Server shell:

Code: [Select]
df -Th
Title: Re: Full Disk
Post by: zatnikatel on April 18, 2008, 05:31:55 PM
once you have logged in as root type this in
df -h
this will show the partitions and how much space is used and free it will look something like this i use SME as a server and mandriva linux as a work station SME names will be a little different but size used avail use will be the same

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7              43G  8.6G   33G  22% /
/dev/sda5             595M   24M  541M   5% /boot
/dev/sda8              99G   13G   86G  13% /home
/dev/sda1              40G  9.4G   31G  24% /mnt/win_c
/dev/sdb1             150G   23G  127G  16% /mnt/win_c2
Title: Re: Full Disk
Post by: zatnikatel on April 18, 2008, 05:35:25 PM
sorry cactus
we both put up the same thing at the same time
Title: Re: Full Disk
Post by: cactus on April 18, 2008, 05:36:45 PM
sorry cactus
we both put up the same thing at the same time
Nope I beat you by a few minutes :-D, but that does not matter. We'll just have to wait for the OP to return with the output.
Title: Re: Full Disk
Post by: zatnikatel on April 18, 2008, 05:42:11 PM
Nope I beat you by a few minutes :-D, but that does not matter. We'll just have to wait for the OP to return with the output.

just that little bit faster LOL 8-) just about ready to can windows totally mandriva rocks as a work station
Title: Re: Full Disk
Post by: Donquick on April 21, 2008, 11:07:15 AM
Hi Guys,

Thanks for the replies.  the result of the command is as follows :

/dev/mapper/vg_primary-lv_root   9.1G   7.1G   1.6G   82%   /
/dev/md1                                 99M   12M   82M   13%   /boot
none                                        62M   0   62M   0% /dev/shm
/dev/hdb1                                28G   7.6G   19G   29%   /home/e-smith/files/ibays/secondary

The first disk is the one i was referring to as E and the last on is F

Look forward to hearing from you.  Thanks
Title: Re: Full Disk
Post by: cactus on April 21, 2008, 11:25:06 AM
Thanks for the replies.  the result of the command is as follows :

/dev/mapper/vg_primary-lv_root   9.1G   7.1G   1.6G   82%   /
/dev/md1                                 99M   12M   82M   13%   /boot
none                                        62M   0   62M   0% /dev/shm
/dev/hdb1                                28G   7.6G   19G   29%   /home/e-smith/files/ibays/secondary
The disks do not seem to be full, judging from the data above.

The first disk is the one i was referring to as E and the last on is F

Look forward to hearing from you.  Thanks
Are you serious??? Are you sharing your total drive? Why the heck are you doing that?
Title: Re: Full Disk
Post by: Stefano on April 21, 2008, 11:37:37 AM
hi..

try
Code: [Select]
df -iand paste here the results.

Stefano
Title: Re: Full Disk
Post by: Donquick on April 21, 2008, 11:57:50 AM
Hi cactus,

Thanks for the reply!  You are right the disk is not full.  As i said in my original post the E drive (/dev/mapper/vg_primary-lv_root) is misreporting in my opinion, or there is something going on with the server software.  It is 9.1GB in size and i have 2.7GB of data on it (according to windows and this is about right) but it is saying on windows and linux that there is 7.1GB used.  This is my question where is all the extra data filling up the disk?  How can i check and where do a look?

As for disk sharing - sorry to send you into a state of shock.  What should i be doing?  Each workstation has its own disk and software, I didn't think it was that outrageous to use the entire disk (both entire disks in fact) as shared as they are just used as shared data depositories.  The server is purely acting as a print and data server really. As i say i am very happy to comply with current wisdom on the subject if what i am doing is wrong.  Perhaps this is contributing to the disk space issue.

Thanks
Title: Re: Full Disk
Post by: Donquick on April 21, 2008, 12:35:15 PM
Hi Nenonana,

Thanks for the reply.  The outcome of df -i is:

/dev/mapper/vg_primary-lv_root   1200576   50835   1149741  5%   /
/dev/md1                                  26104      39        26065     1%   /boot
none                                        15620      1         15619     1%  /dev/shm
/dev/hdb1                                 3662848   7604    3655244  1%   /home/e-smith/files/ibays/secondary

Cheers,