There has to be a better way
-
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
At least in 99% of all cases
But yes, what Scott told you should work out of the box. You just need another VM or something else that can read the filesystem. Depending on the disk image format, you could also use a loop-mount for example.
-
Would be useful to have xs drivers installed to the test system..
-
@DustinB3403 said in There has to be a better way:
Would be useful to have xs drivers installed to the test system..
Probably a good idea.
-
Yep, that should work and I don't have to fuss with trying to pass USB through the host to a VM.
-
It's really just like pulling the hard drive out of one desktop and plugging it into another.
-
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
-
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
-
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
-
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
Linux can do that, just needs a SCSI Scan run.
-
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Right, unless you unmount the source drive first. I don't even think VMWare can reliably do this.
-
@coliver said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Right, unless you unmount the source drive first. I don't even think VMWare can reliably do this.
VMware can do it reliably on its side, but it would still hose the data inside the drive.
-
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Sure, as scott said before, I totally understand why you don't mount a VHD to two running VMs - boom!
-
@scottalanmiller said in There has to be a better way:
@coliver said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Right, unless you unmount the source drive first. I don't even think VMWare can reliably do this.
VMware can do it reliably on its side, but it would still hose the data inside the drive.
Right, unless it's a cluster aware OS and Filesystem.
-
@scottalanmiller said in There has to be a better way:
@coliver said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Right, unless you unmount the source drive first. I don't even think VMWare can reliably do this.
VMware can do it reliably on its side, but it would still hose the data inside the drive.
If you unmounted it first? Or was this a system drive?
-
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@coliver said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
@coliver said in There has to be a better way:
@Dashrender said in There has to be a better way:
@scottalanmiller said in There has to be a better way:
@DustinB3403 said in There has to be a better way:
Does the VM I want to work from need to be offline?
When attaching the disk? yes.
why? You can add new disks to VMWare while a VM is running without any issues. I'm pretty sure you can attach a pre-existing partition as well.
You can do the same in XenServer. At least with Windows as the guest. I haven't tried it with Linux.
You can't however do this if the source drive is running on a separate VM. (That VM must be powered off).
Which is what I did in order to do this.
Right, unless you unmount the source drive first. I don't even think VMWare can reliably do this.
VMware can do it reliably on its side, but it would still hose the data inside the drive.
Right, unless it's a cluster aware OS and Filesystem.
Just cluster aware filesystem. GFS2, OCFS, VxFS would all work fine.