[Please keep <it+linux-xfs@xxxxxxxxxxxxx> in CC list.] Dear Carlos, Just a short reply. On 02/18/19 15:22, Carlos Maiolino wrote: >> [ 25.506600] XFS (sdd): Mounting V5 Filesystem >> [ 25.629621] XFS (sdd): Starting recovery (logdev: internal) >> [ 25.685100] NFSD: starting 90-second grace period (net f0000098) >> [ 26.433828] XFS (sdd): xfs_do_force_shutdown(0x8) called from line 368 of file fs/xfs/xfs_trans.c. Return address = 00000000cfa623e1 >> [ 26.433834] XFS (sdd): Corruption of in-memory data detected. Shutting down filesystem >> [ 26.433835] XFS (sdd): Please umount the filesystem and rectify the problem(s) >> [ 26.433857] XFS (sdd): xfs_imap_to_bp: xfs_trans_read_buf() returned error -5. >> > Ok, filesystem shut itself down likely because blocks allocated in the > transaction exceeded the reservation. > > Could you please post the whole dmesg? I thought I did. At least in my sent folder, the file `20190218–linux_4.19.19–dmesg.txt` is attached. >> We mounted it with an overlay files, > > I'm not sure what you meant here, could you please specify what you meant by > 'overlay files'? Are you using this XFS filesystem as an upper/lower FS for > overlayfs? That was just for repair purposes. ``` # more /scratch/local3/mkoverlay.sh dev=/dev/sdd ovl=/scratch/local3/X4042-overlay.file newdevname=sddovl size=$(blockdev --getsz "$dev") loop=$(losetup -f --show -- "$ovl") printf '%s\n' "0 $size snapshot $dev $loop P 8" printf '%s\n' "0 $size snapshot $dev $loop P 8" | dmsetup create "$newdevname" # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 10G 0 loop loop1 7:1 0 10G 0 loop └─sddovl 252:0 0 51T 0 dm sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 256G 0 part / └─sda2 8:2 0 675.5G 0 part /amd/tinytina/0 sdb 8:16 0 931.5G 0 disk /amd/tinytina/1 sdc 8:32 0 27.3T 0 disk /amd/tinytina/2 sdd 8:48 0 51T 0 disk └─sddovl 252:0 0 51T 0 dm sde 8:64 0 51T 0 disk /amd/tinytina/X/X4075 sdf 8:80 0 51T 0 disk /amd/tinytina/X/X4076 ``` >> and the xfs_repair shows the summary below. […] The longer reply will follow. Kind regards, Paul
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature