Page 3 of 4

Re: modifying the size of two disks .vdi

Posted: 9. Sep 2013, 21:01
by Fielding
Perryg wrote:Creating a partition is easy. Manipulating one is different.

You said that the information was data. I guess you could take the long way around and copy the data off, create a new drive of 51200MB ( 50GB ) and then copy the data back to the new drive, if you can not find a different partition manager that will work for you.

Image

Sure. I will comment . It's only data and for the moment I don't need more space in the system virtual disk.

Re: modifying the size of two disks .vdi

Posted: 9. Sep 2013, 21:02
by Fielding
I have some problem creating more disks I think remember.
Only 4 IDE.
How can i create another functional one ?

Best Regards

Re: modifying the size of two disks .vdi

Posted: 9. Sep 2013, 21:08
by Perryg
Remove one of them ( without deleting ) and create a new one. cp the data and then do the same thing to the next drive.

Re: modifying the size of two disks .vdi

Posted: 9. Sep 2013, 22:29
by Fielding
Perryg wrote:Remove one of them ( without deleting ) and create a new one. cp the data and then do the same thing to the next drive.
Seems easy Perryg. I will comment tomorrow
Best Regards

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 13:35
by Fielding
I have creater disk5.vdi and disk6.vdi of more 50 GB. I have to see how to make copies from one to another...
I supposed is running the virtual machine rather than from the console.
I will try and comment.

I have certain problems .
The initial disk seems have lose the format NTFS. I reiniate.
I am experimenting.

Do you know any method to copy data between .vdi from outside the vm ?

Best Regards

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 13:48
by Fielding
I can't reach the data. For some reason the initial disk have no format after creating the new ones.

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 14:08
by Fielding
:oops:

Image

:P I prefer to wait for your help Perryg
I observ in the initial machine the disks I redimension. Perhaps de problem is here. I can make another clone and redimension the disks to its original size of 10 GB and try again.
:roll:

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 14:43
by Perryg
Can you still reach the data on the original machine/disks?

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 15:41
by Fielding
Yes. Both drives.
All perfect. By ouside they appear to be 50 GB but in the vm are 10 GB
In the hard disk administration of windows xp both disks appear to be 10 GB

Re: modifying the size of two disks .vdi

Posted: 10. Sep 2013, 15:56
by Perryg
OK so the first thing is to save the data. Do you have shared folders setup and working? You need to copy the data off these drives to the host and verify that the data is intact.

Re: modifying the size of two disks .vdi

Posted: 11. Sep 2013, 03:29
by Fielding
Done.
I copy the data to the system disk in the VM and also to a shared folder (that's to the host)

Re: modifying the size of two disks .vdi

Posted: 11. Sep 2013, 14:33
by Perryg
Now just remove the drive that you have attached to the guest now, and create new ones.
Once you have that you copy the data back and all should be good.

Re: modifying the size of two disks .vdi

Posted: 11. Sep 2013, 15:03
by Fielding
Perryg wrote:Now just remove the drive that you have attached to the guest now, and create new ones.
Once you have that you copy the data back and all should be good.
In the original machine ?

Any additional security measure ?

The clone machine the result is above.....

Re: modifying the size of two disks .vdi

Posted: 11. Sep 2013, 15:10
by Perryg
Since you have backed up the data to the guests drive in the clone use it, because it does not have snapshots.
From this point forward I would not use snapshots.

Re: modifying the size of two disks .vdi

Posted: 11. Sep 2013, 15:56
by Fielding
First Attempt.
Over the clon machine des-attach the data disk
Enter in the machine to observ all disk dissapeared except the system disk
See in explorer . Delete data disks
create outside the machine two disks of aproximately 80 GB
Enter the machine
convert and initial the two data disks with NTFS
All well
I clone this machine to REClon
copy the system disk from the original machine to this one
rename the system disk and save the other.
No good results in the proof. I enter the machine but some program seems not installed. rare.
I decide to restore from the trash the prior system disk
All well then, but the data disks empty with the new size 80 GB aprox.