Re: Debian install and swap



Ishwar Rattan wrote:


The system is a debian derivative. hdb2 is a primary
partition for Linux swap. /etc/fstab has the entry:

/dev/hdb2 none swap sw 0 0

but top utility shows 0M swap, and attempt to make it active
with swapon (swapon -a) produces the error:

swapon: /dev/hdb2: Invalid argument

Any ideas?

-ishwar

I can't find "sw" in the mount manpage.

Perhaps: /dev/hdb2 none swap defaults 0 0

... at least, that's what works for me.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Fwd: swap
    ... WD Raptor just because cheap HDs didn't work on long ... I suppose, already occupied by raid1. ... Running a raid1 system with non raid swap just ... with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: How can to set debian to write as less as possible (to use it on Flash drive)
    ... idea to use flash as swap or /var/log etc. ... </To understend how to start> ... ramdisk on top of the DOK / CD. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Where is the memory
    ... memory and not releasing it. ... and only in some few cases had to swap out. ... - Marcelo Souza ... |> To unsubscribe, ...
    (freebsd-questions)
  • Re: Debian install and swap
    ... partition for Linux swap. ... with swapon produces the error: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: AMD Athlon XP 3200+ and reboots under load...
    ... Heat problems from my experience ... >> system down since I've seen problems where just one of those would ... >> If you still get it, continue swap out the power supply next. ... >> To unsubscribe, send any mail to ...
    (freebsd-questions)