Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: monge on February 15, 2007, 12:07:39 PM

Title: Raid1, nothing happen after new disk installed as hdc
Post by: monge on February 15, 2007, 12:07:39 PM
I have read a lot about Raid1 on SME7 both in this forum, in the manual and at the Bug Tracker. I stil can't find a hint to what I shal do to get it to function.
I have a SME 7.1 witch is opdated form af clean 7.0 with an old 6 restored on top of it. Until lately with one harddisk 80Gb. I have now installed a new identical harddisk as master on the other ide-chanel.
Acording to the manual I go to #5 on the console and it says as before. no raid. I understand frem the reading that the system shuld detect the new disk så I could set it op under "disk redudancy status" on the consol.

can anybody give me a hint so I can come forword with my Raid1?

here is some data showing that the disk is seen by linux:

Feb 14 18:05:29 buens kernel:     ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
Feb 14 18:05:29 buens kernel:     ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
Feb 14 18:05:29 buens kernel: Probing IDE interface ide0...
Feb 14 18:05:29 buens kernel: hda: ST3802110A, ATA DISK drive
Feb 14 18:05:29 buens kernel: hdb: ASUS CD-S520/A, ATAPI CD/DVD-ROM drive
Feb 14 18:05:29 buens kernel: Using cfq io scheduler
Feb 14 18:05:29 buens kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 14 18:05:29 buens kernel: Probing IDE interface ide1...
Feb 14 18:05:29 buens kernel: hdc: ST3802110A, ATA DISK drive
Feb 14 18:05:29 buens kernel: ide1 at 0x170-0x177,0x376 on irq 15
Feb 14 18:05:29 buens kernel: Probing IDE interface ide2...
Feb 14 18:05:29 buens kernel: Probing IDE interface ide3...
Feb 14 18:05:29 buens kernel: Probing IDE interface ide4...
Feb 14 18:05:29 buens kernel: Probing IDE interface ide5...
Feb 14 18:05:29 buens kernel: hda: max request size: 1024KiB
Feb 14 18:05:29 buens kernel: hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
Feb 14 18:05:29 buens kernel: hda: cache flushes supported
Feb 14 18:05:29 buens kernel:  hda: hda1 hda2 hda3
Feb 14 18:05:29 buens kernel: hdc: max request size: 1024KiB
Feb 14 18:05:29 buens kernel: hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
Feb 14 18:05:29 buens kernel: hdc: cache flushes supported
Feb 14 18:05:29 buens kernel:  hdc: unknown partition table
Feb 14 18:05:29 buens kernel: hdb: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Feb 14 18:05:29 buens kernel: Uniform CD-ROM driver Revision: 3.20
Feb 14 18:05:29 buens kernel: ide-floppy driver 0.99.newide

yours
Morten Kjærgaard
www.mokj.dk
Title: Raid1, nothing happen after new disk installed as hdc
Post by: ldkeen on February 15, 2007, 12:17:01 PM
Morten,
Try the following from the command prompt:
Code: [Select]
#/sbin/e-smith/add_drive_to_raid /dev/hdc
Lloyd
Title: Raid1, nothing happen after new disk installed as hdc
Post by: monge on February 15, 2007, 06:20:30 PM
tryed the command.
the "/dev/" has to be left out.
But it did't work, look at the data here under.
so is there more hints to get out there?

Monge

