On 14/11/2002 16:50, Ira Abramov wrote:
Quoting Sagi Bashari, from the post of Thu, 14 Nov:I only have remote access to the server (it is colocated).
I can't change the partition settings or repartition the harddisk because /var is a very big partition that is also used for data (database,web).
time to split it up. worth a few minutes of downtime to improve relyability and performance.
I asked here few weeks ago if there is a reason to put /var/www somewhere else (like /home) and the answer I received is that it is probably better to leave it where it is (because I also have dynamic data there).
I can move /var to / and repartition /var. But I have software RAID running on this drive. Is it safe to do, remotely, when software RAID is activated on / and /home?
Yes, you suggested that few weeks ago. But RedHat do not offer it as part of their official kernels, and I'd rather not compile it myself because I don't have physical access and kernel security updates are much easier with the official RPMs.
However i have empty 6GB partition on the harddisk. I don't need that much for spool directory, is it possible to repartition the harddisk while the RAID (linux MD raid) is working? the linux software raid howto says that you shouldn't. Is there any reason for this? (after you turn off the RAID on the partition that you want to delete, ofcourse).
look at EVMS, it will make many of those steps easier.
I might just allocate the free 6GB for the spool directory. Which filesystem should I use for it? reiserfs? it is full tiny files and directories:Is it possible to create virtual partition on a file (using another filesystem format)?ugly, but possible. do it on the clean partition though, not in /var
itself, since it's probably VERY fragmented.
[root@black postfix]# find . -type d |wc -l
1323
[root@black postfix]# find . -type f |wc -l
25083
[root@black postfix]# du -sh
156M .
[root@black postfix]#
Sagi
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]