Virtual Block device resize corrupts XFS

Markus Rhonheimer markus.rhonheimer at web.de
Sun Nov 16 13:34:56 CST 2014


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.

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

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20141116/d1a426a3/attachment.html>


More information about the xfs mailing list