Koozali.org: home of the SME Server

Patitioning with 2 hard drives

Thomas Andersen

Patitioning with 2 hard drives
« on: October 06, 2003, 04:41:43 PM »
I am going to install SME 6.0B3 on a system with 2 hard drives. hda = 8GB and hdc = 40GB how will SME partition the two disks.

The server will be used as a Gateway and small FTP/Web server.

Would it be better to first install SME on one drive and then connect the second.
And how should the second drive be partitioned.

Thanks

Thomas Andersen

Byte

Re: Patitioning with 2 hard drives
« Reply #1 on: October 06, 2003, 05:34:06 PM »
I would install as followed...


Disconnect the 40GB one and install as normal then...

Goto http://mirror.contribs.org/smeserver/contribs/mblotwijk/HowToGuides/AddExtraHardDisk.htm

follow instructions there to ADD the other disk to the system

Hope this helps

Byte

Arjan Vroege

Re: Patitioning with 2 hard drives
« Reply #2 on: October 07, 2003, 01:20:35 AM »
That is what I did and it Works fine for me.

Greetz

Thomas Andersen

Re: Patitioning with 2 hard drives
« Reply #3 on: October 08, 2003, 02:18:43 AM »
I used the howto in the link but I have one small problem.
When I use the checkquota command I get an error message:

quatocheck: Cannot get quotafile name for /dev/hdc1

What does that mean??

Thanks

Thomas Andersen

Michiel

Re: Patitioning with 2 hard drives
« Reply #4 on: October 08, 2003, 02:30:26 AM »
Did you turn on quotacheck in the server-manager (Collaboration - Quota Management)?
Michiel

Thomas Andersen

Re: Patitioning with 2 hard drives
« Reply #5 on: October 08, 2003, 02:48:11 AM »
I tried to turn it on now but it does not seem to work. When I save the result it does not apear to happen.

/Thomas

Michiel

Re: Patitioning with 2 hard drives
« Reply #6 on: October 08, 2003, 03:00:18 AM »
> I tried to turn it on now but it does not seem to work. When
> I save the result it does not apear to happen.

What does not happen? Turning quota on won't do anything initially. Only when a user exceeds his disk quotum he will no longer be able to store files. The idea behind quota is that you can limit the disk space individual users can fill. If you don't care about that, you can safely leave quota off and skip that step in the how-to.

Thomas Andersen

Re: Patitioning with 2 hard drives
« Reply #7 on: October 08, 2003, 03:11:11 AM »
When I try to set quota in the server manager for the single user that I have got nothing appears to happen. I press save and after som time I am back at the initial screen but it still says that the user has 0 grace limit and 0 max limit.

I do not need quotas, but I get the error I mentioned before, when my server boots. Is my /etc/fstab wrong. I did exactly as the howto said.

Thanks

Thomas

Byte

Re: Patitioning with 2 hard drives
« Reply #8 on: October 08, 2003, 12:39:23 PM »
What you have to do is go into the harddrive you done for example...

on /dev/hdb you have put your HOME dir on there (/home/e-smith/......)

so to get rid of that error just simply go to the dir above /home/ so you cd /home/e-smith/

then run that command

All should be fine, I had a lot of fun with that ;-)

Byte

Arjan Vroege

Re: Patitioning with 2 hard drives
« Reply #9 on: November 19, 2003, 01:00:40 AM »
I have the same problem,

I have mount my second hdd on /home/e-smith/files/.
Witch command do I have to run at /home/e-smith/files/

Please Help.