public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: weber@zbfmail.de, Xfs <xfs@oss.sgi.com>
Subject: Re: xfs_db dont work on blocksize 4096?
Date: Wed, 14 May 2014 09:06:21 -0500	[thread overview]
Message-ID: <5373785D.6000907@sandeen.net> (raw)
In-Reply-To: <e6b0d925a9409122a92d4e14922a26fd@zbfmail.de>

On 5/14/14, 7:47 AM, Marko Weber|8000 wrote:
> 
> hello,
> does xfs_db not work on blocksize 4096 ?
> 
> i get this:
> 
> bunka distfiles # xfs_db -r /dev/sda4
> xfs_db: error - read only 0 of 512 bytes
> cache_node_purge: refcount was 1, not zero (node=0x686530)
> xfs_db: cannot read root inode (117)
> cache_node_purge: refcount was 1, not zero (node=0x688810)
> xfs_db: cannot read realtime bitmap inode (117)
> xfs_db: error - read only 0 of 512 bytes
> xfs_db> quit
> 
> any hints, ideas tipps?
> 
> thank you
> 
> marko
> 

What version of xfsprogs?  Works here:


# insmod drivers/scsi/scsi_debug.ko dev_size_mb=32 sector_size=4096
# blockdev --getpbsz --getss /dev/sdd
4096
4096
# mkfs.xfs /dev/sdd
meta-data=/dev/sdd               isize=256    agcount=2, agsize=4096 blks
         =                       sectsz=4096  attr=2, projid32bit=1
         =                       crc=0
data     =                       bsize=4096   blocks=8192, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal log           bsize=4096   blocks=1605, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
# xfs_db /dev/sdd
xfs_db> sb 0
xfs_db> p magicnum
magicnum = 0x58465342
xfs_db> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2014-05-14 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 12:47 xfs_db dont work on blocksize 4096? Marko Weber|8000
2014-05-14 14:06 ` Eric Sandeen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5373785D.6000907@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=weber@zbfmail.de \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox