From owner-freebsd-current@FreeBSD.ORG Sat Dec 8 01:20:18 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01AB1C41 for ; Sat, 8 Dec 2012 01:20:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 809BF8FC13 for ; Sat, 8 Dec 2012 01:20:17 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so736662eek.13 for ; Fri, 07 Dec 2012 17:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MBAzxr/1baHwk3aDbKqHdW7dqazFFOd4whayXb2DLSs=; b=vBWZWAwFfrGq8wSrb50EKT5ztk47aPAZ0AtVQ7PQ64aamlD3/cZrBTAC2PL4X+cEF9 Rvlq4ox6YQHZNcazt6LW2bQRuru0aafp7M8ieUPmds87643GQ51NvCXhZTXtaLgrGt1Q +LdBuHic8CG5B/cWg6GU3oDsmnUXO1L/xL6kjph5n/PSUU5dUhMXGVtENivN5pv6enAu Y/gNhgmqBVqrPm1I9rChSrKa0jgOtpmf5I65CdwwgjYcgEPAq1zFOsOVmVJo6IDVvCnR OvLuRAjqDYTUqQOBMlervPzLT2Yi2UY0UspKsb8yoCCnyYUZJDfeSR8l8u4MvWsNKspz Kucg== MIME-Version: 1.0 Received: by 10.14.176.66 with SMTP id a42mr22953864eem.34.1354929616404; Fri, 07 Dec 2012 17:20:16 -0800 (PST) Received: by 10.223.170.193 with HTTP; Fri, 7 Dec 2012 17:20:16 -0800 (PST) In-Reply-To: References: <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> Date: Fri, 7 Dec 2012 17:20:16 -0800 Message-ID: Subject: Re: 9.1-RC3 LiveCD missing features From: Kevin Oberman To: Adam Vande More Content-Type: text/plain; charset=UTF-8 Cc: Bas Smeelen , freebsd-current@freebsd.org, Tomek CEDRO X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 01:20:18 -0000 On Fri, Dec 7, 2012 at 3:25 PM, Adam Vande More wrote: > On Fri, Dec 7, 2012 at 5:05 PM, Tomek CEDRO 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