Archives
Recent Entries
Search


Links
Powered by
Movable Type 2.64

2008年01月28日

VirtualBoxでclonevdi

VirtualBox 1.5.2 でclonevdi(´ー`)というか仮想DISKのコピー
結構ハマります。


VBoxManage clonevdi コピー元.vdi コピー先.vdi

ですが、コピー先.vdiはfullpathで指定する必要があったのでメモ。相対パスやVDIのディレクトリ中で行ってもエラーになりました(VDIディレクトリが作成できないとかなんとか)。コピー先として指定した文字列先頭にパスセパレータが来ていない場合にそういう動作をしていたポイので "\Documents and Settings\mine\.VirtualBox\VDI\SX006AA26.vdi" みたいな指定をしてやったら成功。

以下、作業時のログ(´ー`)

失敗例1:


C:\Program Files\innotek VirtualBox>VBoxManage clonevdi SX006AA25.vdi SX006AA26.vdi
VirtualBox Command Line Management Interface Version 1.5.2
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling hardDisk->CloneToImage(Bstr(argv[1]), vdiOut.asOutParam(), progress.asOutParam()) at line 2412!
[!] Primary RC = E_FAIL (0x80004005) - Unspecified error
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_FAIL (0x80004005) - Unspecified error
[!] Text = Could not create a directory 'VDI' to store the image file (VERR_ACCESS_DENIED)
[!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee = IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}

成功例(´ー`):


C:\Program Files\innotek VirtualBox>VBoxManage clonevdi SX006AA25.vdi "\Documents and Settings\mine\.VirtualBox\VDI\SX006AA26.vdi"
VirtualBox Command Line Management Interface Version 1.5.2
(C) 2005-2007 innotek GmbH
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

失敗例2:


C:\Program Files\innotek VirtualBox>cd "\Documents and Settings\mine\.VirtualBox"

C:\Documents and Settings\mine\.VirtualBox>"\Program Files\innotek VirtualBox\VBoxManage.exe" clonevdi SX006AA25.vdi SX006AA21.vdi
VirtualBox Command Line Management Interface Version 1.5.2
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling hardDisk->CloneToImage(Bstr(argv[1]), vdiOut.asOutParam(), progress.asOutParam()) at line 2412!
[!] Primary RC = E_FAIL (0x80004005) - Unspecified error
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_FAIL (0x80004005) - Unspecified error
[!] Text = Could not create a directory 'VDI' to store the image file (VERR_ACCESS_DENIED)
[!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee = IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}

C:\Documents and Settings\mine\.VirtualBox>"\Program Files\innotek VirtualBox\VBoxManage.exe" clonevdi SX006AA25.vdi VDI\SX006AA21.vdi
VirtualBox Command Line Management Interface Version 1.5.2
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling hardDisk->CloneToImage(Bstr(argv[1]), vdiOut.asOutParam(), progress.asOutParam()) at line 2412!
[!] Primary RC = E_FAIL (0x80004005) - Unspecified error
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_FAIL (0x80004005) - Unspecified error
[!] Text = Could not create a directory 'VDI' to store the image file (VERR_ACCESS_DENIED)
[!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee = IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}

C:\Documents and Settings\mine\.VirtualBox>

Posted by minemaz at 01:46 | Comments (0) | TrackBack

2008年01月07日

アウトプットが少なすぎる等

アウトプットが少なすぎる今日この頃(;´Д`)このままだとあと3年もたないね

自分自身気づいてはいた。現在のポジションがあるのは過去数年にわたって
積み上げてきた色々が効果を発揮しているからなんだと。しかし最近は刈り取る
ばかりで全然積み上げが足らなくて、そろそろ底が見えてきた感じがする。
新しいネタも入れてはいるけども、そのネタを元にしたアウトプットが少なすぎる。
アウトプットが少ないのでフィードバックも少なくて悪いスパイラルに陥ってる感。

ということで暫く色々と出して参ります(´ー`)。

Posted by minemaz at 05:08 | Comments (2) | TrackBack