+ Reply to Thread
Results 1 to 7 of 7

Thread: How to copy an NTFs partition?

  1. #1
    Newbie krishnampkkm is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    7

    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. #2
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,680
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  3. #3
    Newbie krishnampkkm is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    7

    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...

  4. #4
    Newbie krishnampkkm is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    7

    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
    ------------------

  5. #5
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,680
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #6
    Newbie krishnampkkm is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    7

    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
    ---------------

  7. #7
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,680
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Duplicate partition makes problems?
    By krishnampkkm in forum C and C++
    Replies: 2
    Last Post: 06-14-2009, 10:52 PM
  2. Adding NTFS Support to your Linux Distribution
    By imported_Affix in forum Linux Tutorials, Guides and Tips
    Replies: 2
    Last Post: 03-02-2009, 09:53 PM
  3. installing ubuntu with ntfs partitions
    By amrosama in forum Linux Installation & Configuration
    Replies: 4
    Last Post: 01-28-2009, 04:04 PM
  4. Replies: 5
    Last Post: 11-21-2008, 12:16 AM
  5. Replies: 0
    Last Post: 08-13-2007, 04:46 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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