xfs
[Top] [All Lists]

Re: XFS, empty files after a crash

To: xfs@xxxxxxxxxxx
Subject: Re: XFS, empty files after a crash
From: kadafax@xxxxxxxxx
Date: Thu, 23 Feb 2012 21:07:27 +0100
Authentication-results: mr.google.com; spf=pass (google.com: domain of kadafax@xxxxxxxxx designates 10.216.136.211 as permitted sender) smtp.mail=kadafax@xxxxxxxxx; dkim=pass header.i=kadafax@xxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=1RgitNelCVOYp1TEFSTBXt0T3hvx/jSDINbL9Q7RT1I=; b=sgRgPnmFZKvakqj+6OKCCtzIFYgsZ30c39by9nhGmSp5/QrumZYN2efk78CV9ufada TxOlV2+Cy71GHlKT+Zm9np/poNu+21GQzVQapieJz03VrD5HkEpxFYEvOdlIXE3KKxrA wZHft56K2ze8Bz5oIpAvyv6hATGAYahrhIyJ0=
In-reply-to: <4F4695B1.4060202@xxxxxxxxxxxxxxx>
References: <4F4387A7.2070009@xxxxxxxxx> <20291.50554.414722.399249@xxxxxxxxxxxxxxxxxx> <4F445E9F.5030003@xxxxxxxxxxx> <4F4695B1.4060202@xxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

kfx, try getting the inode number of the file (via stat or ls -i) and then doing something like this:

xfs_db -r $DEV -c "inode $INO" -c "bmap"


# xfs_db -r /dev/sdc1 -c "inode 114748" -c "bmap"
data offset 0 startblock 1881705728 (7/2657536) count 6460 flag 0

# xfs_db -r /dev/sdc1 -c "inode 114754" -c "bmap"
data offset 0 startblock 1077794560 (4/4052736) count 6582 flag 0


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