mfrw / compcache

Automatically exported from code.google.com/p/compcache
0 stars 0 forks source link

swapon: /dev/ramzswap0: Invalid argument #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
can't use compache:

$ swapon /dev/ramzswap0
swapon: /dev/ramzswap0: Invalid argument

dmesg:
ramzswap: NUM_DEVICES not specified. Using default: 1
ramzswap: Creating 1 devices ...
Unable to find swap-space signature

$ uname -a

Linux coolekiste 2.6.30.5 #10 Mon Aug 17 10:38:30 CEST 2009 i686 Intel(R)
Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

Original issue reported on code.google.com by andrej.g...@googlemail.com on 25 Aug 2009 at 2:59

GoogleCodeExporter commented 9 years ago
As explained in README, you need to initialize device using rzscontrol before 
swapon.

sub-projects/rzscontrol/rzscontrol /dev/ramzswap0 --init
swapon /dev/ramzswap0

See rzscontrol manual page for more details.

Original comment by nitingupta910@gmail.com on 25 Aug 2009 at 3:26

GoogleCodeExporter commented 9 years ago
I hope you got it working now...

Original comment by nitingupta910@gmail.com on 26 Aug 2009 at 5:25

GoogleCodeExporter commented 9 years ago
Thanks, it work now. It was a bit simpler in last version.

Original comment by andrej.g...@googlemail.com on 26 Aug 2009 at 9:46