Feb 15 17:51:44 buens  -- root[4565]: ROOT LOGIN ON tty2
Feb 15 17:53:44 buens login(pam_unix)[4565]: session closed for user root
Feb 15 17:58:24 buens add_drive_to_raid:
Feb 15 17:58:24 buens add_drive_to_raid: Disk /dev/hdc: 9729 cylinders, 255 heads, 63 sectors/track
Feb 15 17:58:24 buens add_drive_to_raid:
Feb 15 17:58:24 buens add_drive_to_raid: sfdisk: ERROR: sector 0 does not have an msdos signature
Feb 15 17:58:24 buens add_drive_to_raid:  /dev/hdc: unrecognized partition
Feb 15 17:58:24 buens add_drive_to_raid: Old situation:
Feb 15 17:58:24 buens add_drive_to_raid: No partitions found
Feb 15 17:58:24 buens add_drive_to_raid: New situation:
Feb 15 17:58:24 buens add_drive_to_raid: Units = blocks of 1024 bytes, counting from 0
Feb 15 17:58:24 buens add_drive_to_raid:
Feb 15 17:58:24 buens add_drive_to_raid:    Device Boot   Start       End    #blocks   Id  System
Feb 15 17:58:24 buens add_drive_to_raid: /dev/hdc1            0         -          0    0  Empty
Feb 15 17:58:24 buens add_drive_to_raid: /dev/hdc2            0         -          0    0  Empty
Feb 15 17:58:24 buens add_drive_to_raid: /dev/hdc3            0         -          0    0  Empty
Feb 15 17:58:24 buens add_drive_to_raid: /dev/hdc4            0         -          0    0  Empty
Feb 15 17:58:24 buens add_drive_to_raid: Warning: no primary partition is marked bootable (active)
Feb 15 17:58:24 buens add_drive_to_raid: This does not matter for LILO, but the DOS MBR will not boot this disk.
Feb 15 17:58:24 buens add_drive_to_raid: Successfully wrote the new partition table
Feb 15 17:58:24 buens add_drive_to_raid:
Feb 15 17:58:24 buens add_drive_to_raid: Re-reading the partition table ...
Feb 15 17:58:27 buens add_drive_to_raid:
Feb 15 17:58:27 buens add_drive_to_raid: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
Feb 15 17:58:27 buens add_drive_to_raid: to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
Feb 15 17:58:27 buens add_drive_to_raid: (See fdisk(8).)
Feb 15 17:58:27 buens kernel:  hdc:
Feb 15 17:58:30 buens add_drive_to_raid:
Feb 15 17:58:30 buens add_drive_to_raid: Waiting for things to settle down before installing GRUB...
Feb 15 17:58:45 buens add_drive_to_raid: Probing devices to guess BIOS drives. This may take a long time.
Feb 15 17:58:45 buens kernel: cdrom: open failed.
Feb 15 17:58:45 buens add_drive_to_raid:
Feb 15 17:58:45 buens add_drive_to_raid:
Feb 15 17:58:45 buens add_drive_to_raid:     GNU GRUB  version 0.95  (640K lower / 3072K upper memory)
Feb 15 17:58:45 buens add_drive_to_raid:
Feb 15 17:58:45 buens add_drive_to_raid:  [ Minimal BASH-like line editing is supported.  For the first word, TAB
Feb 15 17:58:45 buens add_drive_to_raid:    lists possible command completions.  Anywhere else TAB lists the possible
Feb 15 17:58:45 buens add_drive_to_raid:    completions of a device/filename.]
Feb 15 17:58:45 buens add_drive_to_raid: grub> device (hd0) /dev/hdc
Feb 15 17:58:45 buens add_drive_to_raid: grub> root (hd0,0)
Feb 15 17:58:45 buens add_drive_to_raid:
Feb 15 17:58:45 buens add_drive_to_raid: Error 22: No such partition
Feb 15 17:58:45 buens add_drive_to_raid: grub> setup (hd0)
Feb 15 17:58:45 buens add_drive_to_raid:
Feb 15 17:58:45 buens add_drive_to_raid: Error 12: Invalid device requested
Feb 15 17:58:45 buens add_drive_to_raid: grub> quit
Title: Raid1, nothing happen after new disk installed as hdc
Post by: CharlieBrady on February 15, 2007, 06:46:01 PM
Quote from: "monge"

But it did't work,


Please report anything which "doesn't work" via the Bug Tracker. Thanks.