From owner-freebsd-questions Mon Jul 23 20:59: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hust.edu.cn (mail.hust.edu.cn [202.112.20.140]) by hub.freebsd.org (Postfix) with ESMTP id 400B137B403; Mon, 23 Jul 2001 20:58:49 -0700 (PDT) (envelope-from wtxiatao@hust.edu.cn) Received: from rhapsody ([202.114.1.2]) by mail.hust.edu.cn (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0GGY00MAILNPAW@mail.hust.edu.cn>; Tue, 24 Jul 2001 11:57:25 +0800 (CST) Date: Tue, 24 Jul 2001 11:58:46 +0800 From: Xia Tao Subject: Raidframe hot spare question To: scottl@freebsd.org, FreeBSD-Questions@FreeBSD.Org Message-id: <001a01c113f4$f0584830$6401010a@rhapsody> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2517.0000 Content-type: MULTIPART/ALTERNATIVE; BOUNDARY="Boundary_(ID_LTdBeu1lMFF2KaJsJsfjDw)" X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2517.0000 X-Priority: 3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --Boundary_(ID_LTdBeu1lMFF2KaJsJsfjDw) Content-type: text/plain; charset=gb2312 Content-transfer-encoding: quoted-printable Hi,=20 I am a FreeBSD user. I download the = 2001-06-20-RAIDframe-stable.diff.gz from your corner. I installed it = and could=20 conveniently configure the RAID0 RAID1 RAID5. Many thanks to you for = bringing Raidframe to FreeBSD. My hardware : SEAGATE, ST318275FC X 3( Fibre Channel harddisk, 3 = pieces), SEAGATE, ST19171FC (Fibre Channel disk), Maxtor 5T030H3(IDE = disk , FreeBSD system disk), Intel 815 motherboard, Intel 100/PRo NIC, QLogic qla2200 Fibre Channel disk adapter =20 But, I have a troublesome question about the RAID5 configuration with = hot spare. Now I show my configuration as follow (hotspare.conf): START array 1 3 1 START disks /dev/da0s1e /dev/da1s3e /dev/da2s3e START spare /dev/da3s3e START layout 32 1 1 5 START queue fifo 100 Because I had configured two RAID5 test and used /dev/raid0 & = /dev/raid1, I must use /dev/raid2 to configure. Then, I do the work as the manual of raidctl. That's OK. Everything is = OK. Now, I reboot my FreeBSD box. The box halted, I had to reboot by hand. After reboot, I want to use the RAID5 = configuration. I command "raidctl -c /etc/hotspare.conf" , but the box reboot again itself. What a strange phenomena! I tried = again, the result is the same. I don't understand. Can you tell me about it? I will wait your letter.=20 Thank you very much. = yours remote = friend PS: This is the RAID5 with hot spare df information: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad1s1a 99183 46722 44527 51% / /dev/ad1s1f 5572507 1148536 3978171 22% /usr /dev/ad1s1e 19815 770 17460 4% /var procfs 4 4 0 100% /proc /dev/raid2c 1977111 1 1818942 0% /usr/hotmnt I has test the hot spare, it succeeds. Then, I reboot, I run fsck /dev/raid2, the system information is:=20 Can't open /dev/raid2: Device not configured then I run raidctl -c /etc/hotspare.conf, the system reboot itself, = information is: Waiting for DAG engine to start=20 Warning: p_fd fields not set Hosed component: /dev/da1s3e raid2: Component /dev/da0s1e being configured at row: 0 col:0 Row:0 Column; 0 Num Rows: 1 Num Columns: 3 Version:2 Serial Number: 123456 Mod Counter:108 Clean: Yes Status: 0 raid2: Ignoring /dev/da1s3e raid2: Component /dev/da2s3e being configured at row; 0 col: 2 Row; 0 Column: 2 Num Rows: 1 Num Columns: 3 Version:2 Serial Number: 123456 Mod Counter:108 Clean: Yes Status: 0 WARNING: truncating disk at r 0 c 1 to 2040128 blocks =20 WARNING: truncating disk at r 0 c 2 to 2040128 blocks panic: lockmgr: pid 317, not exclusive lock holder 316 unlocking syncing disks.... 10 8 6 4 2=20 done Uptime: 4m16s That's all,Now, the box halt. --Boundary_(ID_LTdBeu1lMFF2KaJsJsfjDw) Content-type: text/html; charset=gb2312 Content-transfer-encoding: quoted-printable
Hi,
   I am a FreeBSD user. I = download the=20 2001-06-20-RAIDframe-stable.diff.gz from your corner.  I installed = it and=20 could
conveniently configure the RAID0 RAID1 = RAID5. Many=20 thanks to you for bringing Raidframe to FreeBSD.
  My hardware : SEAGATE, ST318275FC X 3( Fibre Channel = harddisk, 3=20 pieces),  SEAGATE, ST19171FC (Fibre Channel disk), Maxtor = 5T030H3(IDE disk=20 , FreeBSD system disk), Intel 815 motherboard, Intel 100/PRo NIC,
QLogic qla2200 Fibre Channel disk adapter
           &n= bsp;           &nb= sp; =20
  But, I have a troublesome = question about the=20 RAID5 configuration with hot spare. Now I show my configuration as=20 follow
(hotspare.conf):
     START=20 array
     1 3 1
     = START=20 disks
     = /dev/da0s1e
    =20 /dev/da1s3e
     /dev/da2s3e
  &= nbsp; =20 START spare
     = /dev/da3s3e
    START=20 layout
     32 1 1 5
     = START=20 queue
      fifo 100
     Because I had = configured=20 two RAID5 test and used /dev/raid0 & /dev/raid1,  I must use = /dev/raid2=20 to configure.
Then, I do the work as the manual of = raidctl.=20 That's OK. Everything is OK. Now, I reboot my FreeBSD box. The box=20 halted,
I had to reboot by hand. After reboot, = I want to=20 use the RAID5 configuration. I command "raidctl -c=20 /etc/hotspare.conf" ,
but the box reboot again itself. What a = strange=20 phenomena! I tried again, the result is the same. I don't=20 understand.
Can you tell me about it? I will wait = your letter.=20
    Thank you very=20 much.
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;          =20 yours remote friend
PS:
This is the RAID5 with hot spare df=20 information:
Filesystem  = 1K-blocks    =20 Used    Avail Capacity  Mounted=20 on
/dev/ad1s1a     99183   =20 46722    44527    51%   =20 /
/dev/ad1s1f   5572507  1148536 =20 3978171    22%   =20 /usr
/dev/ad1s1e     = 19815     =20 770    17460     4%    = /var
procfs          = ;   =20 4       =20 4        0   = 100%   =20 /proc
/dev/raid2c  =20 1977111        1 =20 1818942     0%    = /usr/hotmnt
I has test the hot spare, it = succeeds.
Then, I reboot, I run fsck /dev/raid2, = the system=20 information is:
Can't open /dev/raid2: Device not=20 configured
then I run raidctl -c = /etc/hotspare.conf, the=20 system reboot itself, information is:
Waiting for DAG engine to start =
Warning: p_fd fields not = set
Hosed component: = /dev/da1s3e
raid2: Component /dev/da0s1e being = configured at=20 row: 0 col:0
        =20 Row:0 Column; 0 Num Rows: 1 Num Columns: 3
        =20 Version:2 Serial Number: 123456 Mod Counter:108
        =20 Clean: Yes Status: 0
raid2: Ignoring = /dev/da1s3e
raid2: Component /dev/da2s3e being = configured at=20 row; 0 col: 2
        =20 Row; 0 Column: 2 Num Rows: 1 Num Columns: 3
        =20 Version:2 Serial Number: 123456 Mod Counter:108
        =20 Clean: Yes Status: 0
WARNING: truncating disk at r 0 c 1 to 2040128=20 blocks      
WARNING: truncating disk at r 0 c 2 to 2040128 blocks
panic: lockmgr: pid 317, not exclusive lock holder 316 = unlocking
 
syncing disks.... 10 8 6 4 2
done
Uptime: 4m16s
 
That's all,Now, the box = halt.
--Boundary_(ID_LTdBeu1lMFF2KaJsJsfjDw)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message