Before putting my monster NAS online (pictures will follow soon), I am playing a lot with NEXENTA under VMWARE player.

I've found that excellent PDF (THE LAST WORD IN FILE SYSTEMS) which explain why ZFS may be the Saint Graal of file system, while if you want to learn how to administrate pool, I recommend YouThe ZFS admin guide

Here is my first try, with 7 simulated disks (this example use files and not real devices even if I have 7 real disks sitting next to me ;-)), next steps will be to export the pool as NFS share, plug some disks out, activate encryption, crontab snapshots and remote ssh backup of some vital data.


# mkdir /vaultcreate a directory for storing all virtual  disks
# mkfile 64m /vault/disk1
# mkfile 64m /vault/disk2
# mkfile 64m /vault/disk3
# mkfile 64m /vault/disk4
# mkfile 64m /vault/disk5
# mkfile 64m /vault/disk6
# mkfile 64m /vault/disk7
I create 7 virtual disk name disk1 to disk7
# zpool status
no pools available
check if there is any pool already defined....
# zpool create nasvault raidz /vault/disk1 /vault/disk2 /vault/disk3  /vault/disk4 /vault/disk5 /vault/disk6 6 disks will be in a raidz pool
# zpool status
  pool: nasvault
 state: ONLINE
 scrub: none requested
config:

        NAME             STATE     READ WRITE CKSUM
        nasvault            ONLINE       0     0     0
          raidz              ONLINE       0     0     0
            /vault/disk1  ONLINE       0     0     0
            /vault/disk2  ONLINE       0     0     0
            /vault/disk3  ONLINE       0     0     0
            /vault/disk4  ONLINE       0     0     0
            /vault/disk5  ONLINE       0     0     0
            /vault/disk6  ONLINE       0     0     0
RAIDZ:

A replicated RAID-Z configuration can now have
either single- or double-parity, which means that one or two device failures can be sustained
respectively, without any data loss. Disks can be of different size, and there is no write hole as found in other RAID arrays.
df -h /nasvault
Filesystem             size   used  avail capacity  Mounted on
nasvault                  384M    16K   384M     1%    /nasvault
checking size of the pool
zpool add nasvault raidz /vault/disk5 /vault/disk6Extending pool on the fly with 2 new disks

Some noise about the development of a mini opensolaris boot file (miniroot.gz) under 60 Mb and able to boot on a USB disk have pop up on OpenSolaris forums. Exactly at the right scheedule for my NAS project, if it can come out in less than 2 weeks, it would be perfect! 
comments powered by Disqus

You might like also

Seagate Momentus XT solid state hybrid drive 500GB review
The Seagate® Momentus® XT drive enables laptop PC users to enjoy solid state-like performance without sacrificing storage capacity and affordability. The Momentus XT solid state hybrid drive utilizes Adaptive Memory™ technology to dynamically optimize performance by aligning to user needs. This perfect balance of SSD and HDD delivers low heat, noise and vibration, and is available in capacities up to 500GB. Here is the drive I am testing, information you can easily found with drivedetect.exe (http://support.seagate.com/kbimg/utils/drivedetect.exe) Model: ST95005620AS, Serial: 5YX03VW9, …
3186 Days ago
My ZFS NAS is dead and status
I've made many errors when building my NAS server, and this force me to forget using SUN Zeta File System, at least for this year...In fact I have decide to build a NAS before even knowing the existence of ZFS, and bought following hardware components: 1 Promise Supertrak EX8350 with 8 SATA2 3GB port (RAID6)The cheapest integrated mainboard available: NFORCE4 IGPAMD64 3000+ …
4634 Days ago
No Thumbnail was found
ZFS has so much promise that it sound to good to be true! I will make an extensive try of it soon.From ZFS: Threat or Menace? Pt. I.... In a storage industry where the hardware cost to protect data keeps rising, ZFS represents a software solution to the problem of wobbly disks and data corruption. Thus it is a threat to hardened disk array model of very expensive engineering on the outside to protect the soft underbelly of ever-cheaper disks …
4711 Days ago
No Thumbnail was found
I am still testing my NAS system (seven 300Gb disks) and while testing OpenSolaris (under Belenix), and Googling I found that page: This blog is about the Google Summer of Code project "ZFS filesystem for FUSE/Linux" For all of You that do not know what FUSE is, FUSE is the Filesystem in Userspace Linux kernel module. This module allows nonprivileged users to create their own filesystems without writing any kernel code. While ZFS has many features which can benefit all …
4718 Days ago
No Thumbnail was found
origin: WikiPediaSAMBAAn open source implementation of the SMB file sharing protocol that provides file and print services to SMB/CIFS clients. Samba allows a non-Windows server to communicate with the same networking protocol as the Windows products. Samba was originally developed for Unix but can now run on Linux, FreeBSD and other Unix variants. It is freely available under the GNU General Public License. The name Samba is a variant of SMB, the protocol from which it stems. As of version …
4743 Days ago
No Thumbnail was found
4744 Days ago
NAS @ HOME part 7 Opensolaris ZFS raidZ install and benchmark
Putting OpenSolaris in a NAS server OpenSolaris is an open source project created by Sun Microsystems to build a developer community around the Solaris Operating System technology OpenSolaris express is the official distribution and can be download HERE but I will use a fork of that code. …
4744 Days ago
No Thumbnail was found
in construction …
4744 Days ago
No Thumbnail was found
4744 Days ago
No Thumbnail was found
in construction …
4744 Days ago