I have an ec2 instance that is booted from an ebs snapshot. The boot device is /dev/sda1
. When I call mount
, df -h
or cat /etc/fstab
I can see the device:
$ mount
/dev/sda1 on / type ext3 (rw)
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 50G 20G 28G 43% /
$ cat /etc/mtab
/dev/sda1 / ext3 rw 0 0
But when I cat /proc/mounts
and cat /proc/self/mounts
/dev/sda1
is missing. Why would this be?
This isn't causing me a problem, and the instance is running fine, it just means I can't use a monit update, because that's checking for mounted filesystems via /proc/self/mounts
and complains that /dev/sda1
is missing (when it obviously isn't), and I'd like to understand why.
0 Answers