From owner-freebsd-questions@freebsd.org Fri Feb 28 16:07:39 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28AB92661C1 for ; Fri, 28 Feb 2020 16:07:39 +0000 (UTC) (envelope-from vikash.badal@is.co.za) Received: from za-smtp-delivery-156.mimecast.co.za (za-smtp-delivery-156.mimecast.co.za [41.74.201.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.mimecast.co.za", Issuer "DigiCert Global CA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48TZF2410Sz3Kwv for ; Fri, 28 Feb 2020 16:07:33 +0000 (UTC) (envelope-from vikash.badal@is.co.za) Received: from grumpy.is.co.za (grumpy.is.co.za [196.35.45.228]) (Using TLS) by relay.mimecast.com with ESMTP id za-mta-119-RmLBJ3j-OKqkfQZJJfxNlg-1; Fri, 28 Feb 2020 18:07:21 +0200 X-MC-Unique: RmLBJ3j-OKqkfQZJJfxNlg-1 Received: from [196.14.169.131] (port=18587 helo=zabrysvisexhub4.af.didata.local) by grumpy.is.co.za with esmtps (Cipher TLSv1.2:RC4-SHA:128) (Internet Solutions MTA) (envelope-from ) id 1j7i9H-0006pk-VK for ; Fri, 28 Feb 2020 18:06:04 +0200 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (104.47.17.176) by zabrysvisexhub4.af.didata.local (10.1.8.39) with Microsoft SMTP Server id 14.3.487.0; Fri, 28 Feb 2020 18:04:20 +0200 Received: from AM6PR0602MB3638.eurprd06.prod.outlook.com (52.133.20.22) by AM6PR0602MB3543.eurprd06.prod.outlook.com (52.133.25.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.22; Fri, 28 Feb 2020 16:04:19 +0000 Received: from AM6PR0602MB3638.eurprd06.prod.outlook.com ([fe80::e92f:a3f4:f891:8a25]) by AM6PR0602MB3638.eurprd06.prod.outlook.com ([fe80::e92f:a3f4:f891:8a25%3]) with mapi id 15.20.2750.024; Fri, 28 Feb 2020 16:04:19 +0000 From: "Vikash Badal (IS)" To: "freebsd-questions@freebsd.org" Subject: Re: ZFS i/o error on boot unable to start system Thread-Topic: ZFS i/o error on boot unable to start system Thread-Index: AQHV7kK8XgwxJKVt3EeoG0Glx6zmKKgwxO+A Date: Fri, 28 Feb 2020 16:04:19 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 x-originating-ip: [196.209.218.17] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7f13d88b-8d74-4982-85a5-08d7bc67de5b x-ms-traffictypediagnostic: AM6PR0602MB3543: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0327618309 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(396003)(39860400002)(346002)(366004)(199004)(189003)(91956017)(64756008)(76116006)(6512007)(316002)(66476007)(31686004)(6486002)(36756003)(66556008)(66946007)(478600001)(966005)(66446008)(2616005)(5660300002)(186003)(2906002)(26005)(6506007)(31696002)(53546011)(8676002)(6916009)(8936002)(71200400001)(81156014)(86362001)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR0602MB3543; H:AM6PR0602MB3638.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SVCShQAYRd+kRY3DrRHi5vNIqly1e8m5yz1AIko+CXRHVH0hbuc0hYu02z1YSfuWGU5gE7oHdwRwebz/ONYKktmehpKIPseaaIJKQe72yNNssc976ARQml3rUHqBajtd53kCEZM0nQc/i0/bUhbz8EeoBCeMyotM8txo0O8DYPth5CjWNyzfWudvgJby0xpGwX72YfTPIz2Dk4UqISt8KNaSlX8PT9RZxLX5piSrV1ojHb0Zj1Or+2EBfVpSVFWDLF52wf++Pa75+mmSZMKr/JCZp+HBKpp60UdFrWGgjVUaM9QWgqgV+ws+AXkOinbJ9ts4ULfNXRg8cuUzqGVIPBLXGKY4LMq7T8w66TB3xKPIXNSsLauJrWHx4UTj8J/ZigHqNGJJO07PdXGm5ClEwR68wtrXO7ARc2agqmTvp0q8EIpX86Gu8SZSw9lD4i90vqKguQnoX/nzQC2Y/KKxSWnyNwPSV3p8j39cQxWcmmDurniEmBeKUS0TFObQjtjHNOsCYbK/g6XgrJsoss5PHg== x-ms-exchange-antispam-messagedata: UGcYFYnm9PValOomp24ptCNJWyTfjPDTbtE+1ijSgVYGL7NUcS7hEg05Avb884tqIK3GPkJvir3YQWJyqUpjBQNV1VO21Qfpf+KpXs78cq8jbAM3/icSfDwgXYTUw6wZito+AF6NK/RyszuyoAS/rw== x-ms-exchange-transport-forked: True Content-ID: <2313E1E4DDF22A47BD4B053CC420C326@eurprd06.prod.outlook.com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7f13d88b-8d74-4982-85a5-08d7bc67de5b X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2020 16:04:19.2808 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e3cf3c98-a978-465f-8254-9d541eeea73c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FNSpWrmwS7QoVN0nrQ2JUNA1gsLMsATlWhCAInUZ1jqNyORowZZ0xHjxAyMhaGngALlXgYWrBje01ngPVOMkNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0602MB3543 X-Scan-Signature: 908b5d8640f73e8a998e3e0798145590 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: is.co.za X-Rspamd-Queue-Id: 48TZF2410Sz3Kwv X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of vikash.badal@is.co.za designates 41.74.201.156 as permitted sender) smtp.mailfrom=vikash.badal@is.co.za X-Spamd-Result: default: False [2.83 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:41.74.200.0/23]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[is.co.za]; NEURAL_SPAM_MEDIUM(0.99)[0.987,0]; RCPT_COUNT_ONE(0.00)[1]; MANY_INVISIBLE_PARTS(0.05)[1]; RCVD_TLS_LAST(0.00)[]; ZERO_FONT(0.10)[1]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[156.201.74.41.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.99)[ipnet: 41.74.200.0/23(2.85), asn: 37235(2.12), country: ZA(0.00)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~,5:~,6:~,7:~,8:~,9:~]; ASN(0.00)[asn:37235, ipnet:41.74.200.0/23, country:ZA]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2020 16:07:39 -0000 Hi James, On 2020/02/28 15:51, James B. Byrne via freebsd-questions wrote: > I have reported this on the forums as well. > =09=09=09 Vikash Badal (IS) Senior Technical Systems Engineer T=C2=A0+27 11 5750825=C2=A0 this helped me with this issue: https://forums.freebsd.org/threads/i-broke-11-0-beta2-uefi-zfs-root-boot.57= 137/ tldr; - boot usb/cd image (must be same version -as OS) from shell: - gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 - if you using uefi: dd if=3D/boot/boot1.efifat of=3D/dev/p1 refs: https://solence.de/2019/05/01/update-uefi-boot-code-after-zfs-upgrade-on-fr= eebsd/ https://forums.freebsd.org/threads/i-broke-11-0-beta2-uefi-zfs-root-boot.57= 137/ > FreeBSD-12.1p2 > raidz2 on 4x8TB HDD (reds) > root on zfs >=20 > We did a hot restart of this host this morning and received the following= on > the console: >=20 > ZFS: i/o error - all block copies unavailable > ZFS: failed to read pool zroot directory object > qptzfsboot: failed to mount default pool zroot >=20 > FreeBSD/x86 boot > ZFS: i/o error - all block copies unavailable > ZFS: can't fild dataset 0 > Default: zroot/<0x0> > boot: >=20 > What has happened? How do I get this system back up and online? >=20 > My first thought is that in modifying rc.conf to change some ip4 address > assignments that I may have done something else inadvertently which has c= aused > this. I cannot think of any other changes made since the system was last > restarted a noon yesterday. >=20 > ​This is an urgent matter. Any help is gratefully welcomed. >=20