[Top] [All Lists]

Re: Virtual Block device resize corrupts XFS

To: Markus Rhonheimer <markus.rhonheimer@xxxxxx>
Subject: Re: Virtual Block device resize corrupts XFS
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 17 Nov 2014 09:36:30 +1100
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5468FC60.10901@xxxxxx>
References: <5468FC60.10901@xxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Nov 16, 2014 at 08:34:56PM +0100, Markus Rhonheimer wrote:
> Hi,
> I am running Centos 7 and have created a virtual block device with
> ZFS (ZVOL). I put XFS onto the block device without partitioning it.
> This worked very well as storage disk for a VM.
> A few days ago I wanted to increase the size of the block device,
> but accidently decreased it by 1 TB (from 7 to 6). I found out about
> it and immediately increased the size of the drive to 8 TB
> afterward.

If that was a normal LVM block device, there would have been no
trouble. But you're using something special, unusual and completely
untested, so the most likely outcome is going to be that you still
have a pile of broken bits.

> The XFS partition can still be mounted and I can list the files on
> it, but xfs_repair -n says: "/Sorry/, /could not find valid
> secondary superblock"

Full output, please, as well as the version of xfs_repair you are



Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>