Archive for the ‘zfs’ Category

Bonnie – Mirror vs Single Disk

Tuesday, April 19th, 2011

I was just kind of curious.  Will there be any performance difference when we run bonnie on a single disk vs a mirror disks array?

Mirror Disk Array Performance

image

Single Disk

image

Dun really see a any performance bonus using a mirrored disk array over a single disk using bonnie…

Resources of ZFS Backup

Sunday, April 17th, 2011

Some useful links on ZFS Backup.

http://blogs.sun.com/timf/entry/zfs_backup

http://www.markround.com/archives/38-ZFS-Replication.html

Send and Recv Backup Commands

Creating a snapshot

zfs snapshot –r mpool@bk1

Replicating an entire pool

zfs send –R mpool@bk1 | zfs receive –F –dvu dpool

ISCSI with ZFS–Through ComStar

Friday, April 15th, 2011

Very relevant and interesting PDF slides..

http://wikis.sun.com/download/attachments/102400619/S304013_OpenStorage_ZFS_COMSTAR.pdf

Relevant Video

Comstar Prerequisites

http://wikis.sun.com/display/OpenSolarisInfo200906/COMSTAR+Prerequisites

Alternative Links to ISCSI

Nexenta and Comstar

http://www.nexenta.org/projects/site/wiki/SettingISCSI

http://support.nexenta.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=132&nav=0,12

Well based on those resources, I was able to configure my open solaris to share ISCSI just like how Nexenta has done it.  Hmm… so my suspicion is confirmed.  Nexenta Community is bascially a snazzy frontend over all the solaris terminal commands

Napp-It (GUI to ISCSI Tgt)

http://www.napp-it.org/

Installation Command:

wget -O – www.napp-it.org/nappit | perl

Addendum: Even Linux seems to have iSCSI…

ISCSI Intro in Linux

ZFS – Newbie (No Such Device in /dev/dsk)

Thursday, April 14th, 2011

If you are a newbie like me and am playing with ZFS.  One of the problems u might encounter is having absolutely no idea how to start.  In linux, we know the SATA drives are all in /dev and they are like:

sda, sdb, sdc, …

However in solaris, you see a whole lot of stuff in /dev/dsk.  How do we know which ones are the drives that we can add to the zpool and starting playing with our beloved ZFS?

image

If you are like a newbie like me, you will probably find the above listing of devices cryptic.  I mean.. out of the hundreds… which are harddisks?

So when you try out one by one, you will get errors like:

cannot open ‘c7t1d0d0’: no such device in /dev/dsk

image

Hmm.. so how do we go about finding out about what kind of hard drives there are?  The trick is in the format command.

image

A format command as you can see will very quickly isolate for you all your drive names.  As you can see, c7t0d0, c7t2d0, c7t3d0 are just some of my drives.