[plug] swap file on itanium

Rob Dunne Rob.Dunne at CSIRO.AU
Fri Mar 26 15:51:48 WST 2004


Hi list,
       I am trying to set up a swapfile on an itanium1.
This is how I did it on an intel machine once

#swap files
dd if=/dev/zero of=swapfile bs=1024 count=500536
/sbin/mkswap swapfile
sudo /sbin/swapon swapfile


what I am doing now is

dd if=/dev/zero of=swapfile bs=1024 count=12288000
ls -l swapfile
-rw-r--r--    1 robd     users    12582912000 Mar 26 18:33 swapfile
/sbin/mkswap swapfile
mkswap: error: swap area needs to be at least 160kB
Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]

none of the -c or -v options make a difference and
the  swap area is at least 160kB (the error message is not much use)
I dont know about pagesize.

Any ideas?

					bye
					rob

-- 
Rob Dunne         Fax: +61 2 9325 3200     Tel: +61 2 9325 3263
CSIRO Mathematical and Information Sciences     +61 2 9325 3100
Locked Bag 17, North Ryde, New South Wales, Australia, 1670         
http://matilda.vu.edu.au/~dunne  Email: Rob.Dunne at csiro.au

        Java has certainly revolutionized marketing and litigation.



More information about the plug mailing list