![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
hi
howto check freeBSD 7.0 for badblocks ? is it possible to start the badblocks check on running freeBSD without damage the system ? |
|
|||
![]()
Go to the website of the manufacturer of your disk and download an utility to scan the drive for bad blocks. (Usually a MS-DOS or Windows utility)
If you want to pay some bucks and make Steve Gibson rich, get his Spinrite program from grc.com ![]()
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
![]()
You can do it like that:
Code:
% dd < /dev/ad0 > /dev/null You can also try to "fix" these bad sectors with gshred from coreutils package: Code:
# gshred --verbose /dev/ad0
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
![]()
man dd example section says?:
Code:
Check that a disk drive contains no bad blocks: dd if=/dev/ad0 of=/dev/null bs=1m Do a refresh of a disk drive, in order to prevent presently recoverable read errors from progressing into unrecoverable read errors: dd if=/dev/ad0 of=/dev/ad0 bs=1m |
|
|||
![]()
thx,
can I check the system for bad sectors (just a test) using read only option on a running system without single mode or unmout the partitions ? |
|
||||
![]()
yes, with that:
% dd < /dev/ad0 > /dev/null
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No spell check in openoffice? | Mantazz | FreeBSD Ports and Packages | 13 | 29th July 2009 04:30 PM |
Check this out (funny contest). | fbsduser | Off-Topic | 6 | 4th March 2009 10:48 PM |
please check my pf.conf | gosha | OpenBSD Security | 10 | 30th January 2009 12:32 AM |
Best way to check and fix corrupt disk? | bsdme2 | FreeBSD General | 5 | 29th January 2009 06:10 PM |
how to check package dependencies? | bsdnewbie999 | OpenBSD Packages and Ports | 5 | 31st July 2008 04:05 AM |