Tag Info

Hot answers tagged

9

Much has happened since I asked this question in October 2010. As of September 2013, a new collaboration known as OpenZFS will serve as a central site for several ZFS projects. The new site is http://open-zfs.org/ (with a dash) Today at LinuxCon North America, Brian Behlendorf and Matthew Ahrens are announcing that members from the illumos, zfsonlinux.org, ...


8

A customer just asked me for this, so I compiled a short list of links I have found useful over the years. Not necessarily in the best order, and by no means complete, but thought it might make a good addition for anyone hitting this question: http://www.nex7.com/readme1st (work in progress, can PM me if you have questions) ...


7

I'll ask, how important is it that you specifically use KVM? My preference for the type of solution you're inquiring about is to build around VMWare ESXi. You can build an all-in-one server running VMWare ESXi booting from flash media (SDHC, USB, CF) and leverage the DirectPath I/O (PCI-passthrough) available on current servers to present a SAS/SATA HBA to ...


6

It appears OpenIndiana does not use the shareiscsi property. Also (perhaps relatedly) COMSTAR is not included as part of the base installation. So I fired up a fresh OpenIndiana VM and ran the following commands and was able to create, share and mount a sparse LUN without any drama: sudo -s pkg install network/iscsi/target svcadm enable -s stmf svcadm ...


5

Oracle officially killed OpenSolaris, so the website will not be updated anymore. FreeBSD is working with the IllumOS project to advance ZFS at this point (their website is still a bit scant on details). I don't know if these changes are derived from actual Solaris 11 development or not, nor if the changes will be merged into the official project (a likely ...


5

Two things... The most important document for you to read is the Oracle Solaris ZFS Administration Guide. It provides a comprehensive description of ZFS features and terminology. It also gives excellent examples. Beyond that, you may want to look at NexentaStor as an option if you're primarily interested in the storage aspects of ZFS. It's a ...


4

I've been using SmartOS and KVM in production for a few months now and am very happy with it. It sounds like it should suit your needs just fine. All the ZFS stuff you require is supported. For the monitoring stuff you'll need setup up some third party stuff though. I'm working a couple of projects related to monitoring and specifically for doing the things ...


4

yes, via DTrace's NFS providers - http://wikis.sun.com/display/DTrace/nfsv3+Provider. Additionally you should be able to find various DTrace scripts around the net that offer NFS client statistics in a more detailed way than plain nfsstat.


4

The first script fails because the example is incorrect. You can't reference args[] while globbing the probe in that manner (as probes matching the pattern may come and go while the enabling is still in effect, so guarantees about the type of args[N] can't be made). You'd need to list each nfs3-op-* individually, comma separated ...


3

The zfs mailing list remains on opensolaris.org, and Oracle has not established a new public website for their ongoing ZFS development project. Update (2013): The opensolaris.org website has now been shut down, and Oracle’s ZFS mailing list has moved to the new Solaris-ZFS.java.net website.


3

For versions up to 28, you can still browse the repository in OpenSolaris web site: http://src.opensolaris.org/source/history/onnv/onnv-gate/usr/src/uts/common/sys/fs/zfs.h http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/fs/zfs.h#348 Update: This repository has moved to: ...


3

I can tell you the CLI commands for creating the pool. I don't know the GUI or WebUI though. #replace drive0... with your drives zpool create tank drive0 drive1 #This will create a striped set, no redundancy, single failure = dead pool zpool create tank mirror drive0 drive1 mirror drive2 drive3 #This will create a stripe set of mirrors, basically ...


3

When I run format, and select disk 0, I'm told c4t0d0s3 is part of the root pool: This would be because you've screwed up the slice - it is overlapping with c4t0d0s0. You would need a slice starting at cylinder 3913 to remove the overlap. Then you should be able to add it as a vdev to another pool (if this is what you are after). If you just want to ...


3

Your OpenIndiana system needs to have two network interfaces in order to accomplish what you're trying to do. In the vSphere client, add another Network adapter and address it on the 10.0.0.x subnet. Make sure that one network adapter is assigned to the "SAN" network label and the other to the "VM Network" label. One network adapter is so you can see and ...


3

If you're in a VT (Virtual Terminal), you can usually scroll with Ctrl+Page Up and Ctrl+Page Down. If you're in a GUI, there should be a scrollbar, or you can try the same key combination. In either environment, you can pipe the command to less, like so: zfs | less Within less, you can use Page Up, Up, Page Down, Down just as you'd expect. Q will ...


3

Well, I'm curious what your zpool setup looks like. As nice as L2ARC cache is, it does not seem like you have a robust pool design since you only have four disks. Another key is to determine if your workload could even benefit from L2ARC. How much RAM do you have in the system? The path of least resistance is to use an approved/tested SSD for L2ARC. I ...


