Koozali.org: home of the SME Server

creating ibays on a new hdd

marcel

creating ibays on a new hdd
« on: December 05, 2002, 03:03:03 AM »
I have three harddrives in my server 5.5 i mounted all drives described by the board
when i create a ibay with the same name in witch i mounted the drives.
the ibay is not accessible.(/home/e-smith/files/ibays)
when i mount like /new the ibay is accessible but only ad the first harddrive hda1

Can any one tell me what seems te be the problem, or give me any direction to look for.
with regards
marcel

Eerikki Peltokorpi

Re: creating ibays on a new hdd
« Reply #1 on: December 05, 2002, 09:36:55 AM »
Hello marcel.


Only thing you have to do is first create ibay, and then mount the new drive to that ibay if you think to use that new drive to hole ibay (files/cgi-bin/html) you have to create those folders to drive and give right access rights to folders.

I my self use those drives mounted this way

/dev/hdb1 /home/e-smith/files/ibay/backup/files/
/dev/hdc1 /home/e-smith/files/ibay/backup/html/

So i have 3 drives in one ibay :-) because that cgi-bin folder is in main drive.

-Eerikki Peltokorpi-

marcel

Re: creating ibays on a new hdd
« Reply #2 on: December 05, 2002, 01:35:35 PM »
Thanks Eerikki for ansering

I did mount hdb1 for example  /dev/hdb       /home/e-smith/files/ibays/data in fstab
When i mount for example in /dev/hdb/        /data                    ext2          defaults   1 2
It is still mounted on hda and not on hdb.
With the first example,  the networkdrive is not accessible ,
With the second,  example the networkdrive is accessible but is not on the wanted hdd.
marcel

Eerikki Peltokorpi

Re: creating ibays on a new hdd
« Reply #3 on: December 05, 2002, 04:05:44 PM »
Hello again.


I havde same kind of problem with fstab when i put my second hd in system. i did managed this problem by making a script to roots home directory witch i run when my server is rebooted. In script i write mount /dev/hdc1 /home/....etc....

Now i just have to ssh to system when servver has encount a restart.

thank's to E-Smith that doesn't happen too offen. :-)

-Eerikki Peltokorpi-

John

Re: creating ibays on a new hdd
« Reply #4 on: December 05, 2002, 06:41:38 PM »
Hello Marcel,

What I understandfrom you question:
 You have 3 HD in your system
 You want to have on every disk differd IBAYS

When you make a IBAY by the SME manager, the IBAY shall placed on the first Harddisk (standard SME drive)

You must the move these directory to your other mounting point off your seccond are third drive.

Then you must change in the file \etc\ftab and look for the row
"LABEL=/boot " Change here the row for the a Ibay you have made

example (in the orginal is it /dev/hdc1 /.....etc)

/dev/hdd1 /home/e-smith/files/ibays/mp3/html ext2 defaults 1 2
save the file and make and give the command "mount -a"

You cant use on differend HD the same IBAY's names because the IBAY name is placed in de SAMBA list to display it as a directory on your server.

You cant use anywhere the same name for IBAYS, mouting point's ect. Your System should only find the first on your server.

Goodluck

John

marcel

Re: creating ibays on a new hdd
« Reply #5 on: December 06, 2002, 11:50:25 PM »
thanks, for your reaction.
But i am afraid that it does'nt do the trick.May be i did not explain the problem correctly i wil try again.
What ever i do every ibay i make its only mounted at the first hd(hda1)
i tried every example i found on the boards, even yours
I am pretty sure that i mounted my drives the right way, because i dit not have this problem with the older version of e-smith so  maybe this is a bug, in server 5.5
dmesg shows me the right drives so the drives are reconized by server 5.5
I have not duplicated names in my system.i fdisk all new drives with no errors and
mkfs with no errors.
I shell give a example of what i did.
fdisk /dev/hdb
option N: from first to last
option W:
mkfs /dev/hdb1: option p or e all disk answer :yes
mkdir /mp  or mkdir /home/e-smith/files/ibays/mp
fstab /dev/hdb1   /home/e-smith/files/ibays/mp
mount /dev/hdb1
And then i create witth the manager pannel a new ibay
result: ibay is not on hdb1 but on hda1 i can see that from the size of the disks

do you stil have some idees
with regards and thanks
marcel

E Poizot

Re: creating ibays on a new hdd
« Reply #6 on: December 20, 2002, 01:54:39 PM »
Hi,
I've got also the same problem.
Did you resolved it ?
I should be interest on your solution.

Thanks

E.P.

Peter

Re: creating ibays on a new hdd
« Reply #7 on: December 23, 2002, 08:25:31 PM »
Hi,

I am a newbie to linux,

I wanted to add a 2nd hdd to my e-smith server and found your topic.
Did exactly what you did Marcel... and it works for me.

Thanx

Peter
Netherlands

Lynn

Re: creating ibays on a new hdd
« Reply #8 on: December 23, 2002, 10:22:30 PM »
When you create an ibays, set the Group to Everyone, User access via file sharing or user ftp to Write = group, Read = group.

And at least with version 5.5, you need to reset the password for the iBay after creating it. Even if you dont use passwords. You'll see that highlighted in red.