Latest interface: 0.3.1
Latest system: 010
Jason
Developer

806 posts

Posted on 1 March 2011 @ 02:45edited 02:46 19s
Alright, I created a new LiveCD suitable for testing only.

ZFSguru-0.1.8-preview2-vbox LiveCD release (testing only)
Download: ZFSguru-0.1.8-preview2-vbox.iso.torrent

The cool thing is: it includes Virtualbox 4.0.4 and phpVirtualbox web-interface.


How to use Virtualbox?
Just head over to the Services page on the web-interface to access phpVirtualBox.
When creating new VMs, choose a name like "Ubuntu;5900" (without the "" quotes). Note the ;5900 at the end, this will act as VNC port number.

Once created, you can start your VM. After this, you can use a VNC client like TightVNC(ext) Viewer to connect to the ZFSguru IP address with the port number chosen (5900 is default).

Once connected, your VNC display can be used to see the 'monitor' of the VM and use keyboard+mouse input. This also works in the booting phase!

Please let me know your experience and perhaps suggestions for improvement! I still got to write the frontend to this extension; but it's a nice preview i think, for things to come. :)
The_Dave
User

221 posts

Posted on 3 March 2011 @ 03:00edited 03:22 09s
Downloading now! I think VirtualBox is perhaps the most important extension. There are a lot of features I need from my server and would comprise several extensions. With this extension getting ready for 1.8 I can at least run a VM to handle all the task right now that don't have an extension. Thanks!
Jason
Developer

806 posts

Posted on 3 March 2011 @ 15:40
Can anyone confirm connecting with VNC to a VM works for them?
The_Dave
User

221 posts

Posted on 4 March 2011 @ 00:44edited 00:58 01s
Well, it works but there are some issues. I am able to connect to a VM, install an OS, browse the internet etc. I installed Ubuntu but am not to familiar with it so it might be the reason I could not browse my lan or share files. Its a pain to use this preview since we can't install it and only run it as a live environment.

It was also a pain to be able to setup vbox with an ISO to install an OS from. Since all the services are disabled (don't get why since the understanding is this is a preview so if it has glitches we would understand) I could not transfer one over the lan to the zfs box. Second, since your stuck in a live environment I could not use the cd drive. I had to connect and use my actual zfs pool which I did not want to do with this build but was my only option.

I started vbox and installed the VM fine but every once in awhile vbox would get stuck when trying to get an updated status of a VM. The running VM still ran fine but vbox became unusable to interact with. The service tab for this should include a way to reset it. Also, I understand you probably want to keep your distribution size down but a link to download the guest integration additions would be nice.

I am in the process of installing Win 7 as a VM. I noticed there is a problem with the cursors between local and guest. I don't if it's a vbox problem or a TightVNC problem but the mouse acceleration is different and makes the mouse very hard to use and try to keep in relatively the same location. Also, sometimes the mosue would get stuck in the top portion of the screen. This was fixed by closing TightVNC and restarting. I think its the vnc viewer although I tried all 4 settings in there and none fixed it?

Anyways, I feel the previews should not be completely crippled. It makes "testing" them a pain in the ass and in the end don't really get to fully test them. Vbox is going to be a GREAT addition though and can't wait for a working build of 1.8!


EDIT: Here is the details box that appears when vbox hangs while waiting for a status update. This usually happens when shutting down a VM causing vbox to hang:



Could not obtain progress operation: 7d9d412ddf28a414-000000000000044f

Details:

Exception Object
(
[message:protected] => Could not obtain progress operation: 7d9d412ddf28a414-000000000000044f
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
[line:protected] => 1024
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /usr/local/www/phpvirtualbox/lib/ajax.php
[line] => 94
[function] => getProgress
[class] => vboxconnector
[type] => ->
[args] => Array
(
[0] => Array
(
[progress] => 7d9d412ddf28a414-000000000000044f
[fn] => getProgress
)

[1] => Array
(
[data] => Array
(
)

[errors] => Array
(
)

[persist] => Array
(
)

)

)

)

)

[previous:Exception:private] =>
)
Jason
Developer

806 posts

Posted on 4 March 2011 @ 01:47edited 01:48 02s
Just a quick reply, but:

1) can't you transfer an .iso of choice to the running Samba service under \\<ZFSguru IP-ADDRESS> ? There should be a tmpfs share that you can write your .iso to, then you can select it in the phpVirtualBox interface (double click folders to make them expand). So Samba is running, it just doesn't have it's management interface ready yet. Sharing Samba on the Files page should also work.

