maharmstone / ntfs2btrfs

GNU General Public License v2.0
678 stars 29 forks source link

Cannot convert volume with dirty bit set. (Linux) #68

Closed ShakalnyKot closed 1 year ago

ShakalnyKot commented 1 year ago
$ sudo ntfs2btrfs /dev/sdc2
Using Zstd compression.
Using CRC32C for checksums.
Cannot convert volume with dirty bit set.
$

Meanwhile, seems like dirty bit is not set:

$ sudo mount /dev/sdc2 /windata_1/
$ echo "test" > /windata_1/test
$ cat /windata_1/test
test
$ rm /windata_1/test

(Linux mounts NTFS partition read-only if dirty bit is actually set)

I already done both ntfsfix and ntfsrecover but problem is not solved

ShakalnyKot commented 1 year ago

Dirty bit is set:

$ sudo ntfsinfo -fm /dev/sdc2
WARNING: Dirty volume mount was forced by the 'force' mount option.
Volume Information 
        Name of device: /dev/sdc2
        Device state: 11
        Volume Name: 6jy7r5
        Volume State: 91
        Volume Flags: 0x0001 DIRTY
        Volume Version: 3.1
        Sector Size: 512
        Cluster Size: 4096
        Index Block Size: 4096
        Volume Size in Clusters: 122091781
...