Author Topic: ESXi 5.x - pre-built VMDK for unRAID  (Read 36846 times)

Offline BetaQuasi

  • Hero Member
  • *****
  • Posts: 718
  • Beer fixes everything
ESXi 5.x - pre-built VMDK for unRAID
« on: March 21, 2013, 08:40:47 PM »
I have been intending to do this for a while, since it often comes up as a requirement for various users.  I will maintain this thread with each update of unRAID - essentially these are pre-built VMware virtual disks containing what is required to boot unRAID directly, and more quickly than booting entirely from a USB stick.

These are all hosted on Dropbox, so should download nice and quickly.

5.0rc11:     https://www.dropbox.com/s/ggjza9obxr8hdf0/unRAID-5.0rc11.vmdk.zip
5.0rc12:     https://www.dropbox.com/s/p5b0z4931by7153/unRAID-5.0rc12.vmdk.zip
5.0rc12a:   https://www.dropbox.com/s/6lzawnkz6rx1cf9/unRAID-5.0rc12a.vmdk.zip
5.0rc13:     https://www.dropbox.com/s/iac509as9anedf4/unRAID-5.0rc13.vmdk.zip
5.0rc15:     https://www.dropbox.com/s/cc70shondze77ac/unRAID-5.0rc15.vmdk.zip
5.0 final:    https://www.dropbox.com/s/6ok8ob0dhqfleel/unRAID-5.0-i386.vmdk.zip


- 1Gb .vmdk with 100mb partition containing bzroot/bzimage etc
- Upgrade/downgrade by mounting the .vmdk in another VM/direct to your PC/via ESXi (ask google) and replacing the bzroot/bzimage with the new version of these files, or simply download the new version from here as they are updated.
- If you download the new vmdk from here, simply shut down your unRAID VM, upload the .vmdk over the top of the old one and restart your VM.
- Use of these boot .vmdk's is quite simple (I will refine these instructions with more detail, or you can refer to Johnm's Atlas thread in the unRAID Compulsive Design forum:

  • Create a new VM in ESXi, use the Ubuntu 32-bit profile
  • When prompted to add a virtual disk, choose 'Do not create disk'.
  • Upload the .vmdk into your datastore, preferably into the newly-created folder for the VM you just created
  • Edit the new VM and add the disk - choose the .vmdk you just uploaded
  • Map your unRAID USB stick through to the newly-created VM and boot your new VM up

NB: Do not change the volume label on the virtual disk to UNRAID - your USB stick should be the only thing with the volume label of UNRAID.  The USB stick is still required and holds your unRAID configuration files, all plugin files and your license key.
NB2: These .vmdk's will only work in ESXi 5.x

I also recommend coupling an ESXi install of unRAID with Zeron's VMware tools plugin, available here:  http://lime-technology.com/forum/index.php?topic=11449.0

EDIT 23/03 - Added 5.0rc12
EDIT 24/03 - Added 5.0rc12a
« Last Edit: October 19, 2013, 07:38:09 PM by BetaQuasi »

Offline jangjong

  • Sr. Member
  • ****
  • Posts: 356
Re: ESXi pre-built VMDK for unRAID
« Reply #1 on: March 22, 2013, 07:05:24 AM »
This is awesome.
Just what we needed.
AZZA Solano 1000, AMD FX-8320, ASRock 970 EXTREME4, 16GB RAM, M1015 x 2, SeaSonic X750, MB153SP-B x 5
unRAID Server Pro 5.0.3 in ESXi 5.1
Total 18TB: Seagate ST3000DM001 as Parity, Toshiba DT01ACA300 x 1, WD WD30EFRX x 5

Offline peter_sm

  • Hero Member
  • *****
  • Posts: 1167
Re: ESXi pre-built VMDK for unRAID
« Reply #2 on: March 22, 2013, 08:23:35 AM »
 ;D beautiful  8)
unRAID Server Pro :  V6 Beta 4
2x WD - 2TB WD20 ( 1 Parity) | 1x Seagate Barracuda 7200.10, 1.5TB | 3x WD - 1.5TB | 2x WD - 1TB | 1x WD - 640GB | 1x Samsung SpinPoint F1 1TB | 2x Toshiba MK5056GSY 2.5" 500GB | 1x Seagate Barracuda 500GB | 1x Hitachi_HTS541010 1TB | (Cache Drive) | Kingston MobileLite G3 w/4GB µSD (Flash)

