Thursday, November 26, 2009

OpenSolaris NAS

OpenSolaris LiveCD: boots to console login repeatedly. Seems that I have to select "VESA" option from grub menu to get desktop. However, even then bootup pauses for a long time at console login and I have to wait patiently for desktop to start.

After install,

upgrade to snv_118 or later
http://opensolaris.org/jive/thread.jspa?messageID=404103

to do so, Package Manager -> Repository -> Add with URL http://pkg.opensolaris.org/dev

use package manager to add SUNWsmbs, then use Services GUI to activate "smbd daemon"


create ZFS filesystem to share:
http://developers.sun.com/openstorage/articles/opensolaris_storage_server.html
zfs create -o casesensitivity=mixed mypool/myfs2

zfs set sharesmb=on mypool/myfs2

http://opensolaris.org/jive/thread.jspa?messageID=438181&tstart=0



WELL, updating to newer snv turned out to be fairly involved sysadmin task, which is not what I was looking for. So, try latest build image via precompiled image at http://genunix.org/ in fact, while we're at it, let's build an embedded flash system using the .usb format and instructions from http://chonan-en.blog.pid0.org/2009/11/how-to-create-opensolaris-live-usb.html which in my case resulted in cat 1gb_headimg.dat osol-dev-127-x86.usb| dd of=/dev/sda bs=16k ... the solaris live image is really big, just shy of 1GB, but they did keep it small enough to fit on a 1GB flash drive.

results: boot hangs during POST, before memory scan, just like the EON-NAS USB boot did... so there seems to be something about the OpenSolaris USB boot images incompatible with my hard drive, even through FreeBSD boot image (also using grub) works just fine, and a random non-bootable USB drive doesn't interfere with normal boot. Grrr.

No comments: