1833076 Members
2695 Online
110049 Solutions
New Discussion

VG config for best pre

 
Mikael Mattsson
New Member

VG config for best pre

I have 3X4Gb and 2X8Gb and 5 dir whith data doing like 9000 small/medium files/day and copy between the dir

I get 1 file in my indir copy it to app/tmp further to /tmp and then to app/outdir

How do i config it for good speed

1 VG over alldisc
1 dir/disc
5 VG over alldisc

My idea is to config it like this
4Gb App/indir
4Gb App/outdir
4Gb /tmp
and make one VG per dir over all disc

Is't a good idea or ??
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: VG config for best pre

Hi:

You could "smear" your logical volumes across all of the disks by allocating distributed extents. See the man pages for 'lvcreate', specificaly "distributed allocation", e.g.:

# lvcreate -D y -s g -L 500 /dev/vgXX

Another choice would be to use stripes:

# lvcreate -L 500 -i 5 -I 64 /dev/vgXX

Regards!

...JRF...