Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Cincron 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...
-
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.
-
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.
-
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
-
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...
-
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.
-
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...
-
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