Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 23:35:46 +0100
From:      Raphael Eiselstein <rabe@uugrn.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: [XFS][9.0RC2] xfs_repair hangs on umtxn
Message-ID:  <20111212223546.GC3696@ma.sigsys.de>
In-Reply-To: <20111212221533.GB3696@ma.sigsys.de>
References:  <20111212221533.GB3696@ma.sigsys.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--i7F3eY7HS/tUJxUd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 12, 2011 at 11:15:33PM +0100, Raphael Eiselstein wrote:
> I just tried to do some experiments using xfs on FreeBSD 9.0RC2. My
> setup is: a plain file /var/cache.img attached as /dev/md0

Just in advance to my flatfile-experiment: Working an on a more-or-less
real SATA drive ...

ada2 at ahcich2 bus 0 scbus4 target 0 lun 0
ada2: <VBOX HARDDISK 1.0> ATA-6 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 5120MB (10485760 512 byte sectors: 16H 63S/T 10402C)
ada2: Previously was known as ad8

=2E.. xfs_repair still doesn't work:


fbsd9rc2# gpart add -t freebsd /dev/ada2
ada2s1 added
fbsd9rc2# bsdlabel -w /dev/ada2s1=20
fbsd9rc2# bsdlabel /dev/ada2s1
# /dev/ada2s1:
8 partitions:
#          size     offset    fstype   [fsize bsize bps/cpg]
  a:   10485677         16    unused        0     0  =20
  c:   10485693          0    unused        0     0     # "raw" part,
don't edit
fbsd9rc2# ls -la /dev/ada2*
crw-r-----  1 root  operator    0, 114 Dec 12 23:23 /dev/ada2
crw-r-----  1 root  operator    0,  93 Dec 12 23:49 /dev/ada2s1
crw-r-----  1 root  operator    0,  98 Dec 12 23:49 /dev/ada2s1a
fbsd9rc2# /usr/local/sbin/mkfs.xfs /dev/ada2s1a
meta-data=3D/dev/ada2s1a           isize=3D256    agcount=3D8, agsize=3D163=
838
blks
         =3D                       sectsz=3D512   attr=3D0
data     =3D                       bsize=3D4096   blocks=3D1310704, imaxpct=
=3D25
         =3D                       sunit=3D0      swidth=3D0 blks, unwritte=
n=3D1
naming   =3Dversion 2              bsize=3D4096 =20
log      =3Dinternal log           bsize=3D4096   blocks=3D2560, version=3D1
         =3D                       sectsz=3D512   sunit=3D0 blks, lazy-coun=
t=3D0
realtime =3Dnone                   extsz=3D4096   blocks=3D0, rtextents=3D0
fbsd9rc2# /usr/local/sbin/xfs_repair /dev/ada2s1a
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno =3D 0
^C
(hangs in umtxn but can be killed by ^C)

Regards
Raphael

--=20
Raphael Eiselstein <rabe@uugrn.org>               http://rabe.uugrn.org/
xmpp:freibyter@gmx.de  | https://www.xing.com/profile/Raphael_Eiselstein  =
=20
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..

--i7F3eY7HS/tUJxUd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7mgcIACgkQnNo+exDKny1h5QCfa+vz9egMSFuCvx+uogFqPhvR
s/cAn2BzungpcAqXxFXrsKIbmWT4l1Oq
=px5z
-----END PGP SIGNATURE-----

--i7F3eY7HS/tUJxUd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111212223546.GC3696>