I have a raid 5 partition /dev/md0 that is no longer mounted after reboots.
The file system created on that mount point is xfs.
I have done the following to debug this but do not understand the root cause. Can anyone help me understand what is the issue and how to fix it (I am not an expert in this stuff).
This has happened “out of the blue” after a couple of years of trouble free running.
fsck /dev/md0
fsck 1.40.2 (12-Jul-2007)
If you wish to check the consistency of an XFS filesystem or
repair a damaged filesystem, see xfs_check(8) and xfs_repair(8).
xfs_check /dev/md0
xfs_check: /dev/md0 is invalid (cannot read first 512 bytes)
mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
There is nothing reported in here that indicates the problem (to me).
disk failure
I pretty sure thee is not an out and out disk failure because
sda1 has /boot
sda2 has /
sdb2 has /var
sdc2 has /tmp
sdd2 has swap
I can see /tmp, /var and (obviously) /.
Though no swap is used, “free” indicates it correctly so I assume it is ok.