Closed Thread
Results 1 to 7 of 7

Thread: How to copy an NTFs partition?

  1. #1
    krishnampkkm is offline Newbie
    Join Date
    Jun 2009
    Posts
    7
    Rep Power
    0

    How to copy an NTFs partition?

    Hii

    I wanna copy an NTFs partition to another partition of same type and same size.And I tried with windows function
    Copyfile() and it worked but slow speed is problem.then I did with readfile() and WriteFile() instead of Copyfile() again speed is a problem.

    How can Get a better speed...??

    I did the same operation in kernel mode and getting slow performance using zwCreatefile() ,zwReadfile() & zwWriteFile()...

    How can I get a better speed .....

    Any idea to help me...

    I know fundamentally Kernel mode(ring 0) is slower than User mode in speed ,(even if ring 0 can access Hardware directly).....


    Apart them these I tried also Asynchronous operation by setting OVERLAPPED flag in CreateFile.... getting small improvement....


    But that one does not give reasonable speed......


    Any idea to help...

    I have used the Acronis Disk director suite.I exclaimed after finding it's speed......???


    Any idea to help me...???



    -----------------------
    Thanking you
    ------------------------

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,525
    Blog Entries
    75
    Rep Power
    144

    Re: How to copy an NTFs partition?

    Wait, are you trying to copy files between partitions, or an entire partition? They are two very different tasks.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    krishnampkkm is offline Newbie
    Join Date
    Jun 2009
    Posts
    7
    Rep Power
    0

    Re: How to copy an NTFs partition?

    Actually I wanna copy the entire partition...

    But only the used data from the source partition....


    So to take the used data.....( i try to copy filessss...)

    And apart from that I tried to copy used clusters...

  5. #4
    krishnampkkm is offline Newbie
    Join Date
    Jun 2009
    Posts
    7
    Rep Power
    0

    Re: How to copy an NTFs partition?

    Thanks for the reply.....


    Can you give me any links to the "white papers related to this section""

    Any body know Any new algorithms......for the fast copy operation...

    I searched but no way to get........



    --------------------
    Thanking you
    ------------------

  6. #5
    Join Date
    Jul 2006
    Posts
    16,525
    Blog Entries
    75
    Rep Power
    144

    Re: How to copy an NTFs partition?

    OK, you keep saying contradictory things. You can do one of two things:
    1) copy the ENTIRE partition. This is a pretty low-level operation and is NOT trivial.
    2) copy selected files from one partition to another. This is a completely different activity, and really has nothing to do with whether the partition is NTFS, FAT32, etc.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  7. #6
    krishnampkkm is offline Newbie
    Join Date
    Jun 2009
    Posts
    7
    Rep Power
    0

    Re: How to copy an NTFs partition?

    First thanks for reply from your side...



    Okkk.....I wanna do the first thing..... "copy the ENTIRE partition."

    How to do that one....??




    ---------------
    Thanking you
    ---------------

  8. #7
    Join Date
    Jul 2006
    Posts
    16,525
    Blog Entries
    75
    Rep Power
    144

    Re: How to copy an NTFs partition?

    You will have to write a program that can be run while you are NOT in the OS on the host partition. I would recommend using one of the freely available tools rather than try to write your own.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Re: Beginners question - NTFS
    By starsoheil in forum C and C++
    Replies: 2
    Last Post: 02-09-2010, 09:17 AM
  2. installing ubuntu with ntfs partitions
    By amrosama in forum Linux Installation & Configuration
    Replies: 4
    Last Post: 01-28-2009, 02:04 PM
  3. Mounting local NTFS hd?
    By chown in forum Linux Networking
    Replies: 4
    Last Post: 04-30-2008, 05:15 AM
  4. FAT32 to NTFS problem
    By gwo in forum Computer Software/OS
    Replies: 8
    Last Post: 05-17-2007, 01:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

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