[plug] swap file on itanium

John Usher (Maptek) John.Usher at perth.maptek.com.au
Fri Mar 26 22:19:19 WST 2004


I think this might be a mkswap issue.
 
I believe some versions of mkswap can't handle a file larger than 2Gb.
 
I guess it's also worth mentioning at this point that swap partitions are faster than swap files....

	-----Original Message----- 
	From: Rob Dunne [mailto:Rob.Dunne at CSIRO.AU] 
	Sent: Fri 26/03/2004 3:51 PM 
	To: plug at plug.linux.org.au 
	Cc: 
	Subject: [plug] swap file on itanium
	
	


	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.
	_______________________________________________
	PLUG discussion list: plug at plug.linux.org.au
	http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
	Committee e-mail: committee at plug.linux.org.au
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20040326/7646c0b3/attachment.html>


More information about the plug mailing list