Skip to contentSkip to conversation

LVM and swap

linux-lvm R Dicaire 3 participants 3 messages Mar 4, 2002

lore
Share & tools
lore

R Dicaire

author
#0 lore raw

I have a swap partiton on each of three disks. Is it a good idea to create a logical volume utilizing these three partitions, and make one swap volume, say even striping it across all three disks?

Thoughts/suggestions?

#1 lore raw
Quoted 6 lines · R Dicaire

I have a swap partiton on each of three disks. Is it a good idea to create a logical volume utilizing these three partitions, and make one swap volume, say even striping it across all three disks?

Thoughts/suggestions?

/dev/hde9 swap swap defaults,pri=1 0 0
/dev/hdh9 swap swap defaults,pri=1 0 0
/dev/hdg11 swap swap defaults,pri=1 0 0

that do the same, but without the overhead of useing lvm or raid

#2 lore raw
In reply to R Dicaire
Quoted 3 lines · R Dicaire

I have a swap partiton on each of three disks. Is it a good idea to create a logical volume utilizing these three partitions, and make one swap volume, say even striping it across all three disks?

No.

The linux kernel is already pretty smart about this.

Signature · 1 line
Share and Enjoy.