Greetings,
I have been facing one issue here and I am not understanding what is causing.
I am getting a lot of alarms complaining that the partition for example /proc/12345 , is full, but the partition does not existe on the server. Which is not supposed to happen, because /proc is not a real FileSystem.
I checked the server and when I checked the disk space :
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_umpom01brb-LogVol01
260G 23G 224G 10% /
tmpfs 7.9G 26M 7.9G 1% /dev/shm
Which is not supposed to happen because there are other mounted partition which should have been show there.
So I ran :
[root@server ~]# mount -l
/dev/mapper/vg_umpom01brb-LogVol01 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/usr/share/myspell/shell/.myempty on /proc/25669 type none (rw,bind)
/dev/sda1 on /boot type ext4 (rw)
10.000.000.00:/umplogs on /var/UMP_LOGS type nfs (rw,nosuid,addr=10.000.000.00)
10.000.000.00:/DBBACKUP on /var/DBBACKUP type nfs (rw,nosuid,addr=10.000.000.00)
10.000.000.00:/opt/sysreports on /opt/sysreports type nfs (rw,nosuid,vers=4,addr=10.000.000.00,clientaddr=10.000.000.00)
And them was okay :
[root@umpom01brb ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_umpom01brb-LogVol01
260G 23G 224G 10% /
tmpfs 7.9G 26M 7.9G 1% /dev/shm
/dev/sda1 194M 58M 127M 32% /boot
10.238.202.15:/umplogs
89G 32G 57G 36% /var/UMP_LOGS
10.238.202.27:/DBBACKUP
99G 60G 40G 60% /var/DBBACKUP
10.238.202.65:/opt/sysreports
15G 2.1G 13G 15% /opt/sysreports
The above is the expected, and should be like that, but after a few hours I got the alarm again, and the partition which was supposed to be mounted is not there again :
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_umpom01brb-LogVol01
260G 23G 224G 10% /
tmpfs 7.9G 26M 7.9G 1% /dev/shm
@@@EDIT@@@
I think I am getting close to the issue
I was looking on /proc/self/mounts and I saw a lot of weird entries :
/dev/mapper/vg_umpom01brb-LogVol01 /proc/14779 ext4 rw,relatime,barrier=1,stripe=64,data=ordered 0 0
/dev/mapper/vg_umpom01brb-LogVol01 /proc/45537 ext4 rw,relatime,barrier=1,stripe=64,data=ordered 0 0
/dev/mapper/vg_umpom01brb-LogVol01 /proc/13170 ext4 rw,relatime,barrier=1,stripe=64,data=ordered 0 0
device /dev/mapper/vg_umpom01brb-LogVol01 mounted on /proc/13142 with fstype ext4
device /dev/mapper/vg_umpom01brb-LogVol01 mounted on /proc/30085 with fstype ext4
device /dev/mapper/vg_umpom01brb-LogVol01 mounted on /proc/38674 with fstype ext4
68 16 253:0 /usr/share/myspell/shell/.myempty /proc/20718 rw,relatime - ext4 /dev/mapper/vg_umpom01brb-LogVol01 rw,barrier=1,stripe=64,data=ordered
69 16 253:0 /usr/share/myspell/shell/.myempty /proc/29767 rw,relatime - ext4 /dev/mapper/vg_umpom01brb-LogVol01 rw,barrier=1,stripe=64,data=ordered
70 16 253:0 /usr/share/myspell/shell/.myempty /proc/38871 rw,relatime - ext4 /dev/mapper/vg_umpom01brb-LogVol01 rw,barrier=1,stripe=64,data=ordered
and all entries are to this myspell thing.
There are hundreds of entries like that, and all alarms I got was listed there. So looks like this is the "source" of all alarms .
Even removing the entry below from mtab, if keeps returning :
/usr/share/myspell/shell/.myempty /proc/9127 none rw,bind 0 0
So I think that my question now is :
How I am supposed to edit this file /proc/self/mounts, if this file is created by the Kernel and this one is "read only". ?