Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Probleme de swap

4 réponses
Avatar
GanGan
bonjour a tous,

j'ai un soucis avec mon swap il n'est plus utilis=E9

RaiderX:/# dmesg | grep swap
Unable to find swap-space signature
Unable to find swap-space signature
RaiderX:/# swapon -a
swapon: /dev/hdb2: Argument invalide

dans mon fstab : /dev/hdb2 none swap sw 0 =
=20

0

qqu aaurait une id=E9e pour regler ca ?

=2D-=20
=2D-
GanGan

4 réponses

Avatar
Philippe Marzouk
On Wed, Oct 12, 2005 at 07:42:50AM +0200, GanGan wrote:
bonjour a tous,

j'ai un soucis avec mon swap il n'est plus utilisé

RaiderX:/# dmesg | grep swap
Unable to find swap-space signature
Unable to find swap-space signature
RaiderX:/# swapon -a
swapon: /dev/hdb2: Argument invalide

dans mon fstab : /dev/hdb2 none swap sw 0
0

qqu aaurait une idée pour regler ca ?




La commande

mkswap /dev/hdb2

devrait remettre ça en ordre pour que tu puisses refaire un 'swapon -a'.

Philippe


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
GanGan
RaiderX:/home/gangan# file -s /dev/hdb2
/dev/hdb2: Linux rev 1.0 ext3 filesystem data
RaiderX:/home/gangan# mkswap /dev/hdb2
Setting up swapspace version 1, size = 1998737 kB
no label, UUIDQ7d06bc-1de5-4a72-a09b-c24ae082291f
RaiderX:/home/gangan# swapon -a
RaiderX:/home/gangan#

merci a vous deux normalement ca doit etre bon comment puis je le verifier ?


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Frédéric Bothamy
* GanGan [2005-10-13 00:43] :
RaiderX:/home/gangan# file -s /dev/hdb2
/dev/hdb2: Linux rev 1.0 ext3 filesystem data
RaiderX:/home/gangan# mkswap /dev/hdb2
Setting up swapspace version 1, size = 1998737 kB
no label, UUIDQ7d06bc-1de5-4a72-a09b-c24ae082291f
RaiderX:/home/gangan# swapon -a
RaiderX:/home/gangan#

merci a vous deux normalement ca doit etre bon comment puis je le verifier ?



"cat /proc/swaps" devrait afficher ta partition de swap. C'est étrange
tout de même que ta partition /dev/hdb2 était auparavant au format ext3.
Tu es bien certain que cette partition était celle de swap ?


Fred

--
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
GanGan
Le Jeudi 13 Octobre 2005 03:07, Frédéric Bothamy a écrit :


:~$ cat /proc/swaps
Filename Type Size Used
Priority/dev/hdb2 partition 1951888 0
-1

oui c'etait mon swap elle fait 2go jai 1go de memoire

* GanGan [2005-10-13 00:43] :
> RaiderX:/home/gangan# file -s /dev/hdb2
> /dev/hdb2: Linux rev 1.0 ext3 filesystem data
> RaiderX:/home/gangan# mkswap /dev/hdb2
> Setting up swapspace version 1, size = 1998737 kB
> no label, UUIDQ7d06bc-1de5-4a72-a09b-c24ae082291f
> RaiderX:/home/gangan# swapon -a
> RaiderX:/home/gangan#
>
> merci a vous deux normalement ca doit etre bon comment puis je le
> verifier ?

"cat /proc/swaps" devrait afficher ta partition de swap. C'est étrange
tout de même que ta partition /dev/hdb2 était auparavant au format ex t3.
Tu es bien certain que cette partition était celle de swap ?


Fred

--
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html



--
--
GanGan