xfs remounted for unknown reason

Issues related to hardware problems
Post Reply
veehexx
Posts: 25
Joined: 2017/11/24 18:40:03

xfs remounted for unknown reason

Post by veehexx » 2020/01/21 07:47:38

i keep seeing the following in dmesg every so often. Can pretty much guarantee it'll do it daily and usually more often but does also seem random so does not appear to be triggered by anything in particular.
it's always /tmp and /var/tmp and i cant see any issues when it occurs. disk is single SSD

I doubt it's anything worth noting but just to highlight it, sometimes i get just 2 entries together, other times 4 with 1-2second gap between them.

SMARTCTL seems to be happy with the disk.

dmesg:

Code: Select all

...
[119961.975252] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[119961.976678] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[119962.303783] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[119962.305043] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[124299.948083] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[124299.949272] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[124301.519747] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[124301.521337] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[124530.692416] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[124530.693656] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[125556.856112] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[125556.857295] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[125558.137476] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[125558.139115] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[125703.456147] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[125703.457453] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[125874.200492] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[125874.201904] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[195883.163011] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[195883.164694] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[195884.777352] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[195884.781947] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[206580.577823] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[206580.579086] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
[206581.291367] xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
[206581.293026] xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
df -h

Code: Select all

devtmpfs                 7.7G     0  7.7G   0% /dev
tmpfs                    7.7G     0  7.7G   0% /dev/shm
tmpfs                    7.7G   18M  7.7G   1% /run
tmpfs                    7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/mapper/centos-root   50G   24G   27G  47% /
/dev/sdd2               1014M  251M  764M  25% /boot
/dev/sdd1                200M   12M  189M   6% /boot/efi
/dev/mapper/centos-home   53G  203M   53G   1% /home
/dev/md1                 2.8T  2.3T  447G  85% /mnt/md1
tmpfs                    1.6G     0  1.6G   0% /run/user/0
tmpfs                    1.6G     0  1.6G   0% /run/user/1000
fstab

Code: Select all

/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=ae594c1a-2cf2-4788-b48d-10667e407daf /boot                   xfs     defaults        0 0
UUID=A66B-3B5A          /boot/efi               vfat    umask=0077,shortname=winnt 0 0
/dev/mapper/centos-home /home                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
UUID=8a960c47-e191-469e-8aca-b640221068f6 /mnt/md1 auto defaults,x-parent=1641584b:e2d3f560:45d84173:2b281c78 0 0
is the xfs remounting on tmp a problem or is it some 'quirk' of xfs (i'm a bit more familiar with ext4, but not much) that's used to periodically clean up tmp locations?

MartinR
Posts: 583
Joined: 2015/05/11 07:53:27
Location: UK

Re: xfs remounted for unknown reason

Post by MartinR » 2020/01/21 08:26:38

I can't off hand help with the remounting problem, but the timestamps message is due to https://en.wikipedia.org/wiki/Year_2038_problem. Ignore it, it is unlikely that you'll still be running CentOS 7 on your current hardware in 18 years time.

veehexx
Posts: 25
Joined: 2017/11/24 18:40:03

Re: xfs remounted for unknown reason

Post by veehexx » 2020/01/21 08:57:42

oh yeah, the 2038 timestamp I've already looked into. 18years to get that fixed so i'm sure i'll get that sorted in time :D Not sure if fixed on 8stream, but I am wanting to get updated to that once a bug with a dvb tuner firmware loading & an upstream stable release of podman (to 1.7+ iirc, current stable is 1.4.x) to resolve fixed IP assignment&reuse.

the remount is the main concern. not so much for tmp (as it doesn't appear to be causing issues) but more if it's pointing to a more serious underlying issue that will show itself later.

this centos7 install is very new too - i tried upgrading to 8stream over christmas which is when i found the dvb firmware & podman issues. the DVB issue forced me to revert back to a clean install of centos7.

User avatar
TrevorH
Forum Moderator
Posts: 28907
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xfs remounted for unknown reason

Post by TrevorH » 2020/01/21 08:59:22

Even more interesting since you don't have a /tmp or /var/tmp filesystem...
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

nelgin
Posts: 22
Joined: 2014/05/05 08:04:53

Re: xfs remounted for unknown reason

Post by nelgin » 2020/06/17 15:04:50

I've got the same thing happening here with 7.8.2003 and the latest updates though I'm running kernel-ml (5.7.0-1 at this time).

As the op, I have neither /tmp or /var/tmp file systems. I also see /etc/upd/remotes.d and /boot/efi in my logs.

It seems to be systemd related however.

Jun 14 19:27:01 wibble systemd: Starting Hostname Service...
Jun 14 19:27:01 wibble kernel: xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
Jun 14 19:27:01 wibble kernel: xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)

Jun 14 18:51:20 wibble systemd: Reloading The Apache HTTP Server.
Jun 14 18:51:20 wibble kernel: xfs filesystem being remounted at /tmp supports timestamps until 2038 (0x7fffffff)
Jun 14 18:51:20 wibble kernel: xfs filesystem being remounted at /var/tmp supports timestamps until 2038 (0x7fffffff)
Jun 14 18:51:20 wibble systemd: Reloaded The Apache HTTP Server.


I don't really have time to track it from there right now.

Post Reply

Return to “CentOS 7 - Hardware Support”