From owner-freebsd-virtualization@FreeBSD.ORG Wed Sep 18 18:18:16 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2D3D996C for ; Wed, 18 Sep 2013 18:18:16 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0206.outbound.protection.outlook.com [207.46.163.206]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAA532C64 for ; Wed, 18 Sep 2013 18:18:14 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) with Microsoft SMTP Server (TLS) id 15.0.775.9; Wed, 18 Sep 2013 18:18:07 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.85]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.151]) with mapi id 15.00.0775.005; Wed, 18 Sep 2013 18:18:07 +0000 From: "Abhishek Gupta (LIS)" To: Victor Miasnikov , Karl Pielorz , "freebsd-virtualization@freebsd.org" Subject: RE: turn off 220V on UPS device =} file system got corrupted Re: Hyper-V 2012 Cluster / Failover - supported? - Any known issues? Thread-Topic: turn off 220V on UPS device =} file system got corrupted Re: Hyper-V 2012 Cluster / Failover - supported? - Any known issues? Thread-Index: AQHOtGyZ0FLUQhf3cEaI3XfbmUZ1CpnLi5tFgAAHCYCAAADwlYAAD+wVgAAqFUA= Date: Wed, 18 Sep 2013 18:18:06 +0000 Message-ID: References: <18D121A056145C32F0501114@Mail-PC.tdx.co.uk> <155969fa70a34e41a84649bf3cb81c21@BL2PR03MB210.namprd03.prod.outlook.com>, <4787C47D82401721B4C53B49@Mail-PC.tdx.co.uk> <9cabc6fbba754dd3aa357943ef82db22@BL2PR03MB210.namprd03.prod.outlook.com> <72995083316B4133B0C282D493DDB128@local.st.by> In-Reply-To: <72995083316B4133B0C282D493DDB128@local.st.by> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e0:ed43::3] x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM; SFS:(51704005)(55674002)(189002)(43784003)(24454002)(164054003)(377454003)(13464003)(199002)(52604005)(77096001)(56816003)(63696002)(76796001)(76576001)(74502001)(76786001)(81342001)(74316001)(54356001)(81542001)(74366001)(74662001)(51856001)(47446002)(15202345003)(79102001)(77982001)(31966008)(59766001)(54316002)(83072001)(56776001)(76482001)(80022001)(69226001)(74706001)(46102001)(33646001)(81816001)(74876001)(47976001)(49866001)(47736001)(50986001)(81686001)(19580395003)(53806001)(65816001)(80976001)(15975445006)(4396001)(19580405001)(83322001)(3826001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB210; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:2001:4898:80e0:ed43::3; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2013 18:18:16 -0000 Hi Victor,=20 Karl is asking if high availability failover scenarios will work for FreeBS= D VMs on Hyper-V. He was specifically interested in knowing if the power pl= ug is pulled from the Hyper-V server then would the FreeBSD VM failover and= restart without any issues on the failover server.=20 My response was that yes the above scenario should work. Thanks, Abhishek -----Original Message----- From: Victor Miasnikov [mailto:vvm@tut.by]=20 Sent: Wednesday, September 18, 2013 8:46 AM To: Abhishek Gupta (LIS); Karl Pielorz; freebsd-virtualization@freebsd.org Subject: turn off 220V on UPS device =3D} file system got corrupted Re: Hyp= er-V 2012 Cluster / Failover - supported? - Any known issues? Hi! K.P.> - Pulling the power on the active node hosting both VM's (i.e. Window= s K.P.> guest, and FreeBSD guest) - this showed the remaining node trying t= o bring K.P.> up the VM's (of which Windows came up OK, and FreeBSD [file s= ystem] got corrupted). A.G.> Yes, it should work. A.G.>My understanding is that the failover should be agnostic to the guest = OS but there could be some integration component that we might have missed. What _exactly_ "should work" ? 1) This issue not related Hyper-V cluster itself !) When "Pulling the power" i.e. turn off 220V in Europa ( or 110V in USA = ) on UPS device _both_ FAT on Windows and=20 FreeBSD [file system] got corrupted ( "Windows came up OK" look like because on this VM file system is NTFS ) K.P.> Hyper-V correctly see's the node fail, and restarts both VM's on the K.P.> remaining node. Windows 7 boots fine (says it wasn't shut down correc= tly - K.P.> which is correct) - but FreeBSD doesn't survive. K.P.> K.P.> At boot time we get a blank screen with "-" on it (i.e. the first par= t of K.P.> the boot 'spinner') - and nothing else. K.P.> K.P.> Booting to a network copy of FreeBSD and looking at the underlying vi= rtual K.P.> disk - it appears to be trashed. You can mount it (but it understanda= bly K.P.> warns it's not clean) - however, any access leads to an instant panic= ('bad K.P.> dir ino 2 at offset 0: mangled entry'). K.P.> K.P.> Trying to run fsck against the file system throws up an impressive am= ounts K.P.> of 'bad magic' errors and 'rebuild cylinder group?' prompts. To Karl: I ask You about some details . . . Are You see related e-mail? Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ ----- Original Message -----=20 From: "Abhishek Gupta (LIS)" To: "Karl Pielorz" Sent: Wednesday, September 18, 2013 5:50 PM Subject: RE: Hyper-V 2012 Cluster / Failover - supported? - Any known issue= s? > Thanks again Karl! Yes, it should work. >My understanding is that the failover should be agnostic to the guest OS b= ut there could be some integration component=20 >that we might have missed. >So it would be good to get to the bottom of this. > > Regards, > > Abhishek ________________________________________ > From: Karl Pielorz > Sent: Wednesday, September 18, 2013 7:45 AM > To: Abhishek Gupta (LIS); > Subject: RE: Hyper-V 2012 Cluster / Failover - supported? - Any known iss= ues? > > --On 18 September 2013 14:23 +0000 "Abhishek Gupta (LIS)" > wrote: > >> Hi Karl, >> >> Thanks for reporting the issue. Please give us some time to investigate >> and get back to you on this. In the meantime I wanted to ask if setting >> up a Hyper-V replica for the FreeBSD VM and then a manual failover >> reproduces the same symptoms? Please let me know. > > Hi, > > Manual fail-over appears to work OK - in order, I tested: > > - Live migration from one node to the other, and back again (worked) > > - Stopping the cluster service on one of the nodes (i.e. from Failover > Cluster Manager) - this showed the VM moving from the node that was > stopped, over to the other node (again worked). > > - Pulling the power on the active node hosting both VM's (i.e. Windows > guest, and FreeBSD guest) - this showed the remaining node trying to brin= g > up the VM's (of which Windows came up OK, and FreeBSD got corrupted). > > > I've had to stop now as the guy here looking after the Synology kit on th= e > test network is applying a firmware update (this is apparently for some > appletalk issue or something). > > I'll re-run the test after this has been done - if it still fails, I'll > come back with a 'how to reproduce' type report (and I'll obviously let y= ou > know if we can't reproduce it again!). > > At least I know it 'should' work now :) > > Thanks, > > -Karl