Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: wires on April 05, 2009, 03:57:33 AM
-
trying to add another harddisk so i am following the guide to add extra disk at http://wiki.contribs.org/AddExtraHardDisk but when i try to add the new disk to raid 1 i get an error saying:
mdadm: '1' is an unusual number of drives for an array, so it is probably a mistake. If you really mean it you will need to specify --force before setting the number of drivers.
this is the command i do:
mdadm --create --verbose /dev/md3 --level=1 --raid-devices=1 /dev/hdc1
this command gives me something perhaps with the answer but i dont want to do anything until someone confirms it:
mdadm --detail --scan --verbose
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=
i guess i should change --raid-devices= from '1' to '2' ??
-
What are you actually trying to do?
Are you adding a disk to your raid array of the main system?
Or are you trying to add additional drive space using another drive?
The How-to is for the latter.
If it is the latter, why are you trying to create a raid array with one disk?
If your intent is to add one additional disk (non-raid) then skip the raid steps.
C
-
oh!.. my bad. thanks for the heads up.
-
i added the new harddisk but i am having permissions issues. i am trying to SymLink an IBAYNAME to the new harddisk..
1. create IBAYNAME with server-manager (reset password and everything...)
2. mkdir -p /mnt/newdisk/ibays/IBAYNAME
3. chown -R root:family /mnt/newdisk/ibays/IBAYNAME
4. cp -ai /home/e-smith/files/ibays/IBAYNAME/* /mnt/newdisk/ibays/IBAYNAME
[ at this point IBAYNAME still works (is accessible) from the internet ]
5. rm -rf /home/e-smith/files/ibays/IBAYNAME
6. ln -s /mnt/newdisk/ibays/IBAYNAME /home/e-smith/files/ibays/IBAYNAME
IBAYNAME at this point is no more accessible.. Forbidden error
any ideas what i might be doing wrong ??
i also did make it available from the internet (it wasn't necessary in my opinion)
db accounts setprop IBAYNAME FollowSymLinks enabled
signal-event ibay-modify IBAYNAME
-
If you put a password on the ibay, it's likely that it will be accessed through the ibay name and password it was given
-
of course... still not working, doesnt allow me to enter a password/user..
-
It looks like you were following: http://wiki.contribs.org/AddExtraHardDisk#Alternative_3:_Mounting_and_Symlinking but didn't do step 4.4.
can you tell us the output of:
ll -a /mnt/newdisk/ibays/IBAYNAME/
I'll be away for a few days so may not again reply until this weekend.
-
current permissions in my disk2 newdisk/ibayname:
total 24
drwxr-xr-x 6 root root 4096 Mar 30 22:07 .
drwxr-xr-x 5 root root 4096 Apr 5 22:15 ..
drwxrws--- 2 root family 4096 Oct 13 16:04 .AppleDesktop
drwxrws--- 2 root family 4096 Oct 13 16:04 cgi-bin
drwxrws--- 2 root family 4096 Apr 5 10:33 files
drwxrws--- 6 root family 4096 Mar 31 22:48 html
--> permissions are identical to this for another ibay i have in disk1:
total 24
drwxr-xr-x 6 root root 4096 Mar 30 22:07 .
drwxr-xr-x 5 root root 4096 Apr 5 22:15 ..
drwxrws--- 2 root family 4096 Oct 13 16:04 .AppleDesktop
drwxrws--- 2 root family 4096 Oct 13 16:04 cgi-bin
drwxrws--- 2 root family 4096 Apr 5 10:33 files
drwxrws--- 6 root family 4096 Mar 31 22:48 html
still cannot access ibay in disk2.
-
The question is are the permissions the same as the original ibay?
In server manager is the group set to "family"?
You also have it set to "read-group, write group"
I'm pretty sure this is just a permissions related issue somewhere.
At what point are you getting the "Forbidden Error"? Is this from a browser or when trying to access the samba share?