Skip to content

NTFS > XFS/F2FS No Such Device error #49

Description

@duarm

I was testing the NTFS to XFS/F2FS conversion, but couldn't get it to even start, it gives me a No Such Device error, not sure why since I made sure to follow the Requirements.

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk
└─sda1        8:1    0 931.4G  0 part
fstransform: starting version 0.9.4, checking environment
fstransform: checking for which...         '/usr/bin/which'
fstransform: checking for expr...         '/usr/bin/expr'
fstransform: checking for id...         '/usr/bin/id'
fstransform: parsing command line arguments
fstransform: device initial (current) file-system type 'ntfs' specified on command line
fstransform: forcing trasformation of untested file systems (DANGEROUS). '--force-untested-file-systems' bytes specified on command line
fstransform: checking for stat...         '/usr/bin/stat'
fstransform: checking for mkfifo...         '/usr/bin/mkfifo'
fstransform: checking for blockdev...         '/usr/bin/blockdev'
fstransform: checking for losetup...         '/usr/bin/losetup'
fstransform: checking for fsck...         '/usr/bin/fsck'
fstransform: checking for mkfs...         '/usr/bin/mkfs'
fstransform: checking for mount...         '/usr/bin/mount'
fstransform: checking for umount...         '/usr/bin/umount'
fstransform: checking for mkdir...         '/usr/bin/mkdir'
fstransform: checking for rmdir...         '/usr/bin/rmdir'
fstransform: checking for rm...         '/usr/bin/rm'
fstransform: checking for dd...         '/usr/bin/dd'
fstransform: checking for sync...         '/usr/bin/sync'
fstransform: checking for fsmove...         '/usr/bin/fsmove'
fstransform: checking for fsmount_kernel...         '/usr/bin/fsmount_kernel'
fstransform: checking for fsremap...         '/usr/bin/fsremap'
fstransform: checking for fsck(source file-system)...        '/usr/bin/fsck'
fstransform: checking for fsck(target file-system)...        '/usr/bin/fsck'
fstransform: looking for optional commands
fstransform: checking for sleep...         '/usr/bin/sleep'
fstransform: checking for date...         '/usr/bin/date'
03:26:05 fstransform: applying special options for file-system type 'ntfs'
03:26:05 fstransform: checking for fsck(source file-system)...        '/usr/bin/ntfsresize' ('ntfsresize' was specified)
03:26:05 fstransform: environment check passed.
03:26:05 fstransform: saving output of this execution into /var/tmp/fstransform/fstransform.log.21879
03:26:05 fstransform: preparing to transform device '/dev/sda1' to file-system type 'f2fs'
03:26:05 fstransform: device '/dev/sda1' not found in the output of command /usr/bin/mount, assuming it is not mounted
03:26:06 fstransform: device is now mounted at '/tmp/fstransform.mount.21879' with file-system type 'fuseblk'
03:26:06 fstransform: file-system type 'fuseblk' is a placeholder name for FUSE... ignoring it (user specified type 'ntfs')
         
03:26:06 fstransform: WARNING: this program is UNTESTED on device current file system 'ntfs' !
         
03:26:06 fstransform: WARNING: this program is UNTESTED on target file system 'f2fs' !
                      this program is tested ONLY on file systems: ext2 ext3 ext4 reiserfs jfs xfs
                      continuing anyway due to option '--force-untested-file-systems' (DANGEROUS)
03:26:06 fstransform: device raw size = 1000068874240 bytes
03:26:06 fstransform: creating sparse loop file '/tmp/fstransform.mount.21879/.fstransform.loop.21879' inside device '/dev/sda1'...
03:26:06 dd: 1+0 records in
03:26:06 dd: 1+0 records out
03:26:06 dd: 1 byte copied, 6.3639e-05 s, 15.7 kB/s
03:26:06 fstransform: device file-system block size = 4096 bytes
03:26:06 fstransform: device usable size = 1000068874240 bytes
03:26:06 dd: 1+0 records in
03:26:06 dd: 1+0 records out
03:26:06 dd: 1 byte copied, 0.000386415 s, 2.6 kB/s
03:26:06 fstransform: unmounting device '/dev/sda1' and remounting it read-only using kernel driver
03:26:06 fsmount_kernel: ERROR: syscall mount(source='/dev/sda1', target='/tmp/fstransform.mount.21879', fstype='ntfs', mountflags=0x1, options='') failed: No such device
         
03:26:06 ERROR! fstransform: command '/usr/bin/fsmount_kernel /dev/sda1 /tmp/fstransform.mount.21879 -o ro -t ntfs' failed (exit status 237)
                this is potentially a problem.
                you can either quit now by pressing ENTER or CTRL+C,
                
                or, if you know what went wrong, you can fix it yourself,
                then manually run the command '/usr/bin/fsmount_kernel /dev/sda1 /tmp/fstransform.mount.21879 -o ro -t ntfs'
                (or something equivalent)
                and finally resume this script by typing CONTINUE and pressing ENTER: 03:26:07 fstransform: exiting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions