Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2008 03:43:09 GMT
From:      annona2 <annona2@gmai.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127017: sysutils/ntfsprog ntfsclone not working version 2.0.0
Message-ID:  <200809010343.m813h9oZ062112@www.freebsd.org>
Resent-Message-ID: <200809010350.m813o1dS096087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127017
>Category:       ports
>Synopsis:       sysutils/ntfsprog ntfsclone not working version 2.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 01 03:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     annona2
>Release:        FreeBSD 7.1-PRERELEASE
>Organization:
none
>Environment:
FreeBSD annona.localdom 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Sun Aug 31 12:04:00 JST 2008     annona@annona.localdom:/usr/obj/usr/src/sys/ANNONA  i386
>Description:
ntfsclone -s in sysutils/ntfsprog version 2.0.0 won't work with default config.
and ntfsclone -r wor't work with DMA mode.
# ntfsclone -s -o ad0s1 /dev/ad0s1
> ntfsclone v2.0.0 (libntfs 10:0:0)
> ERROR(22): Opening '/dev/ad0s1' as NTFS failed: Invalid argument
> Apparently device '/dev/ad0s1' doesn't have a valid NTFS. Maybe you selected
> the whole disk instead of a partition (e.g. /dev/hda, not /dev/hda1)?
> # 
>How-To-Repeat:
# ntfsclone -s -o ad1s1 /dev/ad1s1
ntfsclone v2.0.0 (libntfs 10:0:0)
ERROR(22): Opening '/dev/ad1s1' as NTFS failed: Invalid argument
Apparently device '/dev/ad1s1' doesn't have a valid NTFS. Maybe you selected
the whole disk instead of a partition (e.g. /dev/hda, not /dev/hda1)?

ntfsclone -r -O /dev/ad1s1 ad1s1
> ntfsclone v2.0.0 (libntfs 10:0:0)
Ntfsclone image version: 10.0
Cluster size           : 4096 bytes
Image volume size      : 8257503232 bytes (8258 MB)
Image device size      : 8257503744 bytes
Space in use           : 1341 MB (16.2%)   
Offset to image data   : 56 (0x38) bytes
Restoring NTFS from image ...
ERROR(5): Write failed: Input/output error
ata1: FAILURE - non aligned DMA transfer attempted
ad1: setting up DMA failed

>Fix:
only workaround.

when you want to dump, make conifg => LOCK off
and rebuild and install.

when you want to restore,
atacontrol mode ad1 PIO4
will work but slow.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809010343.m813h9oZ062112>