Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2017 09:04:47 +0000
From:      Paul Webster <paul.g.webster@googlemail.com>
To:        Randy Terbush <randy@terbush.org>
Cc:        Peter Grehan <grehan@freebsd.org>,  "freebsd-virtua." <freebsd-virtualization@freebsd.org>
Subject:   Re: Recovering an ZFS vm
Message-ID:  <CADdqeiNnVh8BocVWNzy=GnxkLLZLM1O_ysuqZgJUpHtT_Fyc7g@mail.gmail.com>
In-Reply-To: <CALmWkDbcif3Z1t1ZoGawe=zB2At5MOO2GKL=2LdL35KsvSRyFQ@mail.gmail.com>
References:  <CALmWkDbeqCW_OZGxL_0_6mK%2B6fnpx3veX7i6F1dmJQmabh97cA@mail.gmail.com> <81d05d9d-044a-9cad-40e3-5ddf86da6570@freebsd.org> <CALmWkDbcif3Z1t1ZoGawe=zB2At5MOO2GKL=2LdL35KsvSRyFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
if you can get to a system that is running the same kernel, you could build
A compativle kernel with xfs in it and what not, stick it on a small
'/boot' of your own and include that on your bhyve line, so the kernel is
booted and then it mounts your existing system

On 6 December 2017 at 05:50, Randy Terbush <randy@terbush.org> wrote:

> One of the other VM clones is running. What do I need to do to mount the
> sparse-zvol dataset that is this disk image that won't boot?
>
> I'm still confused as to why one of these VM images would boot and not the
> other. They are both Centos 7 1708. At any rate, before taking a chance of
> shutting this image down, I'd appreciate any help to mount this other zvol
> and make sure the crc feature is disabled.
>
> Thanks
>
> --
> Randy
>
> On Tue, Dec 5, 2017 at 4:56 PM, Peter Grehan <grehan@freebsd.org> wrote:
>
> > Hi Randy,
> >
> > I have a Centos vm that has suddenly stopped booting. At the console,
> grub
> >> tells me the following if I attempt to list any of the available
> >> partitions.
> >>
> >> error: not a correct XFS inode.
> >> error: not a correct XFS inode.
> >> error: not a correct XFS inode.
> >> error: not a correct XFS inode.
> >> error: not a correct XFS inode.
> >> Filesystem type xfs, UUID 7652ffda-f7c5-408a-b0ce-b554b66fc2e5 -
> >> Partition
> >> start at 2048 - Total size 2097152 sectors
> >> grub>
> >>
> >> Is there an easy way to recover this? This has happened more than once.
> >> Just so happens there is something on this image I would like to have
> >> access to...
> >>
> >
> >  Looks like the grub partition was upgraded to the version of XFS that
> has
> > the CRC feature enabled (7.2 ?). Unfortunately this feature is not
> > understood by grub-bhyve :(
> >
> >  One way to recover the disk is to create a new VM with the most recent
> > CentOS, but using UEFI for the bootloader. Then, add this disk to the
> > guest, and from within the guest I think you can run an XFS utility that
> > will disable the use of CRCs on that partition.
> >
> >  The proper fix would be for grub-bhyve to be updated to the latest
> > version of grub2, though a workaround is to create guests with UEFI and
> not
> > use grub-bhyve.
> >
> > later,
> >
> > Peter.
> >
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-
> unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADdqeiNnVh8BocVWNzy=GnxkLLZLM1O_ysuqZgJUpHtT_Fyc7g>