Tus lej khawv koob tsis raug hauv superblock?

Cov txheej txheem:

Tus lej khawv koob tsis raug hauv superblock?
Tus lej khawv koob tsis raug hauv superblock?
Anonim

Tus lej phem phem hauv superblock yuam kev yog qhia meej tias lub operating system tsis tuaj yeem txiav txim siab cov ntaub ntawv hom /dev/sdb siv superblock data. dumpe2fs yuav ua hauj lwm rau mounted los yog unmounted disk tab sis mke2fs yuav tsum tau disk unmounted. /dev/sdb yog tag nrho cov cuab yeej, tsis yog ib qho kev faib tawm xwb!

Kuv yuav kho tus lej khawv koob phem hauv superblock li cas?

1 Teb

  1. Khiav fsck -b $BACKUPSB /dev/sda kho koj disk siv Superblock thaub qab. Ua piv txwv, rau cov zis saum toj no koj yuav xav khiav fsck -b 32768 /dev/sda uas siv thawj qhov thaiv thaiv. …
  2. Mount lub disk nrog mount -o barrier=0 /dev/sda /media/sda kom paub meej tias lub disk tau kho thiab tam sim no tuaj yeem mounted.

Tus lej khawv koob hauv superblock yog dab tsi?

Tus lej phem phem hauv superblock yuam kev yog qhov qhia meej tias lub operating system tsis tuaj yeem txiav txim siab cov ntaub ntawv kaw lus hom /dev/sdb siv cov ntaub ntawv superblock. dumpe2fs yuav ua hauj lwm rau mounted los yog unmounted disk tab sis mke2fs yuav tsum tau disk unmounted. /dev/sdb yog tag nrho cov cuab yeej, tsis yog ib qho kev faib tawm xwb!

Kuv yuav kho qhov yuam kev superblock li cas?

Restoring a Bad Superblock

  1. Ua tus superuser.
  2. Hloov mus rau ib daim ntawv teev npe sab nraum cov ntaub ntawv puas.
  3. Unmount cov ntaub ntawv system.lub mount-point. …
  4. Qhia cov txiaj ntsig superblock nrog cov lus txib newfs -N.newfs -N /dev/rdsk/ ntaus-npe. …
  5. Muab ib qho kev xaiv superblock nrog raufsck hais kom ua.

Dab tsi ua rau cov superblocks phem?

Tsuas yog vim li cas vim li cas "superblocks" yuav raug pom tias "mus phem," yog qhov lawv (tau kawg) cov blocks feem ntau sau. Yog li ntawd, yog hais tias tus tsav mus fishy, qhov no yog qhov thaiv uas koj yuav pom tau tias yog corrupted …

Pom zoo: