[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with debian on Sparc

Hi All,
I instaled Debian on my old Sparc. In this Sparc was two 18 GB SCSI HDD in software mirror. I have two 73 GB HDD and I want change this disks in this server. This is production server and on this server are much data and installed aolication. It is not possible reinstall. I change one HDD from 18 to 73 GB. I keep size partitions and one partition add (free space). Mirror is OK, but I have problem with silo, because when I edit silo and run silo, silo say me:
/etc/silo.conf appears to be valid
Fatal error: In order to install SILO you must start at least one partition on cylinder 0. Consider setting /dev/sdb3 as WHOLE_DISK (starting at 0 and ending at disk end)
and /dev/sdb1 starting on cylinder 0 (both will make your life easier)

OS booted just from 18 GB HDD, because write silo not was successfull
There is situatin on this server:

cat /proc/mdstat
Personalities : [linear] [raid1] [multipath] [faulty]
md1 : active raid1 sda2[0] sdb2[1]
     489856 blocks [2/2] [UU]

md2 : active raid1 sdb3[1] sda3[0]
     1461824 blocks [2/2] [UU]

md3 : active raid1 sdb5[1] sda5[0]
     1967872 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
     13767616 blocks [2/2] [UU]

unused devices: <none>
/dev/md0 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev)
/dev/md1 on /boot type ext3 (rw)
/dev/md2 on /var/log type ext3 (rw)
fdisk -l /dev/sdb

Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1 1 1715 13775706 fd Linux raid autodetect /dev/sdb2 1716 1777 498015 fd Linux raid autodetect /dev/sdb3 1778 1960 1469947+ fd Linux raid autodetect
/dev/sdb4            1961        8924    55938330    5  Extended
/dev/sdb5 1961 2206 1975963+ fd Linux raid autodetect
/dev/sdb6            2207        8924    53962303+  83  Linux
cat /etc/silo.conf






I search on website by google etc.
I find some advice, when it is need make label on hdd "Sun disc label"
I want make thislabel, but I make mistake. I use fdisk /dev/sda (18 GB hdd, which booted).I want this label on /dev/sdb I press "s" key and now I don't know which option. I finish chooce some option and I quit fdisk by "q" key without changes write., but , when i press

fdisk -l /dev/sda

Disk /dev/sda: 18.1 GB, 18113808896 bytes
64 heads, 32 sectors/track, 17274 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sda doesn't contain a valid partition table

and when I run fdisk
fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Drive type
  ?   auto configure
  0   custom (with hardware detected defaults)
  a   Quantum ProDrive 80S
  b   Quantum ProDrive 105S
  c   CDC Wren IV 94171-344
  d   IBM DPES-31080
  e   IBM DORS-32160
  f   IBM DNES-318350
  g   SEAGATE ST34371
  h   SUN0104
  i   SUN0207
  j   SUN0327
  k   SUN0340
  l   SUN0424
  m   SUN0535
  n   SUN0669
  o   SUN1.0G
  p   SUN1.05
  q   SUN1.3G
  r   SUN2.1G
  s   IOMEGA Jaz
Select type (? for auto, 0 for custom):

I need two advice.

1) How make correct first hdd /dev/sda, which I make problem my mistake? This was sole boot device:( I have fear from reboot. I think, when it is no problem, because on /dev/sda is silo and system and data will boot from md device 73 GB hdd (in degraded mode will be md device). But I am not sure.

2) What it is need make for change label and whole disk on /dev/sdb I need that sparc will be booted form boath HDD.and after this I change second 18 GB to 73.

Thank Mirek

Reply to: