OpenSolaris derived ZFS NAS/ SAN (OmniOS, OpenIndiana, Solaris and napp-it)

not possible, no pci passthrough

but im able to attach raw disk to vm..... just modify a file in xenserver....im able emulate sata disk as usb disk....but performance of sata disk
but it will be recognize as usb disk in xencenter rather than sata disk
 
but im able to attach raw disk to vm..... just modify a file in xenserver....im able emulate sata disk as usb disk....but performance of sata disk
but it will be recognize as usb disk in xencenter rather than sata disk

I don't understand?
 
but im able to attach raw disk to vm..... just modify a file in xenserver....im able emulate sata disk as usb disk....but performance of sata disk
but it will be recognize as usb disk in xencenter rather than sata disk

emulating a disk is not the same as passing the disk straight to the OS...
emulating is exactly what we dont want
 
Im having an issue trying to install OpenIndiana. After selecting the install it keeps telling me to login. According to http://wiki.openindiana.org/oi/Installing+or+Upgrading, it says
If you see a "login:" prompt after selecting your keyboard and language and no desktop appears after several seconds, there may be a problem with the drivers for your graphics hardware.

My hardware consists of:
Zotac H67ITX-C-E
Intel i3 2105
Corsair XMS3 4GB 1333
Kingston 8Gb flashdrive for OS
6 Hitachi 2TB hard drives

Any ideas?
 
Last edited:
hows the performance running os on flashdrive?
_Gea covered this in another thread:
Installing a full featured OS like Nexenta, OpenIndiana or SE11 on a USB stick is

- not supported while it may work
- not suggested because not very reliably and slow like pain

use any small sata disk (any hd or small ssd) instead
If you use ESXi/ all-in-one you can install ESXi + local datastore on a disk while on a USB stick you can only install ESXi and need a separate datastore disk

in future with USB3 and SSD like sticks, this may change
(advantage: you do not need a sata slot for OS, but with any serious storage server you want a SAS controller with more slots some time)
-TLB
 
HI

im setting up a OI+napp-it NAS for the house and i have a few questions

1. I would like to use crashplan unlimited online backup to do offsite backups, they have a Solaris client, but i dont know where i would point it to to backup the data in the ZFS pool. any ideas??

2. i would like to use the time machine feature on the few macs we have and i know this can be done with an addon, but can i point it to a folder ex, pool test-folder backups-folder computer name-files. has anyone setup it up like this?

i have tried OI+napp-it in a VM and i like how it works but i cant test everything in a VM.

Thanks
 
Depends on how crashplan presents the backup site. If it can be presented as some kind of mounted filesystem, you can do a 'zfs send | gzip > xxx', where 'xxx' is a file on that network filesystem...
 
i dont know how it operates exactly will have to look in to that. would i be able to tarball directories then gzip them ex the backups folder => backups.tr.gz ?
 
I have crashplan running on my solaris 11 server. I have a zfs folder /data/backup

I just selected the majority of the subfolders and have them backed up to crashplan central. I paid like $45 for the next year and have about 65 gigs backed up at the moment. I sync my laptop with my NAS routinely and then the NAS backs up changes to crashplan.

Crashplan takes care of compression, encryption and server-side versioning.
 
so all you did was point it to the Folder in the ZFS pool? if thats the case great, less work for me. :)
 
yup, thats it. just pointed it to a ZFS folder.

if you are running your server CLI/headless, its a bit annoying since there is no web interface (poor design IMHO, but such is life), basically what I did is edit a config file to tell the crashplan server to bind not to 127.0.0.1 but instead to all IPs (0.0.0.0) so that I could access the server (they call it the crashplan engine) from another workstation. I then installed crashplan on my old winXP box, told it to backup nothing then edited a local config file to tell it to point to the server. If you are running headless let me know and I'll go dig up the filenames of the config files that need to be edited.
 
it will be running headless but i will have the GUI running so i will just VNC in, this is the first time i have used a Solaris based product so i dont want to get to over my head with a command line only setup, maybe for future builds.

Thanks
 
Xen4 supports pass-through
Xenserver 6 is based on XEN4, so it should support it also

yep, i know about Xenserver 6, I thought that was for GPU's only, that is the only thing I have read or seen demoed.
It possibly supports anything plugged in via PCI-E but I have yet to hear any confirmation on that.
 
Gea...
I am having a strange problem with replication. Both systems running Solaris 11 Express and Napp-it 03.07. 0.500s. The problem occurs only when replicating my large (5.6T) zfs folder. Replication stops at 5.17T for this folder but other smaller ZFS folders replicate fine. I have done this 3 times already with the same results. I successfully replicated this same folder to another pool located on the same server, and another Solaris system also running 03.07. 0.500s. If I try to run the replicate job on the incomplete folder sometimes it reports no snap pair found. The replicated 5.17T partial replication is shown as root only. I have searched the net without answer as I know this is weird.
Any Ideas?
Thank You..
 
Gea...
I am having a strange problem with replication. Both systems running Solaris 11 Express and Napp-it 03.07. 0.500s. The problem occurs only when replicating my large (5.6T) zfs folder. Replication stops at 5.17T for this folder but other smaller ZFS folders replicate fine. I have done this 3 times already with the same results. I successfully replicated this same folder to another pool located on the same server, and another Solaris system also running 03.07. 0.500s. If I try to run the replicate job on the incomplete folder sometimes it reports no snap pair found. The replicated 5.17T partial replication is shown as root only. I have searched the net without answer as I know this is weird.
Any Ideas?
Thank You..

- check if you have enough space on source and target.
- you may modify timeout setting in /var/web-gui/data/napp-it/zfsos/_lib/grouplib.pl
line 87 (sub replication):

############# overwrite timeout settings from job ##########
# sender timeout /usr/bin/nc -w 10 172.16.11.28 58309
if ($src_interface=~/ \-w /) { $src_interface=~s/ \-w \d+ / /; } # delete old timout
$src_interface=~s/nc /nc -w 50 /; # new timeout sender

# my/receiver timeout sudo /usr/bin/nc -w 120 -d -l -p 58309
if ($dest_interface=~/ \-w /) { $dest_interface=~s/ \-w \d+ / /; } # delete old timout
# $dest_interface=~s/nc /nc -w 200 /; # new timeout receiver

-> comment the line with receiver timeout. Receiver timeout is not valid
-> you may also try to increase the sender timeout from 50s to 90s

- you may also try first beta of napp-it 0.6 after a system snap
(may have other problems) and there the realtime monitoring
(readme in menu extension - replication). be aware that the running status info
in joblist is not working correctly.
 
I am getting really low Write speeds. Both the DD and Bonnie benchmark report pretty much the same thing. Is this normal? I have a disk pool with 4 disks in the mirror mode. The disk are going through my Perc 6/i with each on in its own RAID-0 array because that is the onyl way i could get them to show up.

Also this is using the ESXi all-in-one with the Perc 6/i being passed through to a VM but i don't think that should make a difference with speeds unless it is a CPU problem?

5XBp8.jpg
 
When I first access a share via... \\sharename, it's asking me for username and password even though all datasets have been set to guestok=true. It didn't do this before but after messing around a little bit, it started doing it. Anyone have any idea what's causing this and how to turn this behavior off? Thanks.
 
When I first access a share via... \\sharename, it's asking me for username and password even though all datasets have been set to guestok=true. It didn't do this before but after messing around a little bit, it started doing it. Anyone have any idea what's causing this and how to turn this behavior off? Thanks.

i would try to:

restart SMB or Solaris server
restart Windows

check share level settings on Solaris
check net use settings on Windows (start cmd -> net use)
 
I am getting really low Write speeds. Both the DD and Bonnie benchmark report pretty much the same thing. Is this normal? I have a disk pool with 4 disks in the mirror mode. The disk are going through my Perc 6/i with each on in its own RAID-0 array because that is the onyl way i could get them to show up.

Also this is using the ESXi all-in-one with the Perc 6/i being passed through to a VM but i don't think that should make a difference with speeds unless it is a CPU problem?

beside the problem, that hardware raid controller are not the best with ZFS
i see no problem unless you have really fast disks

ZFS can read in parallel from both parts of the mirror with 2 x the performance of
a single disk but on writes, each disk must confirm the write so write performance is 1x.

The perc may also improve reads.
To check against, you may build a ZFS raid-10 with a HBA controller or onboard sata in ahci mode
(installed on hardware). if the values are better, you should replace the perc.

I would do that in any case
 
Last edited:
beside the problem, that hardware raid controller are not the best with ZFS
i see no problem unless you have really fast disks

ZFS can read in parallel from both parts of the mirror with 2 x the performance of
a single disk but on writes, each disk must confirm the write so write performance is 1x.

The perc may also improve reads.
To check against, you may build a ZFS raid-10 with a HBA controller or onboard sata in ahci mode
(installed on hardware). if the values are better, you should replace the perc.

I would do that in any case

Ok, I will need to learn how to use this ZFS stuff then. I followed the guide and it said to use the mirror option.

Create a pool
Menu pool - create
We wanto to use this pool to store VM,s, so create a mirrored-vdev
(opt. add more mirrors, add a hotspare)

Can you change the setup after it is made?
 
in napp-it what is the difference between basic and mirror? what is the basic pool?

I found this great guide here explaining the different levels. http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/

How do you create a RAID-10? Do you create two mirrors then you can select to mirror both of those?

zfsguide has pool setup articles under ZFS tab at top

RAID10: http://www.zfsbuild.com/2010/06/03/howto-create-striped-mirror-vdev-pool/

From that article:
zpool create tank mirror drive1 drive2
zpool add tank mirror drive3 drive4
zpool add tank mirror drive5 drive6
 
i would try to:

restart SMB or Solaris server
restart Windows

check share level settings on Solaris
check net use settings on Windows (start cmd -> net use)
I've restarted SMB, OpenIndiana, and Windows but with no luck. cmd > net use shows no active connections. I've removed all the pools and recreated them as well. Here are my share settings:

Code:
system_comment=
max_workers=1024
netbios_scope=
lmauth_level=4
keep_alive=5400
wins_server_1=
wins_server_2=
wins_exclude=
signing_enabled=false
signing_required=false
restrict_anonymous=false
pdc=
ads_site=
ddns_enable=false
autohome_map=/etc
ipv6_enable=false
print_enable=false
map=
unmap=
disposition=
 
in napp-it what is the difference between basic and mirror? what is the basic pool?

I found this great guide here explaining the different levels. http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/

How do you create a RAID-10? Do you create two mirrors then you can select to mirror both of those?

its quite easy
if you create a new pool and set the first vdev to basic,
then you have a pool build from one disk (basic= just one disc, no redundancy)

if you add another basic vdev, then you have a raid-0 with double capacity and double
sequential speed but without redundancy
you can add more basic vdevs to increase speed and capacity
if any one drive fails, the pool is lost, so do not use

if you create a new pool and set the first vdev to mirror (Raid 1), then you have
the same capacity and write speed like one disk but one can fail and you have up to the
double read performance. If you add another mirrored vdev, then you have a raid-10

you can add more mirrors to increase capacity and performance.
This is typical for databases or storage for ESXi

You can not only create 2 way mirrors but n-way mirrors. for example if you select
three disks and select mirror, then you have created a 3 way mirror (3 x read-performance)
and a redundancy level where 2 disks can fail without data loss.
This is typical if you need absolute best security and performance

You can mix any sort of vdevs in your pool but you should always keep a certain
redundancy level. But best is to optimize a pool either to capacity ex with Raid-Z(1-3) vdevs
or for performance ex with mirrors.

Currently its not possible to convert vdev types beside adding a disk to a basic vdev to create a mirror
and to remove disks from mirrors
 
I've restarted SMB, OpenIndiana, and Windows but with no luck. cmd > net use shows no active connections. I've removed all the pools and recreated them as well. Here are my share settings:

try another Windows machine to check if its a Solaris or a Windows problem
 
try another Windows machine to check if its a Solaris or a Windows problem

Hah, I have this problem ever since I installed OpenIndiana 151b. Guest access doesn't work no matter what. My only solution was to login as root, but only after make sure .zfs/shares/* is set for root access! Weird...
 
Hah, I have this problem ever since I installed OpenIndiana 151b. Guest access doesn't work no matter what. My only solution was to login as root, but only after make sure .zfs/shares/* is set for root access! Weird...

i have just checked and can verify the problem.

i fixed it via:
remove all mappings:
idmap remove -a

then restart smb service

--> use id-mappings only in domain-mode
i will check these settings in next napp-it
 
Last edited:
Back
Top