From owner-freebsd-security Wed Jul 25 8:15:34 2001 Delivered-To: freebsd-security@freebsd.org Received: from bjapp6.163.net (unknown [202.108.255.253]) by hub.freebsd.org (Postfix) with ESMTP id 0C04837B80C for ; Wed, 25 Jul 2001 08:12:56 -0700 (PDT) (envelope-from oywand@163.net) Received: from nietzsche (unknown [202.114.1.2]) by bjapp6.163.net (Postfix) with ESMTP id 84E351C6DFC01 for ; Tue, 24 Jul 2001 09:25:50 +0800 (CST) Message-ID: <002301c113df$9dea0940$8b01010a@nietzsche> From: "oyk" To: "'FreeBSD-Questions@FreeBSD.Org'" References: <9BF54A52E1DFD311BC1000D0B73EADFE043BFE6F@bell.logica.co.uk> <20010720175826.A5207@ringworld.oblivion.bg> Subject: Raidframe hot spare question Date: Tue, 24 Jul 2001 09:24:47 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2505.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2505.0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am a FreeBSD user. I download the 2001-06-20-RAIDframe-stabel.diff.gz from your corner. I installed it and could conveniently configure the RAID0 RAID1 RAID5. Many thanks to you for bringing Raidframe to FreeBSD. 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. 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: 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 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 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message