Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[boot] too many links [dé-résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Wed Sep 22, 2010 3:20 pm    Post subject: [boot] too many links [dé-résolu] Reply with quote

Salut,

J'ai un petit soucis. Je démarre ma machine ce matin et après le
* wiping /tmp directory

J'ai des erreurs style:

Could not create needed directory '/var/lib/init.d/softscripts'
Could not create needed directory '/var/lib/init.d/snapshot'
Could not create needed directory '/var/lib/init.d/options'

... etc
de meme qu'un:
ln: creating symbolic link '/var/lib/init.D/started/checroot': No such file or directory

et
mkdir: cannot create directory '/var/lib/init.d/failed'

Quelqu'un aurait une idée?
(c'est du JFS)

Quedal d'intéressant dans le log (message/dmesg)
:(


Last edited by Poussin on Fri Sep 24, 2010 4:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Wed Sep 22, 2010 3:21 pm    Post subject: Reply with quote

Ton système de fichier serait à cours d'inodes ?
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Wed Sep 22, 2010 6:25 pm    Post subject: Reply with quote

ben je ne sais pas trop, mais il y a un truc louche que je viens de remarquer:
2eme colonne de ls -l, si je me souviens bien, c'est nombre de hard link:

4294967295 sur le rep /var/lib/init.d

ça semble beaucoup :s
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Wed Sep 22, 2010 6:50 pm    Post subject: Reply with quote

fais un "df -i" pour savoir si ça vient de là
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
scherz0
Apprentice
Apprentice


Joined: 02 Oct 2008
Posts: 154

PostPosted: Thu Sep 23, 2010 8:21 am    Post subject: Reply with quote

Poussin wrote:
ben je ne sais pas trop, mais il y a un truc louche que je viens de remarquer:
2eme colonne de ls -l, si je me souviens bien, c'est nombre de hard link:

4294967295 sur le rep /var/lib/init.d

ça semble beaucoup :s


ou pas assez, si on lit comme un entier signé sur 32 bits (-1)

Ça pourrait indiquer une corruption du FS
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Thu Sep 23, 2010 1:58 pm    Post subject: Reply with quote

Ben ben j'ai réglé le problème à la barbare:
Code:
mkdir /var/lib/initsave; cp -R /var/lib/init.d/* /var/lib/initsave/; rm -rf /var/lib/init.d; mv /var/lib/initsave /var/lib/init.d


Mais aucune idée du pourquoi du comment...

Merci à tous
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Thu Sep 23, 2010 4:28 pm    Post subject: Reply with quote

Vu le type de la réparation, ça pue effectivement le FS corrompu
Un petit FSCK serait bienvenu dans ce cas, cela pourrait se reproduire ;)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Thu Sep 23, 2010 5:25 pm    Post subject: Reply with quote

J'en ai fait un avant d'utiliser cette méthode barbare (remount en ro et check) et il n'a trouvé aucune erreur.
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Fri Sep 24, 2010 4:17 pm    Post subject: Reply with quote

Ouais en fait, depuis, j'ai plein de soft que déconne/plante/refusent de fonctionner... je me vois mal utiliser cette méthode pour tout le disque :/
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Fri Sep 24, 2010 6:33 pm    Post subject: Reply with quote

question bête, pour quelles raisons avais-tu choisi JFS, et s'il déconne pourquoi pas le changer ?
J'y connais pas grand choses mais les dernières remarque te dise que le FS est sans doute corrompu. De plus je sais plus trop bien, mais il me semble qu'il ne sera plus supporté dans les futurs noyau ou alors c'était un autre FS.
_________________
L'ami aime en tout temps, et dans le malheur il se montre un frère ( Prov. 17,17 )
L'insensé même, quand il se tait, passe pour sage ( Prov. 17;28a )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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