CASE: ANTEC 300 & 4-in-3 Module | MB: ASRock Z77 Pro4-M | Memory: Ballistix Sport(16GB) | CPU: i7-3770 CPU 3.40GHz
PCI-e card: Adaptec 1430SA | PCI-e card:BR10i | PSU: Corsair CMPSU-650TX 650W | UPS: APC Back-UPS ES BE550-GR

MP: TViX HD SlimS1

OpenVPN Client Plugin
OpenVPN Server Plugin

KVM-VM Arch-appliance, W8, Slackware 14.1, Unraid 32 & 64

Offline BetaQuasi

  • Hero Member
  • *****
  • Posts: 718
  • Beer fixes everything
Re: ESXi pre-built VMDK for unRAID
« Reply #3 on: March 23, 2013, 10:28:25 PM »
OP updated with 5.0rc12a

Offline Ice_Black

  • Sr. Member
  • ****
  • Posts: 253
Re: ESXi pre-built VMDK for unRAID
« Reply #4 on: March 24, 2013, 05:06:02 AM »
"Do not change the volume label on the .vmdk file to UNRAID"

Do you mean the name of the VM in ESXi?

Offline BetaQuasi

  • Hero Member
  • *****
  • Posts: 718
  • Beer fixes everything
Re: ESXi pre-built VMDK for unRAID
« Reply #5 on: March 24, 2013, 05:08:30 AM »
No, the volume label of the (virtual) disk itself - edited to make that clearer.

Offline Ice_Black

  • Sr. Member
  • ****
  • Posts: 253
Re: ESXi pre-built VMDK for unRAID
« Reply #6 on: March 24, 2013, 05:20:37 AM »
Thank you :) I've got it to work and really fast boot!

Offline Hesse34

  • Member
  • **
  • Posts: 17
Re: ESXi pre-built VMDK for unRAID
« Reply #7 on: March 24, 2013, 07:05:20 AM »
I also wanted to say thanks.  I just got unRAID up and going on ESXi yesterday and you VMDK helped alot.

Jesse
BigBang OS: ESXi 5.1, Case: Norco RPC-4224, Motherboard: Supermicro X9SCM-IIF-O, CPU: Intel E3-1230V2
Memory: 32 GB Samsung M391B1G73BH0-CK0, Power Supply: Seasonic X-850, Flash Drive: Patriot Xporter XT Rage 32 GB, Datastore: Samsung 840 250 GB
Singularity (VM on BigBang) OS: unRAID Pro 5.0 i386, CPU: 1 Core, Memory: 3 GB, HBA: 3x IBM M1015 (flashed to IT mode P15 firmware), Flash Drive: SanDisk Cruzer Fit 16 GB, Parity: WD WD30EFRX 3TB Red, Cache: Samsung HD501LJ 500 GB, Data: 10x WD WD30EFRX 3 TB Red, 2x WD WD15EADS 1.5 TB Green

Online RockDawg

  • Hero Member
  • *****
  • Posts: 764
  • Media Freak
Re: ESXi pre-built VMDK for unRAID
« Reply #8 on: March 24, 2013, 09:02:39 AM »
Thanks a ton. This will be really helpful!

It is better to remain silent and be thought a fool than to open your mouth and remove all doubt.

Offline johnodon

  • Sr. Member
  • ****
  • Posts: 459
  • No Roger, no Rerun, no rent!
Re: ESXi pre-built VMDK for unRAID
« Reply #9 on: March 24, 2013, 10:55:23 AM »
Hey Quasi...quick suggestion....

Maybe the VMDKs should contain the entire unRAID archive contents and not just the bzroot/bzimage.  Here is my reasoning....

Users of the free version of unRAID could do so with also use a VMDK and ditch the USB key as long as:

1.  The volume of the VMDK is named "UNRAID"
2.  The VMDK contains a the configuration (config directory)
3.  The VMDK is set to Independent - Persistent changes are saved

Does this make sense?  As far as I know, having the entire contents of the archive in the VMDK shouldn't hurt anything for Pro/Plus users since unRAID will look for the config and license on the USB key anyway.

John
Version:  v5.05 (PXE booting in ESXi v5.5)
Case:  Norco RPC-4220
Motherboard:  SuperMicro X8DTH-iF
Processor:  2x Xeon E5530 @2.40GHz
Memory:  48GB PC10600R (1GB for unRAID)
Controllers:  2x AOC-SASLP-MV8
PSU:  SeaSonic X850
Parity/Data:  2TB/16TB

Offline brian89gp

  • Full Member
  • ***
  • Posts: 142
