View previous topic :: View next topic |
Author |
Message |
joehack n00b
Joined: 02 Aug 2003 Posts: 35 Location: Zurich, Switzerland
|
Posted: Fri Oct 28, 2005 12:25 pm Post subject: Changing Partitioning Schema on Existing Installation |
|
|
Hello
In order to get better IO performance, I'd like to offload certain parts of my existing installation to
dedicated filesystems on a second harddisk. I thought about /var (~2GB), /tmp (~1 GB) and probably /opt (~1GB).
1. Will this scheme increase speed? I assume that at least the package build will go faster.
2. How to do it? I planned to
- boot with the Gentoo install CD,
- create the filesystems
- mount old and new fs
- copy /var and /opt with cp -rP /mnt/gentoo/var or opt /$DEST
Will this work or is there a better idea?
Regards,
Jochen
Last edited by joehack on Fri Oct 28, 2005 2:36 pm; edited 1 time in total |
|
Back to top |
|
|
Nil_Spaar Apprentice
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Fri Oct 28, 2005 1:35 pm Post subject: |
|
|
I would add -a or --preserve=all to the cp command but otherwise you plan should work perfectly.
But I doubt that this will increase speed very much. The only time this will gain you anything is when there's parallel access to both harddrives and I don't think that will happen that often. e.g. during a build when the source from /usr/distfiles gets unpacke to /var/tmp it might speed things up, but that phase is usually more cpu bound. During compiling it will only use /var/tmp and not speed up anything. Afaik the only reliable way to get better io speed from two harddrives is raid0 or stripping LVM. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|