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

Re: trouble with second raid set



On Tue, 3 Feb 2004 10:34:04 +0100
Thierry Deval <thierry@deval.be> wrote:

> 
> Frankly you don't give enough info for me daring to give you any
> clue...
> 
> What are your {wd,raid}* disklabels, raid*.conf ?
> Are your raid's autoconfig features activated, or are you setting them
> up via /etc/raid*.conf ?
> The only thing I can guess is that you put a mount entry for 
> /dev/raid1a in your /etc/fstab...
> 

Just thought it might be something blindingly obvious, sorry about that.
Heres more info...

# cat /etc/fstab                                                        
/dev/raid0a / ffs rw 1 1
/dev/raid0d /home ffs rw,nodev,nosuid 1 2
/dev/raid0e /tmp ffs rw,nodev,nosuid 1 2
/dev/raid0f /usr ffs rw,nodev 1 2
/dev/raid0g /var ffs rw,nodev,nosuid 1 2
#/dev/raid1a /data ffs rw,nodev,nosuid 1 2

(it only barfs when that last line is uncommented)

# disklabel -E raid1
disklabel: ioctl DIOCGDINFO: Device not configured

(however I HAVE already done all of the following.....)


# cat /root/raid1.conf.new                                              
START array
# numRow numCol numSpare
1 2 0

START disks
/dev/sd0e
/dev/sd1e

START layout
# sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_1
128 1 1 1

START queue
fifo 100

# configure array
raidctl -C /root/raid1.conf.new raid1
# initialize the component labels with ID '100'
raidctl -I 101 raid1
# initialize the parity set
raidctl -iv raid1

# raidctl -A yes raid1
raidctl: ioctl (RAIDFRAME_SET_AUTOCONFIG) failed

As I said raid0 is working fine...
thx
Gary