From owner-freebsd-xen@FreeBSD.ORG Thu Oct 9 18:09:41 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 B6A94FC2 for ; Thu, 9 Oct 2014 18:09:41 +0000 (UTC) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Cybertrust Public SureServer SV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 113C0382 for ; Thu, 9 Oct 2014 18:09:40 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.04,686,1406592000"; d="scan'208";a="181060934" Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Thu, 9 Oct 2014 14:08:20 -0400 Message-ID: <5436CF13.4080509@citrix.com> Date: Thu, 9 Oct 2014 20:08:19 +0200 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Jay West , Subject: Re: disk loss References: <000001cfe3ca$8d242950$a76c7bf0$@ezwind.net> In-Reply-To: <000001cfe3ca$8d242950$a76c7bf0$@ezwind.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA1 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 18:09:41 -0000 El 09/10/14 a les 16.08, Jay West ha escrit: > 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. When this happens, can you log into the affected VM (with the disk "supposedly" attached) and paste the output of `xenstore-ls -fp /local/domain/` (replace with the ID of the domain) here. You will need the xen-tools package installed in order to do that. It looks to me like this is some kind of issue with the XenServer storage manager, so I would suggest asking this on the XenServer mailing lists (xs-devel@lists.xenserver.org) Roger.