2) Regarding your error; you may have too few RAM; how much did you allocate? The LiveCD needs 600MiB+ extra for memory filesystem, so testing below 4GiB may not be wise.

3) There could be a bug while trying to perform a Root-on-ZFS install using this preview; could you test that? If you can install Root-on-ZFS that would ease your memory requirements.
The_Dave
User

221 posts

Posted on 4 March 2011 @ 02:58
Jason wrote: Just a quick reply, but:

1) can't you transfer an .iso of choice to the running Samba service under \\<ZFSguru IP-ADDRESS> ? There should be a tmpfs share that you can write your .iso to, then you can select it in the phpVirtualBox interface (double click folders to make them expand).

I tried that after trying below first. For some reason vbox wasn't seeing the iso or it gave an error IIRC.


Jason wrote: So Samba is running, it just doesn't have it's management interface ready yet. Sharing Samba on the Files page should also work.
Tried that first. The share would show up but doesn't grant write permission.


Jason wrote: 2) Regarding your error; you may have too few RAM; how much did you allocate? The LiveCD needs 600MiB+ extra for memory filesystem, so testing below 4GiB may not be wise.
I'm sure the pc is not a problem for requirements. I have 8 gigs of ram with a Intel i5 750. I gave the VM 2 gigs.

Jason wrote: 3) There could be a bug while trying to perform a Root-on-ZFS install using this preview; could you test that? If you can install Root-on-ZFS that would ease your memory requirements.
I already did. If you want I can get the error message again. The build doesn't show in the list until you click mount ZFS media. Did that and it shows "Unknown" to install but doesn't know much about the details and I think it fails due to not having a matching hash or something? I'm surprised no one else has tried this or has posted yet.
Jason
Developer

806 posts

Posted on 4 March 2011 @ 20:41edited 20:52 10s
Hey The_Dave,

Thinking a bit about your issues i can identify the following issues. Please keep in mind this preview ISO image is nothing more than a 'showcase' for integrated virtualbox and phpvirtualbox interface, coming in upcoming release. That the system image version is detected as 'unknown' is entirely normal! It is not an official release.

I have identified the following issues:

1) The LiveCD uses tmpfs which has a known problem with 'sendmail' a technique the webserver uses to retrieve files. The result is that corrupt files are getting sent, that's why i use a different memory filesystem for the web-interface itself. This particular issue should not occur on Root-on-ZFS installations. It may be related to your error message.

2) The tmpfs memory filesystem can quickly become full when using the LiveCD, so that any writes or updates are rejected; this could lead to alot of strange errors too.

3) When performing Root-on-ZFS installation with the unknown system image, there could be a bug on the 'step4' page, where it says that your system image location is "!!NOT FOUND!!". If it tells you that, then the fix for this issue didn't make it into preview2-vbox ISO image.

That last bug is fixed easily. But I'm thinking of releasing a new 'proper' preview2 release soon. Then you can update the existing preview2-vbox version to preview2 using the System->Update page, experimental branch. The stable will be 0.1.7 until 0.1.8 final is released.

I would like to stress that this LiveCD should not be used for real installations; you should reinstall with an official livecd which has an official system image version. So consider it extra experimental and not suitable for anything 'real'. I will release new LiveCD and system image when they are ready, quite soon already. :)
The_Dave
User

221 posts

Posted on 9 March 2011 @ 22:23
Any rough ETA to a release? I am really looking forward to 0.1.8!
Jason
Developer

806 posts

Posted on 13 March 2011 @ 01:22
Getting to the final two items left before a new preview3 release; so a couple of days left! Still a preview though - it will miss things like iSCSI/Samba/NFS service pages and network IP/DHCP configuration, but the extensions would work and use the integrated bit-torrent to download.

I already released a new system image (8.2-002) based on FreeBSD 8.2-RELEASE and it is the first version to contain the infrastructure for the new ZFSguru services that act as extension packages to only install and activate the stuff you really use.

I'm excited about being so close, but there's alot of work to do and it's not really polished for end-users yet, so 0.1.7 would be the most stable release still where things like iSCSI still work.

After the preview3 release i will work on getting the last core services in (Samba, NFS, iSCSI) so 0.1.8 would become more useful and people could make the switch after this. The nice thing is that you can downgrade to 0.1.7 version again.

One word of caution: the new 8.2-002 system image does NOT have iSCSI-target service package, so 0.1.7 + 8.2-002 system image would not allow you to use the iSCSI functionality.
danswartz
User

252 posts

Posted on 13 March 2011 @ 05:37
I appreciate all the work you are putting in, but I have to admit I am bummed that what I consider "bells and whistles" (torrent, vbox, etc...) are taking precedence over getting a stable platform (especially since I am critically relying on iscsi, so the preview is no use to me :( )
Jason
Developer

806 posts

Posted on 13 March 2011 @ 18:24edited 18:27 01s
The torrent functionality is really critical; otherwise my server would be overloaded with HTTP requests of big downloads, which it cannot handle. Now i can distribute content via bit-torrent. That means new system images and the new ZFSguru extensions called 'services' will all be handled through bit-torrent. This means less strain on my server and better download speeds around the globe. Each ZFSguru installation could keep the rtorrent service running and keep seeding the downloads.

I understand these are not thrilling features for you end users, but 0.1.8 is a very important rewrite that will allow ZFSguru to grow and flourish and add things that are useful, while at the same time increasing the speed of the pages and preventing ZFSguru from becoming a bloated project with all kinds of things running you don't need.

After the 0.1.8-preview3 there will be time for more interesting features, such as encryption, welcome page with authentication setup, torrent extension (for user torrents) and frontend, etc.

Feel free to post your list of items that you would like to be included, in this thread: What additional software do you use?
danswartz
User

252 posts

Posted on 13 March 2011 @ 18:37
Ah, okay, I hadn't realized this was for the NAS itself. Like I said, the only thing I really miss from this latest is iSCSI target...
Jason
Developer

806 posts

Posted on 13 March 2011 @ 23:02
iSCSI-target (istgt) will become a new service following the new services structure introduced in 0.1.8; so i need to rewrite the configuration panel and package it all into a working extension package. Before 0.1.8 final releases, all functionality of 0.1.7 should be restored.

So if you need iSCSI support, just wait until after preview3 when the iSCSI service extension is available, then you could try it for a first spin to see if it can replace your current stable 0.1.7 version, which remains the best version of ZFSguru to run for most people right now.
durianmy
User

4 posts

Posted on 14 March 2011 @ 18:05
Hi

I am testing the above image on vbox 4.0.4 r70112 on MBP. I am trying to install rootonzfs for 8.2-002 and I get the following in /var/log/messages. This is at step 4 with "memory tuning" check and "preserve system image" check. Compression (for OS) is set to default "GZIP-6"

The vbox disk size is 8gig.


Mar 14 15:39:18 zfsguru kernel: md2.uzip: 9332 x 65536 blocks
Mar 14 15:42:05 zfsguru kernel: unknown: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=2166552
Mar 14 15:42:05 zfsguru root: ZFS: vdev I/O failure, zpool=os_p path=/dev/gpt/os_d offset=270336 size=8192 error=6
Mar 14 15:42:05 zfsguru root: ZFS: vdev I/O failure, zpool=os_p path=/dev/gpt/os_d offset=8586272768 size=8192 error=6
Mar 14 15:42:05 zfsguru root: ZFS: vdev I/O failure, zpool=os_p path=/dev/gpt/os_d offset=8586534912 size=8192 error=6
Mar 14 15:42:05 zfsguru root: ZFS: zpool I/O failure, zpool=os_p error=6
Mar 14 15:42:08 zfsguru last message repeated 230 times
Mar 14 15:42:08 zfsguru root: ZFS: zpool I/O failure, zpool=os_p error=28
Mar 14 15:42:10 zfsguru last message repeated 230 times
Mar 14 15:42:10 zfsguru root: ZFS: vdev I/O failure, zpool=os_p path= offset= size= error=
DARKLORD
User

6 posts

Posted on 14 March 2011 @ 19:17
works good here. testing right now
Jason
Developer

806 posts

Posted on 14 March 2011 @ 21:05
@durianmy: looks like your storage has insufficient space; can you confirm that? If you check the "preserve system image", it would need an additional 200Megs which cannot be compressed any further (and it won't be compressed since the compression setting only works on /usr and /var filesystems.

Soon this virtualbox extension will be available as new ZFSguru service package, available in upcoming ZFSguru 0.1.8-preview3 release, in a couple of days.
durianmy
User

4 posts

Posted on 14 March 2011 @ 22:28
Hi Jason,

Thanks for the quick response. I was using 'dynamic' allocation for the OS Disk and that causes issue even I allocated 8 Gig. I've change it to fixed size of 2 Gig and I was able to successfully installed the rootonzfs. Going to continue to test the rest of the features now.

Thanks.
Last Page

Valid XHTML 1.1