Avatar of rivkamak
rivkamak
Flag for United States of America asked on

How to migrate a file server that has a LUN directly attached to the VM through iSCSI?

Hi,

I have a VM in vmware that is being used as a file server. The files are residing in a LUN that is shared directly with the VM through iSCSI. (It appears as a second drive in windows.)

I want to upgrade the file server and I figure the easiest way to get this done is put up a new VM on the same Host and make another direct iSCSI connection from the VM to the ISCSI target (the same LUN). This way I will have all company files instantly without having to use any backup/restore software and save on SAN space.  

Does this make sense? If it does,then what will happen to all my ntfs/sharing permissions that were configured on the old file server. Will they be transfered also since the LUN was moved?

Thank you.
VirtualizationStorageWindows OSVMware

Avatar of undefined
Last Comment
andyalder

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
rivkamak

ASKER

Thank you very much.


Just wondering why cant two VM's both server up the same LUN via ISCSI?



SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
rivkamak

ASKER

Thank you.


Its as simple as turning off the old file server or should I disconnet the RDM first and  only then present the LUN to the new file server?

Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

As the old server is NOT going to be turned on again, and retired, I would just power off, and leave as is. (just in case you need to turn back on again!) = rollback!

Just build a new VM, then power off the old.....connect LUN...
Your help has saved me hundreds of hours of internet surfing.
fblack61
rivkamak

ASKER

Thank you. 


One last question. When I check the disk I see that it says iSCSI network. If its an RDM isnt it supposed to say Raw Mapped LUN?  Is that the same thing?


Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

two network interfaces??

no I suspect you use the Microsoft iSCSI int in the VM to connect to the LUN which is a RAW LUN but not a VMware RDM
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
andyalder

The simplest explanation of why you cannot share a LUN without some form of clustering software is that the File Allocation Table is cached in RAM so one server does not check the disk to see what space is really free because it can use the cached copy for speed.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.