On Fri, Dec 7, 2012 at 3:25 PM, Adam Vande More <amvandemore_at_gmail.com> wrote: > On Fri, Dec 7, 2012 at 5:05 PM, Tomek CEDRO <tomek.cedro_at_gmail.com> wrote: > >> As I get ffs_valloc kernel panic on my / I want to check for badblocks but >> cannot do that from the system itself so I need another FreeBSD instance to >> run badblocks on unmounted /. There are no badblocks on LiveCD and I cannot >> simply download it with pkg_add -r. Installing another system just to test >> existing one seems silly. It would be nice to finally have swiss army knife >> on generic LiveCD FreeBSD install, not using linux windows hirens etc :-) >> >> I have just started dd if=root of=root from LiveCD, Ill let you know if >> that worked :-) > > > You probalby want a filesystem tool but it's impossible to tell since you > didn't include all the relevant info. Try fsck. > > If you did want a "badblocks" tool from the base system, /sbin/recoverdisk > is the best. dd is fine, but not as through as it. ports/sysutils/smartmontools? Most modern disks support S.M.A.R.T and will log read or write errors as well as perform non-destructive (though far from comprehensive) testing. -- R. Kevin Oberman, Network Engineer E-mail: kob6558_at_gmail.comReceived on Sat Dec 08 2012 - 00:20:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC