[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] Changement de partition (suite)



Salut a tous,

J'ai donc enfin commencé la migration de mon /usr vers une autre partition.
J'ai décidé de prendre toutes les précautions et donc de suivre tous les
conseils de tout le monde (vous comprenez maintenant pourquoi je n'ai pas
termine :-)
Voila mon probleme: je voudrais stopper tous les processus accedant a /usr par
fuser -km /usr.
L'ennui est que je suis delogge si je fais ca. En effet (voir attachment),
beaucoup de process accedent a /usr  (mais apparement a des librairies
partagées car si je fais fuser -v /usr, je n'obtiens rien comme resultat et de
plus aucun de ces process n'est "logé" dans /usr)

Ma question: est-ce OK si je continue comme ca, ou faut-il identifier ces
ilbrairies pour les deplacer?

Merci

Raph.

Script started on Tue Dec 22 23:41:20 1998
[root@localhost /root]# ps aux
USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
root         1  0.1  0.4   756   388  ?  S   22:43   0:03 init 
root         2  0.0  0.0     0     0  ?  SW  22:43   0:00 (kflushd)
root         3  0.0  0.0     0     0  ?  SW< 22:43   0:00 (kswapd)
root         4  0.0  0.0     0     0  ?  SW  22:43   0:00 (nfsiod)
root         5  0.0  0.0     0     0  ?  SW  22:43   0:00 (nfsiod)
root         6  0.0  0.0     0     0  ?  SW  22:43   0:00 (nfsiod)
root         7  0.0  0.0     0     0  ?  SW  22:43   0:00 (nfsiod)
root       267  0.0  0.4   720   324   2 S   22:51   0:00 /sbin/mingetty tty2 
root       268  0.0  0.4   720   324   3 S   22:51   0:00 /sbin/mingetty tty3 
root       269  0.0  0.4   720   324   4 S   22:51   0:00 /sbin/mingetty tty4 
root       270  0.0  0.4   720   324   5 S   22:51   0:00 /sbin/mingetty tty5 
root       271  0.0  0.4   720   324   6 S   22:51   0:00 /sbin/mingetty tty6 
root       272  0.0  1.1  1448   936   1 S   22:51   0:00 /bin/login -- root 
root       273  0.0  1.0  1208   816   1 S   22:51   0:00 -bash 
root       342  0.2  0.4   728   324   1 S   23:41   0:00 script 
root       343  0.2  0.4   732   368   1 S   23:41   0:00 script 
root       344  1.2  1.0  1196   792  p0 S   23:41   0:00 bash -i 
root       345  0.0  0.6   824   496  p0 R   23:41   0:00 ps aux 
[root@localhost /root]# which init
/sbin/init
[root@localhost /root]# which mingetty
/sbin/mingetty
[root@localhost /root]# which login
/bin/login
[root@localhost /root]# which bash
/bin/bash
[root@localhost /root]# fuser -mv /usr

                     USER       PID ACCESS COMMAND
/usr                 root         1 frce.  init
                     root       267 frce.  mingetty
                     root       268 frce.  mingetty
                     root       269 frce.  mingetty
                     root       270 frce.  mingetty
                     root       271 frce.  mingetty
                     root       272 frce.  login
                     root       273 frce.  bash
                     root       342 frce.  script
                     root       343 frce.  script
                     root       344 frce.  bash
                     root       346 fr.e.  fuser
[root@localhost /root]# exit


Script done on Tue Dec 22 23:42:35 1998