Koozali.org: home of the SME Server

I need to add a 2nd. SCSI Cheetah HDD to my SME v.6

Offline hardijs

  • ****
  • 77
  • +0/-0
Re: First part of the problem solved - type 83 fs is now OK
« Reply #15 on: February 03, 2005, 04:54:29 PM »
Quote from: "microlatina"
How can I test that the extra space 4GB are really available ?
Is this existing mount/point correct ? Should I create an ibay and use this new ibay as mount/point ?

Kind regards


df

it shows what you got - the nearest sme to me does not have mounted discs though it is quite sufficient to see what is said here
Code: [Select]

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda3             38101032  26053884  10111720  73% /
/dev/hda1               101089     23550     72320  25% /boot
none                    257076         0    257076   0% /dev/shm


in the case of second ide drive I would have additional line
Code: [Select]

/dev/hdb1             38101032  26053884  10111720  73% /home/e-smith/files/ibays/theport


I think such a "substitution" as you've got is quite a good idea (somewhere in between the std setup and raid 1 or 5)
say one you can put some 200 GB hard drive substituting for an ibay dir.

Then comes the next sme version - as a cautious user you should back all the stuf up BEFORE installing the update (not that I am saying that you should not do that regulary anyway) - instead you can unmount the drive from the dir specified (unplug, put in safe -  :-P  whatever) - upgrade the system after seing that everything has gone well - have put it back and mount where it belongs  :-D  instantly and quite safe (as anything can be).

microlatina

I need to add a 2nd. SCSI Cheetah HDD to my SME v.6
« Reply #16 on: February 03, 2005, 07:38:29 PM »
Thank you hardijs for your kind reply.

I just didn´t know this df command.
This is what it shows when applied to my system:

Quote
[root@sunshine root]# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda3              3763404    602276   2969956  17% /
/dev/sda1               101089     14290     81580  15% /boot
none                     47024         0     47024   0% /dev/shm
/dev/sdb1              4127076     32852   3884580   1% /home/e-smith/files/ibays
[root@sunshine root]#


Extra space seems to be there !
But I still have a doubt because SME Server appears to ignore this new added disk space. Or maybe I don´t know how to ask.

For example: ibays is a very important directory. What happens when the disk space that was originally allocated for ibays - and that resides in the 1st. HDD /dev/sda gets full ? Is data automatically placed in the 2nd. HDD recently added space ?

From a Windows 2000 PC and using a file administration application such as Windows Commander, if I access the SME server the directory "Admin" still reports a little less than 4GB, as if the new volume wasn´t there. Is this normal ?

Is there any way to make this new mounted HDD space be computed by SME Server and be handled from the panel ?

Kind regards.

microlatina

It seems to work now
« Reply #17 on: February 04, 2005, 01:16:03 AM »
hardijs, thanks to Claudio and your advice I could make the 2nd. HDD work. I still don´t know how to make SME Server officially know that the HDD is there, but I think that he is using it.

I first created a new ibay from the administrator panel. I called it extra. Then I checked to see if this extra directory could be seen with the ls command:

Quote
[root@sunshine ibays]# ls
extra  Primary


I made some fixing into the /etc/fstab file. Then I used the mount -a command to make the changes effective. Using the df command as you taught me, this is the result:

Quote
[root@sunshine root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.6G  605M  2.8G  18% /
/dev/sda1              99M   14M   79M  15% /boot
none                   46M     0   45M   0% /dev/shm
/dev/sdb1             3.9G  2.0G  1.7G  54% /home/e-smith/files/ibays/extra


Now the 4G HDD is there. I tested this copying from a Windows 2K PC some 2GB files, and the files were kept in the new HDD.

I don´t know if this procedure is correct. I still have doubts with the line in the /etc/fstab file:

Quote
/dev/sdb1               /home/e-smith/files/ibays/extra  ext3


should it read:

Quote
/dev/sdb1               /home/e-smith/files/ibays/extra  ext3 defaults 1 2


Maybe you guys could tell me.

Best regards