Monitor how much storage the Ubuntu server is utilizing.
Monitor how much storage the Ubuntu server is utilizing.
Great progress on the build, everything aligns with the plan. Now I’m planning to set up ZFS, mirror the 2x1TB HDD and upgrade the 3x2TB to a RAID 5 array. I need guidance on where to find details about this configuration and how to perform snapshots instead of mirroring.
I built a mirror with two 1TB volumes, listing it as 928GB, which looks accurate. Then I performed a RAID 3 setup of three 2TB disks, showing a total size of 5.44TB, but that’s just the combined capacity. After fixing the configuration, I need to mount it at /var, but I’m unsure how to do that.
You're asking about displaying the total space usage. It's a bit challenging. You're wondering why you need /var and not setting up separate datasets for websites. You also want to keep logs fast on an SSD.
I checked the ZFS status with zfs list again after deletion and recreation. It now displays 3.51T, which suggests it’s functioning properly. That could also be a possibility. You might consider keeping it mounted under "storage" at /storage for easier access.
Yeah or that. I just created a mount point for mine in /mnt/red/ Easy to set apache to use /storage/websites/.... same for other things
I plan to use Nginx, though I'm familiar with setting it up elsewhere as well.
You manage datasets individually, allowing storage limits per website or similar settings.
You're okay with having plenty of space, but if a drive fails, you need to check for signs early and plan the replacement properly. (That means rebuilding the system)
The SMART Daemon monitors disk errors and sends you an email when issues occur. Your email script checks pool statuses and snapshot lists regularly, typically at 8:30 AM each day.