tech:fsck
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:fsck [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:fsck [2025/03/27 16:46] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| {{tag> | {{tag> | ||
| - | = Notes fsck | + | # Notes fsck |
| warning: couldn' | warning: couldn' | ||
| fsck possible à condition d' | fsck possible à condition d' | ||
| - | < | + | ~~~bash |
| mount -o remount,ro / | mount -o remount,ro / | ||
| touch /plop | touch /plop | ||
| - | </ | + | ~~~ |
| - | < | + | ~~~bash |
| fsck -C -a -V -t ext3 / | fsck -C -a -V -t ext3 / | ||
| fsck.ext3 -a -f -C0 / | fsck.ext3 -a -f -C0 / | ||
| - | </ | + | ~~~ |
| + | Au prochain démarrage | ||
| + | ~~~bash | ||
| + | touch /forcefsck | ||
| + | ~~~ | ||
| ---- | ---- | ||
| - | < | + | ~~~bash |
| fsck.ext4 -vf / | fsck.ext4 -vf / | ||
| - | </ | + | ~~~ |
| - | <code -> | + | ~~~ |
| e2fsck 1.42.12 (29-Aug-2014) | e2fsck 1.42.12 (29-Aug-2014) | ||
| 2TO : récupération du journal | 2TO : récupération du journal | ||
| Ligne 58: | Ligne 62: | ||
| ------------ | ------------ | ||
| | | ||
| - | </ | + | ~~~ |
| - | < | + | ~~~bash |
| badblocks -sv /dev/sda | badblocks -sv /dev/sda | ||
| - | </ | + | ~~~ |
| - | == xfs | + | ## xfs |
| - | < | + | ~~~bash |
| xfs_check / | xfs_check / | ||
| xfs_scrub / | xfs_scrub / | ||
| Ligne 79: | Ligne 83: | ||
| xfs_db -x / | xfs_db -x / | ||
| - | </ | + | ~~~ |
| Changer le label | Changer le label | ||
| - | < | + | ~~~bash |
| xfs_admin -L MY_LABEL /dev/sdb1 | xfs_admin -L MY_LABEL /dev/sdb1 | ||
| - | </ | + | ~~~ |
| Changer le label à chaud | Changer le label à chaud | ||
| - | < | + | ~~~bash |
| xfs_io -c "label -s MY_LABEL" | xfs_io -c "label -s MY_LABEL" | ||
| - | </ | + | ~~~ |
| Vérif avec '' | Vérif avec '' | ||
tech/fsck.1742825205.txt.gz · Dernière modification : de 127.0.0.1
