From owner-freebsd-questions@freebsd.org Mon Apr 16 16:24:45 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59F65F90BD6 for ; Mon, 16 Apr 2018 16:24:45 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E089170C2B for ; Mon, 16 Apr 2018 16:24:44 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x229.google.com with SMTP id u62-v6so12307882ita.5 for ; Mon, 16 Apr 2018 09:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=G4hJEgBPkmx13uXtyROAwESb05PdGIr7xYFC08POI7c=; b=aA1HcAYP7kJ7Qh9hLz2WXOQbSH/F2Qr/WoKG4dMGVJftgTyyLtg4Vf5KVVQ6ISVlpt nuDo1nqOeubH1kUxeuQgg0EQbYc9iHYovyMyFcaK0IJa04iwVjMVQkJclDXDJeZUpT3R M0UZu0UJpp5q7GtHKeKIVVfhDq1CuDi8e78E1otWVY4dVZTuTmnP5e5D7HftKQd1k5K2 mMJTygrX41BZpPW0xHNv6ozbRIBja/FEQhi93z2JOvScVGU2hdniuWPsebNcnox6G4FH afWPtDl/TqHZiIVr8Iu0BPX3DUgsqk4bpn07X9/sra4HETl/r2mOjU+rAhXxLVzRcjLr IbBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=G4hJEgBPkmx13uXtyROAwESb05PdGIr7xYFC08POI7c=; b=hqxupXQSdesFS+QAYuHKXT4ju23DAQCx+eWH30u6+YwVFYNkipnY62v0aW4528wXN0 z+agvf1wosLWX68dJYDw7mlkyUKj63Q/fBaNX/ykOIKOEcjcBPgf9nQpuXMAAb29x9B9 tUPBvRRiWCLCw8h9EtZ7Gdr1ndgvY0lejfpYkez+u3Ey9zYvBJKjoaIoIdjOkpt+Vpn8 eFqMXMV/TKJOScHKp7M5BPnDMhm62iuVS5QfRZRo46iRYRpkyqzTyPSSTv5rFL3wko4r hz2ZNN3ZOag8z5HD++dt1Nt8YNHydqpOzzP6PnKIMSDMEC8EqAOQ/JydTaSc1CtWhK4K NWkQ== X-Gm-Message-State: ALQs6tCiTJm0Y8V19bSm4ZAIkTynxtqF2+6HCEqWSsyGszxznK0FB3Jg 7t7YPNAnRzOP39LmgoiD0F2f+A== X-Google-Smtp-Source: AIpwx4+oWFBDlYMN5Bixt+eUjVUkOOcKFUE/Zuz96IsmutZJgtrZ80vNhXOhkw1vYHlcX+Hocgy1Bw== X-Received: by 2002:a24:3d01:: with SMTP id n1-v6mr16418040itn.134.1523895884233; Mon, 16 Apr 2018 09:24:44 -0700 (PDT) Received: from [10.0.10.7] (cpe-65-25-48-31.neo.res.rr.com. [65.25.48.31]) by smtp.googlemail.com with ESMTPSA id d85-v6sm3916757itb.23.2018.04.16.09.24.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Apr 2018 09:24:43 -0700 (PDT) Message-ID: <5AD4CE4A.5020408@gmail.com> Date: Mon, 16 Apr 2018 12:24:42 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon CC: "freebsd-questions@freebsd.org" Subject: Re: ntfs HD with io errors References: <5AD4AE2A.80400@gmail.com> <20180416163812.ed284db3.freebsd@edvax.de> In-Reply-To: <20180416163812.ed284db3.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 16:24:45 -0000 Polytropon wrote: > On Mon, 16 Apr 2018 10:07:38 -0400, Ernie Luzar wrote: >> Have a 3TB ntfs HD with i/o errors. >> >> ntfs-3g does read it, but a ls command of 2 different directories get >> error msg about i/o errors and nothing is listed. >> >> Is there a way to fsck this HD to fix it? > > This depends on the actual reason for the error message. > As it has been suggested, Spinrite can do a great job > to "re-activate" broken disks, at least for copying > their content once. Also check the tools in "ntfsprogs", > one might be able to repair the file system... but I/O > errors often indicate hardware failure. Have you tried > to get a smartctl report for the disk yet? > > > >> There is only 600GB of data on the 3TB HD. Looking for way to copy the >> data to a 1TB ufs HD. > > > >> What will dump command do with i/o errors? > > With dump, you can only process UFS file systems (as > input); NTFS does not support it. > > > >> Can dd command skip over unused space? > > I think it can. You can also try dd_rescue or ddrescue > which can handle I/O errors much better than stock dd, > for example by using a dynamically adjusted block size > for reading, or performing several attempts on a failed > block. > > > >> Any other ideas? > > Find out if you have a hardware error or a filesystem > inconsistency. > > Oh, and give Spinrite a try, it's really a great tool. > Why isn't it on my list?! ;-) > > In worst case, use magicrescue to get at least the data, > in case you might not be able to get the sorting information > (directory hierarchy and file systems lost). > > > > Spinrite is a $90 utility. All the documentation is for xp fat32 HD and uses an a:floppy drive to boot msdos from. Sent them a email about outdated documentation. Got reply saying no purchasers in many years so not going to update their documentation. Sure sounds like a dead product to me. Since the mbr was deleted looks like win10 got a malicious virus that made the external usb HD un-mountable and screwed with the last file I had open. Nothing physically wrong with the HD. All ready used dd_rescues and recovered 50% of user data which had no i/o errors. dd_rescue could not fix any of the i/o errors. Read the man on dd and found no mention of skipping "free space" IE; unused space in the allocated partition. Only 600gb of data on the 3tb HD. Looking for method to copy this data to 1tb HD bypassing i/o errors.