VirtualBox Raw Disk

Status
Not open for further replies.

fyver

Dabbler
Joined
Apr 23, 2012
Messages
21
Hi,

I currently have a machine running the latest Ubuntu version (Host) with VirtualBox on it running of a 1TB disk
The box has Freenas 8.2.0 Beta 4 running as a guest.

But now i wanted to import my 'old' Disks thad are in the server, a 1.5TB disk and a 3TB disk.
But I'm pretty new to Ubuntu and i don't know the whole proccess on how to do this.

What I did do is create a ZFS volume of a memory stick(8 GB) with 60 MB of files in it to test it.
Then i created a .VMDK file thad reffers to /dev/sdb1 with the command :

VBoxManage internalcommands createrawvmdk -filename /home/kevinto/jaja.vmdk -rawdisk /dev/sdb1

And then I redid the permissions because it wouldn't mount in virtualbox:

sudo chown -R kevin /dev/sdb1

Then it mounted and it showed up in virtualBox as a 2GB volume (????)
And now I can't mount it in freenas, what I mean is thad freenas does not recognises it as a ZFS volume so.

What do i have to do to make this work?

Thanks alot in advance if you can help me!

Kind Regards,
fyver
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Fyver,

FreeBSD (UNIX) and Ubuntu (Linux) are 2 different operating systems (Unix is like the great-great-great-great-grandfather of Linux). Even though there are similarities, they work quite differently. My advice is to ask your Linux/Ubuntu question in a forum that supports that OS and not the FreeNAS forums.

Cheers,

-- Proto
 
Status
Not open for further replies.
Top