Segmentation fault in xfs_db frag, xfsprogs-3.1.8

Richard Ems richard.ems at cape-horn-eng.com
Mon Jun 4 03:54:57 CDT 2012


Hi list,

I have a cron script running all weekends reporting me the fragmentation
of one of our backup systems.
It ran fine up to last weekend when it started reporting "Segmentation
fault".

This is on an openSUSE 12.1 64bit, running kernel 3.3.6.

I tried with xfsprogs3.1.6 and the self compiled 3.1.8 version. Both end
with segmentation fault.

# df -h /dev/sdc
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc         80T   57T   23T  72% /backup/ES-6664

# mount | grep sdc
/dev/sdc on /backup/ES-6664 type xfs
(rw,noatime,attr2,nobarrier,inode64,logbufs=8,logbsize=256k,sunit=128,swidth=3712,noquota,_netdev)
/dev/sdc on /backup/ES-6664 type xfs
(ro,relatime,attr2,nobarrier,inode64,logbufs=8,logbsize=256k,sunit=128,swidth=3712,noquota,_netdev)

The FS gets first mounted rw and then bind mounted ro on top of it.

# xfs_info /dev/sdc
meta-data=/dev/sdc               isize=512    agcount=80,
agsize=268435440 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=21240231040, imaxpct=1
         =                       sunit=16     swidth=464 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=521728, version=2
         =                       sectsz=512   sunit=16 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# echo frag | xfs_db -r /dev/sdc
Segmentation fault

# echo frag | /opt/xfsprogs-3.1.8/sbin/xfs_db -r /dev/sdc
Segmentation fault


Any clues?

Thanks,
Richard


-- 
Richard Ems       mail: Richard.Ems at Cape-Horn-Eng.com

Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
46011 Valencia
Tel : +34 96 3242923 / Fax 924
http://www.cape-horn-eng.com



More information about the xfs mailing list