I face a strange and scary issue. I just grow a xfs filesystem (44To),
and no way to mount it anymore :
XFS: device supports only 4096 byte sectors (not 512)
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_check. If you are unable to mount the filesystem, then use
the xfs_repair -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
xfs_repair -L /dev/vg0/tomo-201111
xfs_repair: warning - cannot set blocksize 512 on block device
/dev/vg0/tomo-201111: Argument invalide
Phase 1 - find and verify superblock...
superblock read failed, offset 1099511623680, size 2048, ag 1, rval -1
fatal error -- Invalid argument
I don't think i did a mistake, my conf is as follow :
LVM : 3pv - 1vg
the lv containing the xfs system is on several extents :
tomo-201111 vg0 -wi-ao 1 linear 15,34t /dev/sda:5276160-9298322
tomo-201111 vg0 -wi-ao 1 linear 18,66t /dev/sdb:0-4890732
tomo-201111 vg0 -wi-ao 1 linear 8,81t /dev/sdb:6987885-9298322
tomo-201111 vg0 -wi-ao 1 linear 1,19t /dev/sdc:2883584-3194585
before growing fs, I lvextend the vg, and a new extents on /dev/sdc was
used. I cant think it caused this issue...
Any idea ?
Rémi Cailletaud - IE CNRS
3SR - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43