3

by default add-view will create a view with the following properties: View Entry: 0 LUN : 0 Host group : All Target group : All If you want to define which targets map to a view/LU you need to create a target-group: stmfadm create-tg TG1 then add your target to it: stmfadm add-tg-member -g TG1 ...


2

I experienced this very same issue with a special request to have a service provider install Nexenta on their storage platform. The problem is OpenSolaris/OpenIndiana generally only runs on older hardware because it forked a long time ago and there is a limited selection of drivers. A newer version of Solaris may still not help because the same issue of a ...


2

First, can you show the output of zpool upgrade -v? Then see: Can I trust that ZFS is consistent between Linux and FreeBSD? The pool version is 28, but "Feature Flags" have been implemented to distinguish functionality between variants of ZFS on different platforms. For instance, a zpool get all vol1 on one of my ZFS on Linux systems ends with: vol1 ...


2

The easiest way is to use pkgrecv to pull the package from a source repository to a local repository. IPS is a network package system so you can't currently install packages from a single file like you could with SVr4 datastreams. Last I heard (before the Oracle takeover) was that the pkg5 guys were working on an on-disk format but I don't think it got ...


2

On question #1: ZFS boot pools can only be single disks or simple mirrors. You cannot use multiple mirrors or RAID-Z pools for booting at this time, due to limitations in boot loaders (GRUB on x86, OpenBoot on SPARC). IIRC, there is a Google Summer of Code proposal to get GRUB 2.0 support into OI, which might allow for booting from more complex pools. For ...


2

about 1: Install OpenIndiana on a single disk (mirroring is not supported by the base installer, if you need, you have to do later) 2. Create your pool when OpenIndiana is running 3. If you use napp-it, you can create pools with the pool-menu and share folders via the share menu (just klick on a ZFS-folder - share smb column) among other management tasks ...


2

I wrote an OpenIndiana tutorial a while back. The other thing it has is a simple explanation of how to kind of lock it down a little. I have some friends and family on the server so I have barely more trust in them than strangers-- in regards to my system. They are still 'users' after all. You can never trust 'users'. ZFS File Server Walkthrough -- EDIT ...


2

How about this... In this instance I have a ZFS filesystem '/volumes/lab3_pool_a/data02/alpha/' and I am using fsstat to get some basic statistics about it. Notice, I am getting stats for both, ZFS as a whole, and this one filesystem. By the way, fsstat has some good options and may give you just what you need. # fsstat zfs ...


1

For Linux it is http://zfsonlinux.org - there is ZFS Pool Version 28. Pawel Jakub Dawidek (nickname: PJD) has added the latest open-source ZFS file system version (28) to FreeBSD Current. I suppose FreeBSD ZFS's Home is here http://wiki.freebsd.org/ZFS Above are kernel's modules. But there is kernel independent application for Linux in user space ...


1

OpenIndiana (& most recent Solaris distress in general) use NFSv4 ACLs over CIFS & NFS by default. What you're seeing is likely normal, more information about that on the NFSv4 ACL Wiki. The reason it is probably showing like that is because CIFS NFSv4 ACLs depends on UID/GIDs to be the same between client & server, much like NFS does. So the ...


1

Those system calls acquire a lock on a file. Perhaps another process currently has a lock and your stuck processes are waiting for that lock to be released. There are some troubleshooting tips (for an older version of Solaris, but they may still be helpful) in chapter 11 of O'Reilly's Managing NFS and NIS, 2nd Edition.


1

A package in an IPS repository only makes sense within the context of actually installing the package via the pkg(1) command over the network. A package is not represented as a single file within an IPS repo; instead, the manifest file for a package keeps track of the various bits. My understanding is that this allows for efficient upgrades since only ...


1

The manifest is directly available http://pkg.openindiana.org/dev/manifest/0/developer%2Fbuild%2Fmake%400.5.11%2C5.11-0.151.1%3A20110912T022544Z. The only thing that remains is to figure out how to get those individual files, listed in this fashion file b8dac4eaeabc7d41b4bff842a2f6b54cb36449d7 chash=f3998eb4b0aa99b3c54682f1a765e19215e15622 group=bin ...


1

One more thing you have to be aware of is that ZFS exists in various versions. Due to Oracle's shiny new closed source policy, some features that exist in Solaris 11 did not make it into OpenIndiana. For example, ZFS in Solaris 11 has encryption, whereas OpenIndiana does not implement this (yet). See the zfs upgrade -v and zpool upgrade -v commands to see ...



Only top voted, non community-wiki answers of a minimum length are eligible