Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

1

主题
1#
发表于 2013-7-10 09:42:34 | 查看: 3283| 回复: 3
vbox创建虚拟机,选择的VDI  固定大小的磁盘,后来发现空间不够,得扩容,请问如何实现?
4#
发表于 2013-7-10 13:39:04
Maclean Liu(刘相兵 发表于 2013-7-10 13:30
可以通过clone方式修改:

While there is no way to actually switch a VDI between fixed-size and dynam ...

通过扩盘的方式解决了

回复 只看该作者 道具 举报

3#
发表于 2013-7-10 13:38:43
Maclean Liu(刘相兵 发表于 2013-7-10 13:30
可以通过clone方式修改:

While there is no way to actually switch a VDI between fixed-size and dynam ...

你好,克隆后是将old删掉吗?我删掉后进不了系统了

回复 只看该作者 道具 举报

2#
发表于 2013-7-10 13:30:47
可以通过clone方式修改:

While there is no way to actually switch a VDI between fixed-size and dynamic, you can clone the existing VDI into a new one with different settings with VBoxManage.

VBoxManage clonehd [old-VDI] [new-VDI] --variant Standard
VBoxManage clonehd [old-VDI] [new-VDI] --variant Fixed

If you want to expand the capacity of a VDI, you can do so with

VBoxManage modifyhd [VDI] --resize [megabytes]

Resizing only works for dynamic VDI images. However, you can combine the resize information with the conversion information to expand fixed-size VDIs. (E.g., convert a fixed-size image to dynamic, expand it, and then convert the dynamic image back to a fixed-size image.)

If you want to compact the image as much a possibly, be sure to zero out the free space. This can be done in Linux by using the dd command to write endless zeros to a file and then deleting that file. (With the caveat of the reserved space of EXT and other file systems.)

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 21:26 , Processed in 0.068861 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569