[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems adding swap files



Hello!

I'm having some difficulty creating "special" swapfiles to be able to test
swapping to/from an "md" device (raid0).  I've followed the manpage hints
as indicated below, and think that it's complaining about the individual
file(s).  Can anyone guide me in the right direction?

tcsh# df /server/
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/md0             5970540 3908064  1753225     69%   /server
tcsh# cd /server/
tcsh# mkdir swap
tcsh# cd swap
tcsh# dd if=/dev/zero of=swapfile bs=1024 count=8192
8192+0 records in
8192+0 records out
tcsh# mkswap swapfile 8192
Setting up swapspace, size = 8384512 bytes
tcsh# sync
tcsh# swapon swapfile
swapon: swapfile: Invalid argument
tcsh# 

Any ideas?

Thanks,

Pete

--
Peter J. Templin, Jr.                   Client Services Analyst
Computer & Communication Services       tel: (717) 524-1590
Bucknell University			templin@bucknell.edu




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: