Koozali.org: home of the SME Server

help AddExtraHardDisk loss my server "Internal Server Error"

Offline mgb

  • *****
  • 558
  • +0/-0
help AddExtraHardDisk loss my server "Internal Server Error"
« on: September 17, 2008, 01:28:32 PM »
add an extra hard disk to an existing sme 7.3
1 disk existing  is ide /dev/md1
2 new disk is sata  /dev/sda1
i look in http://wiki.contribs.org/AddExtraHardDisk
install the newdisk
a- IBAYNAME=userh
b- allstaff=data

 root@mailomer ~]#  chown -R admin:data /mnt/newdisk/
[root@mailomer ~]# ln -s /mnt/newdisk/idays/userh  /home/e-smith/files/ibays/newdisk
[root@mailomer ~]# ls /home/e-smith/files/ibays/newdisk
cgi-bin  files  html  userh
[root@mailomer ~]# db accounts setprop userh FollowSymLinks enabled
[root@mailomer ~]# signal-event ibay-modify newdisk
[root@mailomer ~]# mount -a
[root@mailomer ~]# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
              ext3    37317304  35744252         0 100% /
/dev/md1      ext3      101018     12507     83295  14% /boot
none         tmpfs      253108         0    253108   0% /dev/shm
/dev/sda1     ext3   480719056   3154496 453145360   1% /mnt/newdisk


[root@mailomer ~]# quotacheck -vugc /dev/sda1
quotacheck: Scanning /dev/sda1 [/mnt/newdisk] done
quotacheck: Checked 97 directories and 6637 files


reboot

the server not up is stop error sda1  type (ctrl+D) TYPE PASSWOER
to mount the server type the password
mount -a
df -T
is mount all (/dev/md1     /dev/sda1     )

type init 7
the srver start to up
 Only service smb  is work

http://myserver/server-manager  is not work good is error 
help to fix   find woht not good in
« Last Edit: September 17, 2008, 07:41:05 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: help AddExtraHardDisk loss my server "Internal Server Error"
« Reply #1 on: September 17, 2008, 09:41:58 PM »
add an extra hard disk to an existing sme 7.3
1 disk existing  is ide /dev/md1
2 new disk is sata  /dev/sda1
...
reboot
...
the server not up is stop error sda1  type (ctrl+D) TYPE PASSWOER
to mount the server type the password
mount -a
df -T
is mount all (/dev/md1     /dev/sda1     )

Your description is a bit confusing  :-?   most important: md1 (or mdx) is an MD-DEVICE ! (raid device _not_ IDE)
BUT LET'S GUESS (with experience):

YOUR BOOT DEVICE changed to your new drive and after your install there is just "/boot" but no "/"  or root...
...if I am not totaly wrong your Bios is now trying to boot from sda1 ...whereas you have the system still on HDA  (only)
1. Unplug the SATA cable and SME should work as before (again)...
then tell your BIOS TO 1st BOOT FROM HDA (Master IDE0)
2. ...if things are incorrect for sda but the SME is running on 1
 -> follow the above (correct) link for a 2nd time  :-D

Regards
Reinhold
...hoping not to be to confusing in the above simple explanation  :D
............

Offline mgb

  • *****
  • 558
  • +0/-0
Re: help AddExtraHardDisk loss my server "Internal Server Error"
« Reply #2 on: September 18, 2008, 05:43:47 AM »
type
root@mailomer ~]# mount -a
[root@mailomer ~]# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
              ext3    37317304  35744252         0 100% /
/dev/md1      ext3      101018     12507     83295  14% /boot
none         tmpfs      253108         0    253108   0% /dev/shm
/dev/sda1     ext3   480719056   3154496 453145360   1% /mnt/newdisk

md1=is ide ? 37g =old disk
sda1=is sata 500g=new disk ?
Thanks all for helping
Skype yosii2009

Offline electroman00

  • *****
  • 491
  • +0/-0
Re: help AddExtraHardDisk loss my server "Internal Server Error"
« Reply #3 on: September 18, 2008, 12:10:05 PM »
ln -s /mnt/newdisk/idays/userh  /home/e-smith/files/ibays/newdisk