From owner-freebsd-xen@FreeBSD.ORG Thu Oct 9 14:26:58 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9ED3AA7 for ; Thu, 9 Oct 2014 14:26:58 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBB505EA for ; Thu, 9 Oct 2014 14:26:58 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by gateway2.nyi.internal (Postfix) with ESMTP id D7AE7217B for ; Thu, 9 Oct 2014 10:26:56 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute2.internal (MEProxy); Thu, 09 Oct 2014 10:26:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=BmnbRoVYDfIYitUqOOpq NVAAoM0=; b=OjHP0sBYFzBGZLerm9d0ImI2nw77IjSeEPsPjxRyFxGySPHGhvwc xm0RNi6hToJ0gh60Dd0giw3LnfAFgoILo86lAoG2skaEShCgXv48CrhaOMVo59kv G/m4qavrwcPmY5J3ALCzOFPAyKXl9yS9a9hZnaTAn1y2jKviJT7so8A= Received: by web6.nyi.internal (Postfix, from userid 99) id 8842A962611; Thu, 9 Oct 2014 10:26:56 -0400 (EDT) Message-Id: <1412864816.1914399.177057565.4EBD1E5E@webmail.messagingengine.com> X-Sasl-Enc: Y2+l3MsW5g2KILg24w/+3s7Hr2ZMqHA7kKiITJOtjymJ 1412864816 From: Mark Felder To: freebsd-xen@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-1d265f39 Subject: Re: disk loss Date: Thu, 09 Oct 2014 09:26:56 -0500 In-Reply-To: <000001cfe3ca$8d242950$a76c7bf0$@ezwind.net> References: <000001cfe3ca$8d242950$a76c7bf0$@ezwind.net> X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2014 14:26:59 -0000 On Thu, Oct 9, 2014, at 09:08, Jay West wrote: > We're running lots of FreeBSD10 VM's under Xenserver 6.2, and using > FreeNas > 9.X for iscsi storage. Note, none of the VM's see iSCSI - just the > hypervisors see it to create their storage repositories. > > > > We've noticed an ongoing issue with recovery from crashes or issues with > the > NAS. This doesn't happen often at all, but the nas will reboot about once > a > year. > > > > Windows VM's seem to recover fine. FreeBSD, not so much. The pattern > seems > to be that if the NAS holding the SR's for the hypervisor reboots, when > the > freebsd vm's come up that have just one virtual disk (boot), it complains > about unclean shutdown and fsck needs to be run. No problem, running fsck > fixes it. However, if the freebsd vm has two virtual disks (boot and > data), > the first one (say, ada0) complains about unclean shutdown and fsck will > fix > it. But the second disk (say, ada1) is not found. All we get is "can't > stat > /dev/ada1p1" or somesuch, and /dev/ad1 is missing from /dev. > > > > This seems to be a pretty consistent failure mode. We've tried to detach > the > data disk and attach it to a different VM - but no joy. > > > > 1) Anyone have any idea why FreeBSD seems so affected and Windows > doesn't? > > 2) Any ideas as to how to (non-destructively) get /dev/ada1 back so > we > can try to access the data? > > Are you rebooting the iSCSI NAS while the servers are running? Does rescanning the repository help at all? (or whatever the right-click option is on the SR... I don't have access to XenServer anymore and can't remember what that option is called)