Was addiscsidisk changed or removed?

This is for discussing general topics about how to use VirtualBox.
Post Reply
bubbaX
Posts: 8
Joined: 12. Jan 2010, 03:32
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, w2003

Was addiscsidisk changed or removed?

Post by bubbaX »

I ran across a couple posts here and elsewhere that referenced using
VBoxManage addiscsidisk ....

That doesn't seem to exist anymore. I went through all the change logs trying to find out when it was changed or removed but no luck.
Is there another way to do this now?


Thanks
Leak
Posts: 242
Joined: 31. Mar 2009, 13:00
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian Testing, Windows XP, Windows Server 2003/2008 R2

Re: Was addiscsidisk changed or removed?

Post by Leak »

*cough*Manual*cough*

Note the "--medium iscsi" option...

np: Matthew Dear - You Put A Smell On Me (Breakbot remix) (Slowdance EP)
bubbaX
Posts: 8
Joined: 12. Jan 2010, 03:32
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, w2003

Re: Was addiscsidisk changed or removed?

Post by bubbaX »

You can only do that with storageattach though. On a side note, you should quit the cigs, it might make that cough go away.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Was addiscsidisk changed or removed?

Post by Sasquatch »

So what's the difference between addiscsidisk and storageattach --medium iscsi? You add an iSCSI volume to a VM with both methods.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bubbaX
Posts: 8
Joined: 12. Jan 2010, 03:32
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, w2003

Re: Was addiscsidisk changed or removed?

Post by bubbaX »

I have users that want the option of adding disks to their VM. addiscsidisk would allow me to create the drive and make it available in the event the regular user decided he needed it. The regular user could then decide when to shut his VM down and attach the drive using a restricted web interface like phpvirtualbox. Obviously, you don't want regular users mucking about with your iSCSI targets.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Was addiscsidisk changed or removed?

Post by Sasquatch »

Then you have to modify your web interface to list the existing iSCSI targets and those are passed down as arguments when using the VBoxManage command. So instead of relying on VB to keep a list, you have to make one instead. Bit more work, but should be doable.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bubbaX
Posts: 8
Joined: 12. Jan 2010, 03:32
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, w2003

Re: Was addiscsidisk changed or removed?

Post by bubbaX »

Actually, I just skipped using the VB iSCSI initiator and used the host server's iSCSI initiator to provide a partition for VB to create regular hdds on. Seems to have a bit better performance too, probably since you are getting the benefit of caching from both the VB host and iSCSI server.
Post Reply