The floor was primed and then coated with two coats of DryLok epoxy paint. The plans for the construction of the room are still in the works. I will be obtaining the proper paperwork and inspections for the basement finishing project. You can never be too careful when it comes to red tape. 🙂
Archive for July, 2006
Logfiles galore! (Submit Answer)
Write a bash script that will compress all files named *.log in the directory “/usr/local/app/logs” that have not been accessed in the last day.
The script should only produce output if:
- The directory does not exist
- An error occurs compressing the file
If you need a hint, here is a good article on using find.
I was running low on disk space on one of my servers. Luckily I had set up LVM, was using XFS and had some room to spare on my physical volume. With just 2 commands I added 1GB of space to the filesystem.
root ~> xfs_growfs /usr/local/cacti/rra
I found out how much space I had to spare using the vgdisplay command.
— Volume group —
VG Name vg00
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 67.10 GB
PE Size 4.00 MB
Total PE 17178
Alloc PE / Size 9728 / 38.00 GB
Free PE / Size 7450 / 29.10 GB
VG UUID vYM9vS-mmUn-2JUm-GLJB-B1gk-dJ2r-FHuCZU
Looking at “Free PE” you can see I have 29GB to use on down the road.
To learn more about lvm, check out the HOWTO