mickey wrote:
On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote:
George C wrote:
Softdeps don't do anything for you if you are mostly reading from disk,
or if the partition is mounted read-only. It's about writing.
of course they do. there are still atime updates
for example that will be handled if not mount read-only.
I find it more efficient to mount a special partition here as well with
noatime on it to address that. It's it better? Mounting that partition
read only would restrict the changes to the site no?
/dev/wd1a /var/www/sites ffs rw,noatime,nodev,nosuid 1 2
Unless you can have two different mount point to the same partition?
Never tried it and always assume it wouldn't be possible anyway. Like:
/dev/wd1a /var/www/sites ffs rw,nodev,nosuid 1 2
/dev/wd1a /var/www/siteswrite ffs rw,nodev,nosuid 1 2
Can this be done and if so, any drawback to it? So, you configure
httpd.conf to use the /var/www/sites, the logs portion of httpd to use
/var/www/sites/logs mounted softdep and then /var/www/siteswrite for you
to use to change the files on the sites?
I don't know, does it really make sense?