Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Swap non si monta piu' [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
[hammerfall]
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 243

PostPosted: Wed Jun 02, 2004 2:30 pm    Post subject: Swap non si monta piu' [risolto] Reply with quote

Da qualche tempo ho questo curioso problema: mi sono accorto quasi per caso che la partizione di swap non viene piu' montata all'avvio.

nel dmesg ho trovato:
Code:
Unable to find swap-space signature

inoltre se provo a montarlo a mano ottengo:
Code:
Valhalla etc # swapon -a
swapon: /dev/hda3: Invalid argument

nonostante il device sia presente nella directory /dev

Penso che cio' sia dovuto al fatto che in un paio di occasioni ho provato il suspend to disk del mio portatile, per altro in alcuni casi fallito, e cio' potrebbe aver lasciato dati indesiderati su swap (dove veniva registrata l'immagine dello stato del sistema per il suspend).
Qualcuno sa dirmi se queste congetture sono sensate e come fare per ripristinare la partizione in oggetto?
Thnx
_________________
--------

Hammerfall ^_^


Last edited by [hammerfall] on Wed Jun 02, 2004 2:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Wed Jun 02, 2004 2:32 pm    Post subject: Reply with quote

Prova a rifare il fs
Code:
# mkswap /dev/hdaX
# swapon

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Jun 02, 2004 2:32 pm    Post subject: Re: Swap non si monta piu' Reply with quote

[hammerfall] wrote:

Unable to find swap-space signature


guarda con
Code:

fdisk /dev/hda

se la partizione é taggata correttamente....
_________________
Ciao da me!
Back to top
View user's profile Send private message
[hammerfall]
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 243

PostPosted: Wed Jun 02, 2004 2:44 pm    Post subject: Reply with quote

ha funzionato, grazie :wink:
ho rifatto il fs swap con
Code:
mkswap /dev/hda3

e poi l'ho attivato

il problema dev'essere nato perche' ho aumentato la ram ma non la dimensione della partizione di swap e quindi il suspend e' fallito in modo disastroso..
_________________
--------

Hammerfall ^_^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum