Re: swapfile will nicht...
Moin Andreas, Liste...
On Wed, 23 Jul 2003 12:09:08 +0200
Andreas Metzler <ametzler@downhill.at.eu.org> wrote:
> > dd if=/dev/zero of=swapfile bs=1024 count=1M
>
> bs=1M count=1024 waere um Groessenordnungen schneller.
Okay, gut... :)
> Bei mir funktioniert es:
> ametzler@downhill:~> rm /tmp/swapfile
> ametzler@downhill:~> dd if=/dev/zero of=/tmp/swapfile bs=1M
> count=100 ametzler@downhill:~> /sbin/mkswap -c /tmp/swapfile
> Swapbereich Version 1 mit der Größe 104853504 Bytes wird angelegt
> ametzler@downhill:~> su -
> downhill:~# chown root:root /tmp/swapfile
> downhill:~# swapon /tmp/swapfile
> Adding Swap: 102392k swap-space (priority -2)
kristian@kaleigh:/tmp$ dd if=/dev/zero of=swap bs=1M count=500
500+0 Records ein
500+0 Records aus
524288000 bytes transferred in 41,489015 seconds (12636791
bytes/sec) kristian@kaleigh:/tmp$ /sbin/mkswap -c swap
Swapbereich Version 1 wird angelegt, Größe 524800 KBytes
kristian@kaleigh:/tmp$ su -
Password:
root@kaleigh:~# chown root:root /tmp/swap
root@kaleigh:~# swapon /tmp/swap
swapon: /tmp/swap: Das Argument ist ungültig
root@kaleigh:~#
> Kernel 2.4.21 + ACPI-patch.
> cu andreas
root@kaleigh:~# uname -a
Linux kaleigh 2.4.22-pre6-ac1 #1 Mon Jul 21 11:31:47 CEST 2003 i686
GNU/Linux
Ich werd' mal einen anderen Kernel probieren. Seltsames Problem,
das. :/
Anyhow, danke und tschö,
Kris
--
these outrageous events
break through the peaceful silence...
into a fragile community
enters madness, insanity.
Reply to: