Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

This article describes how to migrate files and folders from an iSCSI LUN on ReadyDATA to an iSCSI LUN on ReadyNAS.

In this example, the following iSCSI LUN exists on the ReadyDATA:
Image

A server running Window Server 2012 R2 connects to this LUN. Inside the LUN is an NTFS formatted volume containing various files and folders:
Image

 

  1. On the ReadyNAS admin page, go to the iSCSI tab.
  2. Click New LUN.
  3. Enter the new LUN details and click Create. It is recommended to use a thick LUN with Bit Rot Protection disabled.
    Image 
  4. Click New Group.
  5. Edit the name of the new LUN group if required and click Create. Here, we use the default name.
    Image
  6. Click on the LUN and choose Assign:
    Image 
  7. At the prompt, choose to assign to the LUN group created in step 5 and click Apply.
    Image
  8. Click the Properties button beside the newly created LUN Group.
  9. Set Allowed Initiators to Selected and click the plus icon:
    Image
  10. In the Name field, enter the IQN of the server and click Create. If you are unsure of how to find this on Windows operating systems, please refer to Note 1 at the bottom of this article.
    Image
  11. Select the Allowed checkbox beside the IQN you added in the previous step and click Apply.
    Image
  12. On the Windows server, open the iSCSI Initiator.
  13. In the Targets tab, enter the IP address or hostname of the ReadyNAS and click Quick Connect.
  14. When prompted, click Done.
    The Windows server is now connected to both the ReadyDATA iSCSI LUN and the ReadyNAS iSCSI LUN:
    Image
  15. Open the Computer Management console.
    The newly added ReadyNAS LUN appears as an unknown disk.
  16. Right click the disk and select Online.
    Image
  17. Right click the disk again and select Initialize Disk.
    Image
    When prompted, choose GPT partition style and click OK.
  18. Right click the disk and click New Simple Volume.
    Image
  19. Follow the wizard to format the disk.
  20. We now have both iSCSI LUNs connected. The ReadyDATA LUN contains the existing files and folders. The ReadyNAS LUN is empty and ready to accept migration of the data.
    Image
    Next, we will copy the data from the ReadyDATA LUN to the ReadyNAS LUN. You can use any file based transfer program. Here we use robocopy so that we can preserve permissions on the files and folders inside the LUN.
  21. Open a command prompt or PowerShell prompt.
  22. Run the command:
    robocopy.exe [source] [destination] /e /copyall
    The data is copied from the source to the destination. When completed, you see a summary of the operation.
    Image
    Note: 7 directories are copied from a total of 8 because the Recycle Bin is a special directory which is not copied.

 

Note 1 - How to find the IQN on Windows.

  1. On the Windows machine, open the iSCSI Initiator.
  2. Go to the Configuration tab.
  3. The IQN is listed in the Initiator Name field where it can be selected and copied.
    Image
Last Updated:07/07/2025 | Article ID: 30972

This article applies to:

Recently Viewed Articles

    Our team is here to help!

    Phone
    Chat
    Email