swap does not stripe

Asked by blackelvis

Hi,

i created to equal swap partitions, hda8 and hdc8, and assigned them the same priority in the fstab, so the kernel would stripe them.

/etc/fstab:
...
# /dev/hda8
UUID=904c2c38-86d1-4510-b087-544273ae1da5 none swap sw,pri=1 0 0
# /dev/hdc8
UUID=49beda5b-f502-4653-bd82-8b6f139ff31e none swap sw,pri=1 0 0
...

However, they don't get striped. top and /proc/meminfo still show a swap size of hda8+hdc8, while swapon reports that both swap partitions have the same priority.

top:
...
Swap: 7807504k total, 0k used, 7807504k free
...

/proc/meminfo:
...
SwapTotal: 7807504 kB
SwapFree: 7807504 kB
...

swapon -s:
Filename Type Size Used Priority
/dev/hda8 partition 3903752 0 1
/dev/hdc8 partition 3903752 0 1

I'm currently using ubuntu 7.10 Gutsy Gibbon final (2.6.22-14-generic #1 SMP). I did this before using the release candidate and i'm quite sure that it worked with it.

Any ideas? Someone there who experienced the same and got the solution? Or if it's a bug, which package to file it against?

Elvis

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
blackelvis
Solved:
Last query:
Last reply:
Revision history for this message
blackelvis (spamsuckz) said :
#1

Additional info: i used the alternate installation cd for my current setup.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
blackelvis (spamsuckz) said :
#3

Problem still exists and i can't think of any additonal information to supply at the moment. Hopefully someone knows the solution, or if it may be a bug, which package to file it against?

Revision history for this message
blackelvis (spamsuckz) said :
#4

Dumb me, must have been confused when i set it up and opened this one afterwards. i'm striping, not mirroring, so the size is right... ;-)