Provera da li postoje greske i bad blokovi na hard disku i popravka istih

Uci u root nalog ili u terminalu ukucati su – i sifru root naloga.
U terminalu ukucati:
badblocks /dev/oznaka_uredjaja -s > test
– oznaka_uredjaja moze biti sda, sdb, hda, hdb itd… U zavisnosti od toga koji uredjaj zelite da proveravate i kako Vasa Linux distribucija vidi hard diskove.
– -s prikazuje dokle je badblocks stigao sa proverom.
– test je naziv fajla u koji se upisuju eventualni bad blokovi.

Ukoliko postoje greske onda ih mozete popraviti komandom fsck.
fsck -t ext3 -l test /dev/oznaka_uredjaja
– -t tip file sistema u ovom slucaju ext3.
– -l test ucitava bad block file u ovom slucaju test.
– oznaka_uredjaja moze biti sda, sdb, hda, hdb itd… U zavisnosti od toga koji uredjaj zelite da proveravate i kako Vasa Linux distribucija vidi hard diskove.

Advertisements

About Darth Ewok

Kompjuterski entuzijasta sa preko 30 godina iskustva. FUNDAMENTAL LINUX ADMINISTRATION https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-31c7f Fundamental System Security https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-0c6e2a End User Security Awareness https://www.cybrary.it/verify-certificate/ Certification Number: C-935c75f14-58b64df9 SECURITY MISCONFIGURATIONS https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-fc2853 Security Assessment & Testing https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-83cd23 CREATE A SUBNET https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-ff674 Peripheral Devices and Connectors https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-d97b10 Malware Fundamentals https://www.cybrary.it/verify-certificate/ Certification Number: SC-935c75f14-1ab14a

Posted on 2011/05/24, in Linux tips and tagged , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: