[Top] [All Lists]

Virtual Block device resize corrupts XFS

To: xfs@xxxxxxxxxxx
Subject: Virtual Block device resize corrupts XFS
From: Markus Rhonheimer <markus.rhonheimer@xxxxxx>
Date: Sun, 16 Nov 2014 20:34:56 +0100
Delivered-to: xfs@xxxxxxxxxxx
Disposition-notification-to: Markus Rhonheimer <markus.rhonheimer@xxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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.

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"

Is there the possibility to rescue some files?

kind regards

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