Find the answer to your Linux question:
Results 1 to 3 of 3
I've got a partition: /mnt/sdb2 and /mnt/sdb3 that are both in NTFS and both need to be duplicated onto /mnt/sda - this is also in NTFS. Neither of these drives ...
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    8

    Copying from NTFS mount onto NTFS via Debian



    I've got a partition:
    /mnt/sdb2 and /mnt/sdb3

    that are both in NTFS and both need to be duplicated onto /mnt/sda - this is also in NTFS. Neither of these drives can be put into a different filesystem until the data is put onto sda, which is where the problem is.

    I've tried:
    cp -a /mnt/sdb2 /mnt/sda
    cp: cannot create diredtory '/mnt/sda/sdb2': Operation not permitted

    and:
    rsync /mnt/sdb2 /mnt/sda
    skipping directory /mnt/sdb2

    and:
    rsync -a /mnt/sdb2 /mnt/sda
    NTFS: Unicode name contains a character that cannot be converted to chosen chara
    cter set. Remount with utf8 encoding and this should work.
    rsync: recv_generator: mkdir "/mnt/sda/sdb2" failed: Operation not permited (1)
    rsync: stat "/mnt/sda/sdb2" failed: No such file or directory (2)
    rsync: mkstemp "/mnt/sda/sdb2/*" failed: No such file or directory (2)
    That last line continues over and over with * being many different files, within subdirectories that we're obviously not created.


    As that second line on the last command said, encoding it in utf8 may work. Can anyone help me with this? I don't understand how 'encoding' works.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039
    Code:
    su -
    rsync -ravz /mnt/sdb2/ /mnt/sda

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    8
    Awesome!

    I greatly appreciate the response at all, and at such incredible speed =)

    It worked very well. Some of the files copied, but that's more then likly due to NTFS corruption or the drive going bad.

    Thank you, very much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •