xfs
[Top] [All Lists]

Re: how to decode metadump info produced by xfs_db, and superblock error

To: xfs@xxxxxxxxxxx
Subject: Re: how to decode metadump info produced by xfs_db, and superblock error
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2011 18:56:06 -0600
In-reply-to: <SNT130-w5507ED619ADEE5A0761FA4DAE30@xxxxxxx>
References: <SNT130-w5507ED619ADEE5A0761FA4DAE30@xxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
lord worm put forth on 1/29/2011 6:25 PM:
> 
> What kind of information is in this file produced by metadump, is it worth 
> reading it somehow?
> 
> I'm trying to first understand what's causing a 'superblock cannot be read' 
> error in my XFS after a succesfully dd of the partition (dd succeeds in 
> copying to a file, and also restoring, but after restoring it cannot mount).
> 
> xfs_repair fails to fix it, how should I attach the 55M metadata file to this 
> email (do we have an upload location for this?), max size on hotmail is 25M 
> ...
> 
> Does the superblock error refer to primary or secondary superblocks? Does 
> xfs_repair attempt to clone the broken superblock from the others?


dd is not a proper XFS filesystem backup/restore utility.  Instead use xfsdump
and xfsrestore, or any file level backup/restore solution.

You obviously now know why you shouldn't use dd for this purpose with XFS. ;)

-- 
Stan

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