Date: Tue, 24 Jul 2001 11:58:46 +0800 From: Xia Tao <wtxiatao@hust.edu.cn> To: scottl@freebsd.org, FreeBSD-Questions@FreeBSD.Org Subject: Raidframe hot spare question Message-ID: <001a01c113f4$f0584830$6401010a@rhapsody>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312"> <META content=3D"MSHTML 6.00.2517.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hi, </FONT></DIV> <DIV><FONT face=3DArial size=3D2> 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 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>conveniently configure the RAID0 RAID1 = RAID5. Many=20 thanks to you for bringing Raidframe to FreeBSD.</FONT></DIV> <DIV> 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,</DIV> <DIV>QLogic qla2200 Fibre Channel disk adapter</DIV> <DIV> &n= bsp; &nb= sp; =20 </DIV> <DIV><FONT face=3DArial size=3D2> But, I have a troublesome = question about the=20 RAID5 configuration with hot spare. Now I show my configuration as=20 follow</FONT></DIV> <DIV><FONT face=3DArial size=3D2>(hotspare.conf):</FONT></DIV> <DIV><FONT face=3DArial size=3D2> START=20 array<BR> 1 3 1<BR> = START=20 disks<BR> = /dev/da0s1e<BR> =20 /dev/da1s3e<BR> /dev/da2s3e<BR> &= nbsp; =20 START spare<BR> = /dev/da3s3e<BR> START=20 layout<BR> 32 1 1 5<BR> = START=20 queue<BR> fifo 100</FONT></DIV> <DIV><FONT face=3DArial size=3D2> Because I had = configured=20 two RAID5 test and used /dev/raid0 & /dev/raid1, I must use = /dev/raid2=20 to configure.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>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,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I had to reboot by hand. After reboot, = I want to=20 use the RAID5 configuration. I command "raidctl -c=20 /etc/hotspare.conf" ,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>but the box reboot again itself. What a = strange=20 phenomena! I tried again, the result is the same. I don't=20 understand.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Can you tell me about it? I will wait = your letter.=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2> Thank you very=20 much.</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2> &nbs= p;  = ; = &= nbsp; &n= bsp; &nb= sp; &nbs= p;  = ; = &= nbsp; =20 yours remote friend</FONT></DIV> <DIV><FONT face=3DArial size=3D2>PS:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>This is the RAID5 with hot spare df=20 information:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Filesystem = 1K-blocks =20 Used Avail Capacity Mounted=20 on<BR>/dev/ad1s1a 99183 =20 46722 44527 51% =20 /<BR>/dev/ad1s1f 5572507 1148536 =20 3978171 22% =20 /usr<BR>/dev/ad1s1e = 19815 =20 770 17460 4% = /var<BR>procfs  = ; =20 4 =20 4 0 = 100% =20 /proc<BR>/dev/raid2c =20 1977111 1 =20 1818942 0% = /usr/hotmnt</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I has test the hot spare, it = succeeds.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Then, I reboot, I run fsck /dev/raid2, = the system=20 information is: </FONT></DIV> <DIV><FONT face=3DArial size=3D2>Can't open /dev/raid2: Device not=20 configured</FONT></DIV> <DIV><FONT face=3DArial size=3D2>then I run raidctl -c = /etc/hotspare.conf, the=20 system reboot itself, information is:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Waiting for DAG engine to start = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>Warning: p_fd fields not = set</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Hosed component: = /dev/da1s3e</FONT></DIV> <DIV><FONT face=3DArial size=3D2>raid2: Component /dev/da0s1e being = configured at=20 row: 0 col:0</FONT></DIV> <DIV><FONT face=3DArial = size=3D2> =20 Row:0 Column; 0 Num Rows: 1 Num Columns: 3</FONT></DIV> <DIV><FONT face=3DArial = size=3D2> =20 Version:2 Serial Number: 123456 Mod Counter:108</FONT></DIV> <DIV><FONT face=3DArial = size=3D2> =20 Clean: Yes Status: 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>raid2: Ignoring = /dev/da1s3e</FONT></DIV> <DIV><FONT face=3DArial size=3D2>raid2: Component /dev/da2s3e being = configured at=20 row; 0 col: 2</FONT></DIV> <DIV><FONT face=3DArial = size=3D2> =20 Row; 0 Column: 2 Num Rows: 1 Num Columns: 3</FONT></DIV><FONT = face=3DArial size=3D2> <DIV><FONT face=3DArial = size=3D2> =20 Version:2 Serial Number: 123456 Mod Counter:108</FONT></DIV> <DIV><FONT face=3DArial = size=3D2> =20 Clean: Yes Status: 0</FONT></DIV> <DIV>WARNING: truncating disk at r 0 c 1 to 2040128=20 blocks </DIV> <DIV>WARNING: truncating disk at r 0 c 2 to 2040128 blocks</DIV> <DIV>panic: lockmgr: pid 317, not exclusive lock holder 316 = unlocking</DIV> <DIV> </DIV> <DIV>syncing disks.... 10 8 6 4 2 </DIV> <DIV>done</DIV> <DIV>Uptime: 4m16s</DIV> <DIV> </DIV> <DIV>That's all,Now, the box = halt.</FONT></DIV></FONT></DIV></BODY></HTML> --Boundary_(ID_LTdBeu1lMFF2KaJsJsfjDw)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01c113f4$f0584830$6401010a>