Koozali.org: home of the SME Server

SME Server and SATA drives

Offline bas60

  • ***
  • 53
  • +0/-0
SME Server and SATA drives
« on: November 17, 2009, 05:36:18 PM »
I have a installation of SME Server and motherboard died....

SME is installed on 80Gb IDE drive
BackupPC data is held on a 1Tb SATA

Replaced the M/B - SME Server starts ok (had to Re-Configure using admin for different LAN card)

Everything works just file - EXCEPT the SATA hard disk with BackupPC data is not accesible!!!

Is anything I can do to access data on SATA drive??

PS: I tried IDE drive in 5-6 machines BOOT just fine (in most cases need to run config server using admin)

BUT.... another installation (to test) on SATA drives only - the SME will only boot on the machine it was installed on.  :(


 

Offline piran

  • *****
  • 502
  • +0/-0
Re: SME Server and SATA drives
« Reply #1 on: November 18, 2009, 01:05:08 AM »
The 'missing' drive is probably enumerated differently
on your replacement kit. Look in the dmesg log for it.
Adjust BackupPC stuff accordingly.

Offline bas60

  • ***
  • 53
  • +0/-0
Re: SME Server and SATA drives
« Reply #2 on: November 18, 2009, 10:21:58 AM »
where do I find it, tried find / -name dmesg.log

also tried find / -name *.log - only found 1 file install.log

NB: Also, having found the file and looking a the content what do I need to change ??

Thanks in advance


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME Server and SATA drives
« Reply #3 on: November 18, 2009, 10:47:18 AM »
try

Code: [Select]
dmesg | grep sd

or
Code: [Select]
dmesg | less

HTH

Offline bas60

  • ***
  • 53
  • +0/-0
Re: SME Server and SATA drives
« Reply #4 on: November 18, 2009, 11:08:47 AM »
Thanks

Disk has changed from sdb1 to sda1

With fdisk -l /dev/sda - shows me it a single Linux partition 83 (ext3)

Changed fstab to sda1 but does not mount - any ideas?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME Server and SATA drives
« Reply #5 on: November 18, 2009, 11:21:44 AM »
yes..

I suggest you to try manually and to watch /var/log/messages

you should find there the reason of the failure

Offline bas60

  • ***
  • 53
  • +0/-0
Re: SME Server and SATA drives
« Reply #6 on: November 18, 2009, 11:50:34 AM »
During boot I see a message - special device /dev/sda1 does not exit

I the log file can't see any error - mind you I'm not sure what I'm looking for!
(the above error is NOT listed)
Although from what I can see the Maxtor 1Tb drive on sda1 is listed in the log.

After booting if I type mount -a the sda1 is mounted ok and and I can list files just fine.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME Server and SATA drives
« Reply #7 on: November 18, 2009, 12:52:12 PM »
please post your fstab file

Offline bas60

  • ***
  • 53
  • +0/-0
Re: SME Server and SATA drives
« Reply #8 on: November 18, 2009, 01:05:30 PM »
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few entries are updated during
# the template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/fstab/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/main/root          /                       ext3    usrquota,grpquota        1 1
/dev/md1                /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/main/swap          swap                    swap    defaults        0 0
/dev/sda1               /var/lib/BackupPC       ext3    noatime 0 0
/dev/hdd                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0