Cloning HDD using NTFSClone - error message

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
wbnethery3
Posts: 1
Joined: 09 Oct 2015, 01:32

Cloning HDD using NTFSClone - error message

Postby wbnethery3 » 09 Oct 2015, 01:45

I have a Windows installation on a 3-year old HDD that has bad sectors... have used chkdsk but it appears it did not repair completely. I bought a new HDD and installed it to attempt to clone the original drive. I have a boot disk with SystemRescueCD, and have used GParted to copy two partitions successfully (the boot partition and a partition labeled "diag" which I assume means diagnostic). However, ntfsclone will not complete the third and largest partition. Here is the "saved details" file:

GParted 0.22.0 --enable-online-resize

Libparted 3.2

Copy /dev/sda3 to /dev/sdb (start at 14.10 GiB) 00:00:31 ( ERROR )

calibrate /dev/sda3 00:00:00 ( SUCCESS )

path: /dev/sda3 (partition)
start: 29566976
end: 1953521663
size: 1923954688 (917.41 GiB)
check file system on /dev/sda3 for errors and (if possible) fix them 00:00:11 ( SUCCESS )

ntfsresize -i -f -v /dev/sda3

ntfsresize v2015.3.14 (libntfs-3g)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 985064796672 bytes (985065 MB)
Current device size: 985064800256 bytes (985065 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 331765 MB (33.7%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
Multi-Record : 984609 MB 109171
$MFTMirr : 1 MB 1
Compressed : 501747 MB 115156
Sparse : 496597 MB 308794
Ordinary : 984618 MB 109987
You might resize at 331764285440 bytes or 331765 MB (freeing 653300 MB).
Please make a test run using both the -n and -s options before real resizing!
create empty partition 00:00:00 ( SUCCESS )

path: /dev/sdb3 (partition)
start: 29566976
end: 3907028991
size: 3877462016 (1.81 TiB)
set partition type on /dev/sdb3 00:00:01 ( SUCCESS )

new partition type: ntfs
copy file system of /dev/sda3 to /dev/sdb3 00:00:19 ( ERROR )

ntfsclone -f --overwrite /dev/sdb3 /dev/sda3

NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 985064796160 bytes (985065 MB)
Current device size: 985064800256 bytes (985065 MB)
Scanning volume ...
100.00 percent completed
Accounting clusters ...
Space in use : 331765 MB (33.7%)
Cloning NTFS ...
*************************************************************************
* WARNING: The disk has one or more bad sectors. This means that damage *
* has occurred on the disk surface, possibly caused by deterioration of *
* the physical media, manufacturing faults or other reasons. The *
* reliability of the disk may stay stable or degrade fast. *
* Use the --rescue option to efficiently save as much data as possible! *
*************************************************************************
ERROR: Disk is faulty, can't make full backup!
ntfsclone v2015.3.14 (libntfs-3g)


If anyone can help me with this, I'd appreciate it. I am NOT an experienced Linux user, just spent a lot of time reading and decided to try copying the HDD partitions.

Thanks!

gernot
Posts: 1126
Joined: 07 Apr 2010, 16:19

Re: Cloning HDD using NTFSClone - error message

Postby gernot » 09 Oct 2015, 04:37

The NTFS filesystem on this partition contain a block marked "physically bad".
You can try to copy this partition with ntfsclone -f --overwrite --rescue /dev/sdb3 /dev/sda3

Alternative create a new filesystem on /dev/sdb3 and copy the disk content at file level.
If /dev/sdb3 is the boot partition you have to restore boot environment from win. CD.

Gernot


Return to “Hard-disk partitioning and storage”

Who is online

Users browsing this forum: No registered users and 2 guests