From owner-freebsd-scsi@FreeBSD.ORG Sun Dec 28 11:21:31 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE3F106564A for ; Sun, 28 Dec 2008 11:21:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 122978FC08 for ; Sun, 28 Dec 2008 11:21:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LGti5-0009Dv-Uo; Sun, 28 Dec 2008 13:21:29 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Erik Scholtz, ArgonSoft GmbH" In-reply-to: <49575045.4090601@argonsoft.de> References: <4956B01B.3000509@argonsoft.de> <49575045.4090601@argonsoft.de> Comments: In-reply-to "Erik Scholtz, ArgonSoft GmbH" message dated "Sun, 28 Dec 2008 11:09:09 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sun, 28 Dec 2008 13:21:29 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: Problem with disklabel and filesystem over iSCSI X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 11:21:31 -0000 > Hi, >=20 > I tested the default iSCSI_initiator shipped with 7.0, 7.1RC1 and=20 > 7.1RC2. Additionally i changed it with that version from=20 > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.1.tar.gz with each = > release. The effect is with all combinations the same: >=20 > 7.0 native / 7.0 + iscsi-2.1 > 7.1RC1 native / 7.1RC1 + iscsi-2.1 > 7.2RC2 native / 7.2RC2 + iscsi-2.1 >=20 >=20 > Additionally info + tests: > -------------------------- > 1) I also checked it for ufs in dangerously dedicated mode - also the=20 > same effect. >=20 > 2) After the reboot, the iSCSI device is back on /dev/da0 as expected. >=20 > 3) The SAN system is a Hardware-SAN (iStor / GigaStor), that works=20 > without any problems under Ubuntu, CenOS, MacOS X, Windows and RedHat=20 > (all tested the last days) >=20 > 4) I could get ufs to work with the following (terribly wrong) partitio= n=20 > map: >=20 > 0 40 39 - 12 unused 0 > 40 409600 409639 da0s1 165 FreeBSD 0 > 409640 1928708016 1929117655 da0s2 165 FreeBSD 0 > 1929117656 262184 1929379839 - 12 unused 0 >=20 > With this partition map, newfs runs without any failure. The filesystem= =20 > is heavily damaged and can be repaired with fsck. After repairing, the = > fs can be mounted and used as normal. But when running a fsck, thousand= s=20 > of errors must be corrected and the result is an empty disk again (when= =20 > answering all with YES - I ran it with -y flag, since there are too man= y=20 > questions to be answered manually, even when copying only three big=20 > files). ok, so the problem is on shutdown/reboot. Buffers don't seem to be flushe= d. To check if this is correct, try shutdown, then under single user unmount= the iscsi, sync, sync, reboot danny