Hello Everyone,
I am a noobie to Rocky Linux which is running as my web server, I have just noticed this /dev/mapper/rl-root which is now running at 75%? Is this something I need to worry about?
Does it need to be increased and not sure why it was installed at 70G if it fills up so quickly? Also, what does it actually do please?
with the tmpfs ones filtered out to make it easier and clearer to see. I think you need to check your server and find out where all the space is going. It could either be normal usage, or some other rogue stuff going on.
So, what would you suggest I do with it? As if it gets full I donβt want it to cause issues with the server. I came from CentOS 7 not sure if I saw that in there when I had it installed.
You have LVM in use, which is the default for installer in both CentOS 7 and Rocky 8.
The installer has created VG named βrlβ and LVs βrootβ, βhomeβ, and (probably) βswapβ.
The βrl-rootβ is thus LV βrootβ in VG βrlβ.
What is important here is what does consume space on your root volume. A typical installation, even with GUI, does not consume 52G. Far from it.
Ok, so I have apache server and nginx running as a proxy and I have automated nightly backup of all sites to a second hard drive, not sure if any of these would cause it to fill up?
Not by what you have shown.
Commands (other than βdfβ) that show βdisksβ:
lsblk
findmnt
You have most likely forgotten to mount the second hard drive. If you do mount it now to β/mntβ, it will hide the files that are under β/mntβ on the β/β volume. Therefore, you have to clean/move them before mounting.
Actually, I donβt mount anything directly to /mnt, but rather create mount points under it, for example: /mnt/backup
That way I can mount multiple disks simultaneously without creating mount points elsewhere.
You were 100% right thank you, I mounted the drive wrong. Now I have done it correctly my
/dev/mapper/rl-root has gone down to 17% now. Thank you very much for your help
Sounds like a ton of stuff was copied to /mnt when the second disk hadnβt been mounted there. I would try unmounting it again and checking the command again to see if it reports 41GB usage again. If so, then you are going to have to move the content out of /mnt, then mount the drive properly, and then copy across what was previously in /mnt if you need it.