tag:blogger.com,1999:blog-4088979.post114540306427695261..comments2023-10-16T06:06:25.012-04:00Comments on TaoSecurity Blog: Dealing With Sguil Partition IssueRichard Bejtlichhttp://www.blogger.com/profile/13512184196416665417noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4088979.post-1145904981589842092006-04-24T14:56:00.000-04:002006-04-24T14:56:00.000-04:00While you could move things to /usr its really bad...While you could move things to /usr its really bad practice. Please go read the FHS (Filesystem Hiearchy Standard). Its written to cover Linux, but most of it can be applied to other OS's. Think about it like this, if you leave, what other admin is going to think that mysql db's are stored in /usr? /var is for variable data, like logs, databases, state files, its where the database should be, so resizing the /var partition to fit your database is the best practice.Jeremiah Johnsonhttps://www.blogger.com/profile/11602655389429174759noreply@blogger.comtag:blogger.com,1999:blog-4088979.post-1145585997172702602006-04-20T22:19:00.000-04:002006-04-20T22:19:00.000-04:00So now what do I do with all the space in the real...So now what do I do with all the space in the real /var partition? :)Richard Bejtlichhttps://www.blogger.com/profile/13512184196416665417noreply@blogger.comtag:blogger.com,1999:blog-4088979.post-1145575418156849192006-04-20T19:23:00.000-04:002006-04-20T19:23:00.000-04:00How about just moving the mysql directory to /usr ...How about just moving the mysql directory to /usr ?<BR/>shutdown mysql,<BR/>mkdir /usr/db<BR/>mv /var/db/mysql /usr/db/<BR/>ln -s /usr/db/mysql /var/db/mysql<BR/>start mysql,<BR/>rejoice.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4088979.post-1145456743258120722006-04-19T10:25:00.000-04:002006-04-19T10:25:00.000-04:00You mentioned RedHat systems having a / and a swap...You mentioned RedHat systems having a / and a swap partition. While I agree, this is a recipe for disaster you're missing something that helps greatly in this situation. Redhat has used LVM for all partitions (except /boot) for a while now. LVM allows you to resize partitions on the fly, so if at some point you are finding that /var just isn't big enough you can shrink another partition that has extra space and add it to your /var partition. I'm sure something like this is available for FreeBSD, but I couldn't tell you what its called.Jeremiah Johnsonhttps://www.blogger.com/profile/11602655389429174759noreply@blogger.com