From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 02:59:59 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66935106566B for ; Mon, 12 Jan 2009 02:59:59 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from smtp123.rog.mail.re2.yahoo.com (smtp123.rog.mail.re2.yahoo.com [206.190.53.28]) by mx1.freebsd.org (Postfix) with SMTP id EBE5A8FC17 for ; Mon, 12 Jan 2009 02:59:58 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: (qmail 74980 invoked from network); 12 Jan 2009 02:33:17 -0000 Received: from unknown (HELO wawanesa.iciti.ca) (gtodd@99.246.4.156 with login) by smtp123.rog.mail.re2.yahoo.com with SMTP; 12 Jan 2009 02:33:17 -0000 X-YMail-OSG: vRzcrfgVM1lmL5xxL3.zBkEKqy2daZsFHSQzxYtxKzBDhr4UaOM6pBKvDI6G6kaIAw-- X-Yahoo-Newman-Property: ymail-3 Received: from wawanesa.iciti.ca (wawanesa.iciti.ca [192.168.2.4]) by wawanesa.iciti.ca (Postfix) with ESMTP id EFCBB99 for ; Sun, 11 Jan 2009 21:33:31 -0500 (EST) Message-ID: <496AABFB.4060404@bellanet.org> Date: Sun, 11 Jan 2009 21:33:31 -0500 From: Graham Todd User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: RE: iscsi client hangs performing I/O on a dead target X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 02:59:59 -0000 Hi, I believe the FreeBSD foundation is supporting development that may help with this (the "Safe Removal of Active Disk Devices" project)? The focus is on USB devices since, as noted in the newsletter, "[t]he removable USB disk causing a crash turns out to be our #1 reported bug." :-) Hopefully the work can be useful in a generic way since panics induced by disappearing USB devices are easier to control than those caused by disappearing network storage. cheers, From: http://www.freebsdfoundation.org/press/2008Dec-newsletter.shtm ... [snip] ... The first project to get off the ground is to make FreeBSD tolerate the removal of active disk devices, such as when a USB flash device with a mounted filesystems is physically detached by a user. Currently the system may panic in this situation. The work involves adding proper reference counting to strategic portions of the kernel and modifying filesystems to properly handle "device lost" errors. Edward Tomasz Napierala is the developer working on this project. ... From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 09:35:02 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945F41065672 for ; Mon, 12 Jan 2009 09:35:02 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 456918FC12 for ; Mon, 12 Jan 2009 09:35:02 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LMJCI-0007Ar-Jh for freebsd-fs@freebsd.org; Mon, 12 Jan 2009 09:35:02 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Jan 2009 09:35:02 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Jan 2009 09:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 12 Jan 2009 10:33:18 +0100 Lines: 39 Message-ID: References: <6c1e076a0901070247l7c006efajda8fddee84c337a@mail.gmail.com> <49653A7D.30906@modulus.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig896FE1AB13EAA89F0C9B6A61" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <49653A7D.30906@modulus.org> X-Enigmail-Version: 0.95.0 Sender: news Cc: freebsd-scsi@freebsd.org Subject: Re: iscsi client hangs performing I/O on a dead target X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 09:35:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig896FE1AB13EAA89F0C9B6A61 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andrew Snow wrote: > Danny Braniss wrote: >> freebsd likes to >> panic if a disc goes away, so don't hold your breath for a solution so= on. >=20 >=20 > You hit the nail on the head. This is going to be a increasingly bad > problem as we continue pushing in this of networked storage. >=20 > It would be REALLY nice, if an I/O fails, to simply have the process > attempting the I/O to be killed, instead of bringing the machine to its= > knees and locking up or panic the kernel. There have been some commits recently related to this problem - you could try running 8-CURRENT and see if it's addressed. --------------enig896FE1AB13EAA89F0C9B6A61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJaw5fldnAQVacBcgRAhVmAKDS1z05/eY5ZZGhBzMMwbmQTWEgkwCgmoEh d/0u1TAeJQ0rtwzxgEsTb1I= =wjgD -----END PGP SIGNATURE----- --------------enig896FE1AB13EAA89F0C9B6A61-- From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 10:36:00 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B41AF1065676 for ; Mon, 12 Jan 2009 10:36:00 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 389B48FC14 for ; Mon, 12 Jan 2009 10:35:59 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so3640248fgb.35 for ; Mon, 12 Jan 2009 02:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=tPetkz+33T/DrlHbehrccWareSOwGmg8Yjmbc2trQkE=; b=u8NuAd7diifrybiQjBHm+XT6JdDFVTEF8HeiwZef0e7R722fATlZrTydsZe3aAoRvD hF65LH97RpZqF6HR0hIFvg+MmERfpg1yG1iCMY7E5C04KzFjfC86R+1rGAUjGFZJBdXf XC/702HPaxf2Kb1hHL/fPzeqXXmDlifkSd1rg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=OtrqGivP6NS2Tx/gzlPdK8u3IfC1lszWYLkB/kEaK9EsYHcZg2swxQCO9LPV1GTuD+ gEaV4GFSwltq1o1BOgvRAWxy9YIREdnhw97aGnTsa7NiCoo9/AMhdf+l85ndH9X9MCwo METU1tNUwml5G79IybducB+dNodbn9AcTY3Ns= Received: by 10.86.53.8 with SMTP id b8mr16596103fga.58.1231756558784; Mon, 12 Jan 2009 02:35:58 -0800 (PST) Received: from ndenev.cmotd.com (blah.sun-fish.com [217.18.249.150]) by mx.google.com with ESMTPS id l19sm11538008fgb.29.2009.01.12.02.35.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 02:35:55 -0800 (PST) Message-Id: From: Nikolay Denev To: Doug Rabson In-Reply-To: <12C6C9A1-D4F0-442A-A92C-1B4565AEEAF8@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 12 Jan 2009 12:35:51 +0200 References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <2F0DF92C-4240-48D4-9A5F-8B826D6D6E95@rabson.org> <87E89284-D3BF-4A5A-B6F7-C30709A3F2D9@lassitu.de> <4AC3BEB2-B47E-4280-85E1-C72891412D09@rabson.org> <494F6C21.2000801@tzim.net> <459358DB-15A6-4E27-A99E-D76A2A7DC73F@rabson.org> <12C6C9A1-D4F0-442A-A92C-1B4565AEEAF8@gmail.com> X-Pgp-Agent: GPGMail d55 (v55, Leopard) X-Mailer: Apple Mail (2.930.3) Cc: freebsd-fs@freebsd.org Subject: Re: Booting from ZFS raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 10:36:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10 Jan, 2009, at 13:56 , Nikolay Denev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 2 Jan, 2009, at 15:17 , Doug Rabson wrote: > >> >> On 22 Dec 2008, at 10:29, Arnaud Houdelette wrote: >> >>> As I'm fairly interrested in this kind of setup, I set up a =20 >>> virtual machine (VirtualBox) with 3 HD. >>> Sources are from a fresh current (csup yesterday). Applied your =20 >>> patch successfully. >>> >>> Done a make installworld / installkernel to the zfs root. >>> Applied the bootcode as Stephan. >>> >>> The seem's the loader gets loaded, but it cant proceed further. >>> I got those kind of errors : >> >> I'm going to have to try and reproduce this but it looks as if you =20= >> make have installed a gptzfsboot which doesn't include the raidz =20 >> support. >> > > > I have just tried installing the new gptzfsboot with a 7.1-STABLE =20 > install, but all i got is a : > "No ZFS pools located, can't boot" message. > > I used 7.1-STABLE DVD, but I have copied and installed /boot/pmbr /=20 > boot/gptzfsboot and /boot/loader from a > - -CURRENT system built with your patch and LOADER_ZFS_SUPPORT > > All my disks have valid guid partition tables with p1 of type =20 > freebsd-boot with installed pmbr and gptzfsboot from -CURRENT, > and p2 partition of type freebsd-zfs with a valid pool that i can =20 > mount using LiveFS. > > Any suggestions? > > - -- > Regards, > Nikolay Denev > > I was able to boot from the raidz pool, and now I have working 7.1-=20 STABLE install booting off raidz pool. Sweet! The problem was that I had "export"ed the pool, and gptzfsboot was not =20= able to find it. I had to boot from the LiveFS CD, zpool import it, reboot and everything worked. Now I can only wait for ZFS v13 to hit -STABLE :) Thanks! - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAklrHQcACgkQHNAJ/fLbfrnEnACgrwgaBvMXpd+Iqu0jRSTy6XsS TlsAoJ7rWe+b7iEedphf8wqTOpuRpwfg =3DJ7ZE -----END PGP SIGNATURE----- From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 11:06:51 2009 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D28831065673 for ; Mon, 12 Jan 2009 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A54348FC20 for ; Mon, 12 Jan 2009 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CB6pDc091978 for ; Mon, 12 Jan 2009 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0CB6pu6091974 for freebsd-fs@FreeBSD.org; Mon, 12 Jan 2009 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Jan 2009 11:06:51 GMT Message-Id: <200901121106.n0CB6pu6091974@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-fs@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/130229 fs [iconv] usermount fails on fs that need iconv o kern/130210 fs [nullfs] Error by check nullfs o bin/130105 fs [zfs] zfs send -R dumps core o kern/129760 fs [nfs] after 'umount -f' of a stale NFS share FreeBSD l o kern/129231 fs [ufs] [patch] New UFS mount (norandom) option - mostly o kern/129174 fs [nfs][zfs][panic] NFS v3 Panic when under high load ex o kern/129152 fs [panic] non-userfriendly panic when trying to mount(8) o kern/129084 fs [udf] [panic] udf panic: getblk: size(67584) > MAXBSIZ f kern/128829 fs smbd(8) causes periodic panic on 7-RELEASE o kern/128633 fs [zfs] [lor] lock order reversal in zfs o kern/128514 fs [zfs] [mpt] problems with ZFS and LSILogic SAS/SATA Ad o kern/128173 fs [ext2fs] ls gives "Input/output error" on mounted ext3 o kern/127420 fs [gjournal] [panic] Journal overflow on gmirrored gjour o kern/127213 fs [tmpfs] sendfile on tmpfs data corruption o kern/127029 fs [panic] mount(8): trying to mount a write protected zi o kern/126287 fs [ufs] [panic] Kernel panics while mounting an UFS file o kern/125536 fs [ext2fs] ext 2 mounts cleanly but fails on commands li o kern/125149 fs [nfs][panic] changing into .zfs dir from nfs client ca o kern/124621 fs [ext3] [patch] Cannot mount ext2fs partition o kern/122888 fs [zfs] zfs hang w/ prefetch on, zil off while running t o bin/122172 fs [fs]: amd(8) automount daemon dies on 6.3-STABLE i386, o bin/121072 fs [smbfs] mount_smbfs(8) cannot normally convert the cha o bin/118249 fs mv(1): moving a directory changes its mtime o kern/116170 fs [panic] Kernel panic when mounting /tmp o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o bin/114468 fs [patch] [request] add -d option to umount(8) to detach o bin/113838 fs [patch] [request] mount(8): add support for relative p o bin/113049 fs [patch] [request] make quot(8) use getopt(3) and show o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o kern/93942 fs [vfs] [patch] panic: ufs_dirbad: bad dir (patch from D 32 problems total. From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 17:00:17 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10610106566B for ; Mon, 12 Jan 2009 17:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE9E08FC32 for ; Mon, 12 Jan 2009 17:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CH0GGj060143 for ; Mon, 12 Jan 2009 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0CH0Gs1060137; Mon, 12 Jan 2009 17:00:16 GMT (envelope-from gnats) Date: Mon, 12 Jan 2009 17:00:16 GMT Message-Id: <200901121700.n0CH0Gs1060137@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: "Helio Loureiro" Cc: Subject: Re: kern/124621: [ext3] [patch] Cannot mount ext2fs partition X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helio Loureiro List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 17:00:17 -0000 The following reply was made to PR kern/124621; it has been noted by GNATS. From: "Helio Loureiro" To: bug-followup@freebsd.org, paulf@free.fr Cc: Subject: Re: kern/124621: [ext3] [patch] Cannot mount ext2fs partition Date: Mon, 12 Jan 2009 14:34:16 -0200 Hi, I'm facing the same issue. I have an external HD, where I installed Linux Ubuntu a long time ago. I performed recently an upgrade to latest Ubuntu, what reformatted partition da0s1. Old partitions, like da0s2 (home), remain working fine w/ FreeBSD. I checked Inode size paramenter in both: musashi# tune2fs -l /dev/da0s1 | grep -i "inode size" Inode size: 256 musashi# tune2fs -l /dev/da0s2 | grep -i "inode size" Inode size: 128 I'm using the e2fsprogs version you recommended, 1.41.0, in a FreeBSD-7.1: musashi# pkg_glob "*e2fs*" e2fsprogs-1.41.0 musashi# uname -a FreeBSD musashi.br.am.ericsson.se 7.1-RELEASE FreeBSD 7.1-RELEASE #23: Sat Jan 3 23:41:26 BRST 2009 root@musashi.br.am.ericsson.se:/usr/obj/usr/src/sys/MUSASHI i386 So programs like fsck.ext3 are working fine, finding and checking filesyste= ms: e2fsck 1.41.0 (10-Jul-2008) /dev/da0s1: clean, 130703/305824 files, 796572/1220932 blocks musashi# /usr/local/sbin/fsck.ext3 /dev/da0s2 e2fsck 1.41.0 (10-Jul-2008) /dev/da0s2: clean, 219500/12222464 files, 21270465/24414783 blocks So da0s1 isn't accessible while da0s2 is: musashi# mkdir /mnt/da0s{1,2} musashi# mount_ext2fs /dev/da0s1 /mnt/da0s1 musashi# mount_ext2fs /dev/da0s2 /mnt/da0s2 musashi# ls /mnt/da0s1 ls: /mnt/da0s1: Bad file descriptor musashi# ls /mnt/da0s2 backup fotos helio lost+found tmp x I even tried to unload/load ext2fs.ko module, but I didn't see any progress on that. So I believe the issue is reproducible and remains despite the new e2fsprogs release. I'll try the suggested patch and see if it works. --=20 []=B4s Helio Loureiro From owner-freebsd-fs@FreeBSD.ORG Tue Jan 13 15:47:59 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1E0E1065704 for ; Tue, 13 Jan 2009 15:47:58 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 724308FC08 for ; Tue, 13 Jan 2009 15:47:58 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so58540fgb.35 for ; Tue, 13 Jan 2009 07:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=uqBwZFlN82Eonbe7WfvKO/PfJOb+5gw8/8vsHW/gjLw=; b=SxOMNYv3qadrR3vg8K6CyvBKULdC78KYyz2TxaVUoN8IGwOW+UU2R1yVYpD4A71E+P fD2MKwRMsxbH7BmiCkNyyB6fJvii+ldrbOSKZ/ioqGGxpsPAJkfXJtRIcVYDOLkCIb9/ DBqU4bfFzbXAI5TtqsyN3OFKY8qU3QJbkRKVM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=rSTmWZjZkqsfOpOKMzDk1vLcxiL8P4zdxtOBoAqVdYsfxP1CEHfGkj6xpM6vEPrHk+ HHFYzBDT9dSXBxzB0j/UcZ3b3znnZ8rcXzvqUhl5DsagBsjEAf4WxSMjDoDsGgFk/u5u E/Bt+TuR7f6c3VQoNDJq+kiMyUwD0UvHOU91w= Received: by 10.86.72.3 with SMTP id u3mr2807fga.1.1231861676693; Tue, 13 Jan 2009 07:47:56 -0800 (PST) Received: from ndenev.cmotd.com (blah.sun-fish.com [217.18.249.150]) by mx.google.com with ESMTPS id d6sm11544290fga.20.2009.01.13.07.47.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Jan 2009 07:47:54 -0800 (PST) Message-Id: From: Nikolay Denev To: freebsd-fs@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 13 Jan 2009 17:47:50 +0200 References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <2F0DF92C-4240-48D4-9A5F-8B826D6D6E95@rabson.org> <87E89284-D3BF-4A5A-B6F7-C30709A3F2D9@lassitu.de> <4AC3BEB2-B47E-4280-85E1-C72891412D09@rabson.org> <494F6C21.2000801@tzim.net> <459358DB-15A6-4E27-A99E-D76A2A7DC73F@rabson.org> <12C6C9A1-D4F0-442A-A92C-1B4565AEEAF8@gmail.com> X-Pgp-Agent: GPGMail d55 (v55, Leopard) X-Mailer: Apple Mail (2.930.3) Cc: Subject: Re: Booting from ZFS raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 15:47:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12 Jan, 2009, at 12:35 , Nikolay Denev wrote: > > > I was able to boot from the raidz pool, and now I have working 7.1-=20 > STABLE install booting off raidz pool. Sweet! > The problem was that I had "export"ed the pool, and gptzfsboot was =20 > not able to find it. I had to boot from the LiveFS CD, > zpool import it, reboot and everything worked. > > Now I can only wait for ZFS v13 to hit -STABLE :) > > Thanks! > > - -- > Regards, > Nikolay Denev Hi Doug, I have just tested how the loader will handle a device failure, and it =20= failed. Here is some info about my setup : The machine has six hot-plug sata drives configured as passthru on a =20 3Ware controller. There is gptzfsboot installed on their first guid partition, and the =20 rest is for the ZFS raidz1 pool from which the machine boots successfully. I tested yanking the first drive while the machine was up. A few =20 seconds later the 3ware controller saw that device was disconnected and printed some =20 info about this on the console, immediately after that ZFS reported missing vdev and the pool went to =20= DEGRADED mode. Then I rebooted the machine to see if the loader will correctly boot =20 off the degraded pool and this is what I got on the console : ZFS: i/o error - all block copies unavailable ZFS: can't read object set for dataset lld Can't find root filesystem - giving up ZFS: unexpected object set type lld ZFS: unexpected object set type lld FreeBSD/i386 boot Default: zfs:/boot/kernel/kernel boot: ZFS: unexpected object set type lld Then I booted off the LiveFS CD, imported the pool (with the =20 previously removed disk inserted), it resilvered automaticaly, then I scrubbed it without errors and =20 rebooted again... but the loader continues to emit the same messages. - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAklst6cACgkQHNAJ/fLbfrl9RwCfaB3+ICDoBr0j2xwVAyj4ZPe/ h4QAmwQnXWYje7ppiitdWAP1vLvmT1hg =3DU1mg -----END PGP SIGNATURE-----