| To: | Brian Foster <bfoster@xxxxxxxxxx> |
|---|---|
| Subject: | Re: blktrace and xfs_db block offset mismatch |
| From: | Sushma R <gsushma@xxxxxxxxx> |
| Date: | Sat, 27 Sep 2014 08:40:29 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ya6ua6l5B0JS9T65tDgMoqWwKRg7pw/5u9sf5RSPFJY=; b=YyI5DZ6WR4ZOs0IPQbc3pIfS2uMRocE+Ti2e1/S/kbztzzVGZfeW4xBWLjNIYKY++V saQbLgTnQ0qe32iUoHWxhpgFxDqJ508vnf8c91F7SpxXUQ7pO5LuL7S8L7zw4x/kAjeb ExUYBCDrPS3akJuE8vC0KLMCFjv6hThtMJF+up4v3cxsQ41ryFaCgnFIH1OfEKVCNFEl EF74SUt+NoZNxZ4SC6D9G0SSTgRDyzJExdoD39cj+tYJkWtAOL2Zmnly06X+93elmLc3 zT1KPDDsC5gaqAz+t3eu5wBIFuZdzvx8KtTbSCJIo/h0RDdsUjE2gWz2AH/tUlepdgJj k4zA== |
| In-reply-to: | <20140927143859.GA60739@xxxxxxxxxxxxxxx> |
| References: | <CAOj3taPoXpVktWJxmYKLZrvfe7T1qYArLsoQ39gsMdj_T1hNYg@xxxxxxxxxxxxxx> <20140927143859.GA60739@xxxxxxxxxxxxxxx> |
|
Thanks Brian. I'm trying to understand how the internal XFS structures affect this mapping (http://oss.sgi.com/projects/xfs/papers/xfs_filesystem_structure.pdf) xfs_bmap on the file matches that reported by extents in the file inode using xfs_db. Other conversions under xfs_db xfs_db> convert fsb 2621481 agno 0x0 (0) xfs_db> convert fsb 2621481 agbno 0x280029 (2621481) xfs_db> convert fsb 2621481 daddr 0x1400148 (20971848) I tried dd command with directio option and still blktrace reports the same raw block number as earlier. 8,17 Â 3 Â Â Â Â1 Â Â 0.000000000 Â6999 ÂD Â R 20973896 + 1 [dd] I'm using xfs_db with the partition i.e. "xfs_db -r /dev/sdb1" However, if I use it on the whole disk "xfs_db -r /dev/sdb", it gives the following error xfs_db: cannot init perag data (117) Does this suggest something? Thanks, Sushma On Sat, Sep 27, 2014 at 7:38 AM, Brian Foster <bfoster@xxxxxxxxxx> wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: blktrace and xfs_db block offset mismatch, Brian Foster |
|---|---|
| Next by Date: | BOOKING========, Mr Felix Koloma |
| Previous by Thread: | Re: blktrace and xfs_db block offset mismatch, Brian Foster |
| Next by Thread: | Re: blktrace and xfs_db block offset mismatch, Sushma R |
| Indexes: | [Date] [Thread] [Top] [All Lists] |