Koozali.org: home of the SME Server

More than 1 Drive?

Cincron

More than 1 Drive?
« on: April 28, 2002, 09:13:54 PM »
Can SME support more than one IDE hard drive, that is not in a RAID.

Microjunk example..
c-drive
d-drive
e-drive
f-drive
g-drive

It would be nice to use SME as a Home File Server, so I can put all my digital pictures, drivers, video's, my Linux ISO's, Backed Up Games, and other junk...


Maybe there is a Samba Upgrade that will allow me to do this?

Then If this MultiDrive is possible... then I am going to bother you again for a way I can use SME for a PrintServer and share my HP LaserJet 1220  with my 3 clients.


Thanks in advance for any help you can lend...

chris meredith

Re: More than 1 Drive?
« Reply #1 on: April 29, 2002, 07:19:13 AM »
I would assume you could put in as many drives you want and mount them where you want.  You would need to manually edit the templates to automatically mount those drives on boot, but I wouldn't think that would be that hard.

Niklas Axelsson

Re: More than 1 Drive?
« Reply #2 on: April 29, 2002, 11:11:50 AM »
Check out this link on one of the lists

http://forums.contribs.org/index.php?topic=13278.msg50278#msg50278

I've used for two disks, works wonderful !

Otherwise you have to install SME with only one disk in place and after that install the other disks, create filesystem and mount them.

matjaz

Re: More than 1 Drive?
« Reply #3 on: April 30, 2002, 04:48:03 AM »
here is /etc/fstab I use on my server


LABEL=/                 /                       ext2    usrquota,grpquota        1 1
LABEL=/boot             /boot                   ext2    defaults        1 2
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/hda5               swap                    swap    defaults        0 0
/dev/hdb1               /mnt/hdb                ext2    defaults        1 2
/dev/hdc1               /mnt/hdc                ext2    defaults        1 2
/dev/hdd1               /mnt/hdd                ext2    defaults        1 2

4 hard drives mounted, and then statically linked to iBays

Cincron

Re: More than 1 Drive?
« Reply #4 on: April 30, 2002, 06:32:45 AM »
matjaz wrote:
>
> here is /etc/fstab I use on my server
>
>
> LABEL=/                 /                       ext2  
> usrquota,grpquota        1 1
> LABEL=/boot             /boot                   ext2  
> defaults        1 2
> /dev/cdrom              /mnt/cdrom              iso9660
> noauto,owner,ro 0 0
> /dev/fd0                /mnt/floppy             auto  
> noauto,owner    0 0
> none                    /proc                   proc  
> defaults        0 0
> none                    /dev/pts                devpts
> gid=5,mode=620  0 0
> /dev/hda5               swap                    swap  
> defaults        0 0
> /dev/hdb1               /mnt/hdb                ext2  
> defaults        1 2
> /dev/hdc1               /mnt/hdc                ext2  
> defaults        1 2
> /dev/hdd1               /mnt/hdd                ext2  
> defaults        1 2
>
> 4 hard drives mounted, and then statically linked to iBays



So then when I make a new Ibay via the SME Web interface..... Will I get to choose what hd it goes on?

If not, and that drive fills up, does it just continue to the next nd?

THanks for your help...

matjaz

Re: More than 1 Drive?
« Reply #5 on: April 30, 2002, 06:52:25 AM »
as I mount them, no, you just ssh to server, go to to /home/e-smith/files/ibays/xxxxxxx remove files and make

ln -s /mnt/hdb /home/e-smith/files/ibays/xxxxxxx/files

i don't really like to have disks out my control, anyway you can write ......../ibay/files instead of my /mnt/hdb, but that will disable you to have multiple shares on one disk, at least overlapped ones

continue....?? well you asked for separated drives. Make raid-0 partition then between two or more disks if you wanna that option, continuing partition on other drive is possible, but I must admit I had really hard moments, when one of my disks broke and after that I'm not using that option again.

Cincron

Re: More than 1 Drive?
« Reply #6 on: April 30, 2002, 09:18:19 PM »
Your first option will work great.. I can just share hdb, hdc, hdd with the smb.conf and it will show up on my network.... I can probably suffer through that..

Now what I dont know is will these other harddrives automount instead of haveing to mount them like you do a CD-Rom?

If not how would I go about getting them to mount during system start-up...



PS... thanks for putting up with my dumb ass...

matjaz

Re: More than 1 Drive?
« Reply #7 on: April 30, 2002, 09:23:01 PM »
Yes they are automounted

/dev/hdb1 /mnt/hdb ext2 defaults 1 2

if you don't want them to automount do it like this

/dev/hdb1 /mnt/hdb ext2 defaults 0 0