Re: ESXi pre-built VMDK for unRAID
« Reply #10 on: March 25, 2013, 08:28:18 PM »
Might add to add the VMDK as Indepentent - Non Persistent.  That way if you somehow corrupt/delete/format the VMDK from inside UNRAID all you got to do is power cycle the guest and all is well again.

I've also deleted the bzroot/bzimage off of my thumb drive and the config directory off of the VMDK I make so its impossible to get them confused with each other.
ESXi 5.0, Dual W5580, SuperMicro X8DTH-6F, 24GB RAM, HP P410, NORCO RPC-4224

unRAID1: 14.5tb  (2x IBM M1015)
unRAID2: 4.5tb  (1x onboard LSI 2008)

Offline johnodon

  • Sr. Member
  • ****
  • Posts: 459
  • No Roger, no Rerun, no rent!
Re: ESXi pre-built VMDK for unRAID
« Reply #11 on: March 26, 2013, 09:18:38 AM »
Might add to add the VMDK as Indepentent - Non Persistent.  That way if you somehow corrupt/delete/format the VMDK from inside UNRAID all you got to do is power cycle the guest and all is well again.

This is a good idea but would nuke my suggestion above for people who are using the free version (no USB key required).  they would lose their settings after every reboot.

Maybe there should be two flavors...persistent and non-persistent.

John
Version:  v5.05 (PXE booting in ESXi v5.5)
Case:  Norco RPC-4220
Motherboard:  SuperMicro X8DTH-iF
Processor:  2x Xeon E5530 @2.40GHz
Memory:  48GB PC10600R (1GB for unRAID)
Controllers:  2x AOC-SASLP-MV8
PSU:  SeaSonic X850
Parity/Data:  2TB/16TB

Offline BetaQuasi

  • Hero Member
  • *****
  • Posts: 718
  • Beer fixes everything
Re: ESXi pre-built VMDK for unRAID
« Reply #12 on: March 28, 2013, 12:44:02 AM »
I'm just doing what I'm doing guys, not really interested in making changes/modifications, as there is so many different ways to do this.  Also, at 100mb a pop, I'd like to limit the amount of these things that are being hosted as I really don't want to start using a service like mega or 4shared or whatever as they are a pain.

Perhaps you'd like to look at implementing/hosting these versions yourselves if you think it's warranted.

I think the VM that another user has posted here ticks some of these boxes:  http://lime-technology.com/forum/index.php?topic=26634.0
« Last Edit: March 28, 2013, 12:45:45 AM by BetaQuasi »

Offline pjneder

  • Member
  • **
  • Posts: 96
Re: ESXi pre-built VMDK for unRAID
« Reply #13 on: March 28, 2013, 12:44:52 PM »
It is great that you have posted these images! I'm just getting started with ESXi but I am not totally ignorant to VM's and Hypervisors. This is definitely a level of complexity above VMWare Workstation and V-box...

I have a test rig that I am trying to experiment with. I've been reading a number of posts, but for some reason I'm still struggling. Here's what I've got and what I've done:

Asus P5Q-Deluxe
Q6600 CPU
4GB
60GB SSD (as datastore)
2x 1 TB HDD's (mapped http://lime-technology.com/forum/index.php?topic=7914.0)
16GB USB running ESXi
2GB SD-card volume = UNRAID setup with RC5.0-12a AiO

ESXi 4.1 installed on USB stick and 60GB set as "datastore1"
Created "VM-unraid" as Ubuntu 32b, no disk assigned.
Went to Configuration tab for the server, right click on datastore1 and browse datastore. Uploaded the unRAID-flat.vmdk file.
Went to VM-unraid machine and then Edit Settings
Hardware Add.. "Hard Disk", Use an existing virtual disk, browse, go the VM-unraid folder in datastore1 and  there are no files to select!?!?!?

Any hint on what I'm doing wrong? I know it must be something painfully stupid.

Thanks!
ESXi Server: Intel DQ77MK, Core i5 3470S, 16GB RAM, SASLP-MV8, 2x 3TB WD Reds, 2x 2TB Hitachi, 2x 1TB Seagates, virtualized unRAID 5.0-rc12a

Offline sureguy

  • Sr. Member
  • ****
  • Posts: 494
Re: ESXi pre-built VMDK for unRAID
« Reply #14 on: March 28, 2013, 12:52:15 PM »


ESXi 4.1 installed on USB stick and 60GB set as "datastore1"



BetaQuasi appears to be using ESXi 5.1.  Was 4.1 a typo?  If not I'd recommend trying 5.1.