Date: Fri, 7 Dec 2012 17:20:16 -0800 From: Kevin Oberman <kob6558@gmail.com> To: Adam Vande More <amvandemore@gmail.com> Cc: Bas Smeelen <b.smeelen@ose.nl>, freebsd-current@freebsd.org, Tomek CEDRO <tomek.cedro@gmail.com> Subject: Re: 9.1-RC3 LiveCD missing features Message-ID: <CAN6yY1vuB_gAMX7teuF9et4YOs%2Ba-4MiDYF9xOo4Mw9qdT=bdQ@mail.gmail.com> In-Reply-To: <CA%2BtpaK22Nbdr8z1s5_bK_7e8fVXU2Hm=Tk4iW1PDFyQF=T-s%2Bg@mail.gmail.com> References: <CAFYkXj=R=V=3pUH9FbKq3pdqtga-EuJuTB1avZxi2bkLhUs5WA@mail.gmail.com> <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> <CAFYkXjnkdjjRhuU6nUYCo4bHMiB9WspQy1Da9ZWs=0cNzYQJeA@mail.gmail.com> <CA%2BtpaK22Nbdr8z1s5_bK_7e8fVXU2Hm=Tk4iW1PDFyQF=T-s%2Bg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 7, 2012 at 3:25 PM, Adam Vande More <amvandemore@gmail.com> wrote: > On Fri, Dec 7, 2012 at 5:05 PM, Tomek CEDRO <tomek.cedro@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@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vuB_gAMX7teuF9et4YOs%2Ba-4MiDYF9xOo4Mw9qdT=bdQ>