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.  Raid @ home with opensolaris and ZFS Why Solaris for a NAS server?

Solaris itself while being a rock solid operating system, is not really needed for a NAS server (oversized). What has increase my interest in it, is ZFS, the Zetabyte File System. This is an extract of opensolaris.org all arguments fits nicely to my need:

<quote>

  • ZFS is a new kind of filesystem that provides simple administration, transactional semantics, end-to-end data integrity, and immense scalability. ZFS is not an incremental improvement to existing technology; it is a fundamentally new approach to data management. We've blown away 20 years of obsolete assumptions, eliminated complexity at the source, and created a storage system that's actually a pleasure to use.
  • ZFS presents a pooled storage model that completely eliminates the concept of volumes and the associated problems of partitions, provisioning, wasted bandwidth and stranded storage. Thousands of filesystems can draw from a common storage pool, each one consuming only as much space as it actually needs. The combined I/O bandwidth of all devices in the pool is available to all filesystems at all times.
  • All operations are copy-on-write transactions, so the on-disk state is always valid. There is no need to fsck(1M) a ZFS filesystem, ever. Every block is checksummed to prevent silent data corruption, and the data is self-healing in replicated (mirrored or RAID) configurations. If one copy is damaged, ZFS will detect it and use another copy to repair it.
  • ZFS introduces a new data replication model called RAID-Z. It is similar to RAID-5 but uses variable stripe width to eliminate the RAID-5 write hole (stripe corruption due to loss of power between data and parity updates). All RAID-Z writes are full-stripe writes. There's no read-modify-write tax, no write hole, and — the best part — no need for NVRAM in hardware. ZFS loves cheap disks.
  • But cheap disks can fail, so ZFS provides disk scrubbing. Like ECC memory scrubbing, the idea is to read all data to detect latent errors while they're still correctable. A scrub traverses the entire storage pool to read every copy of every block, validate it against its 256-bit checksum, and repair it if necessary. All this happens while the storage pool is live and in use.
  • ZFS has a pipelined I/O engine, similar in concept to CPU pipelines. The pipeline operates on I/O dependency graphs and provides scoreboarding, priority, deadline scheduling, out-of-order issue and I/O aggregation. I/O loads that bring other filesystems to their knees are handled with ease by the ZFS I/O pipeline.
  • ZFS provides unlimited constant-time snapshots and clones. A snapshot is a read-only point-in-time copy of a filesystem, while a clone is a writable copy of a snapshot. Clones provide an extremely space-efficient way to store many copies of mostly-shared data such as workspaces, software installations, and diskless clients.
  • ZFS backup and restore are powered by snapshots. Any snapshot can generate a full backup, and any pair of snapshots can generate an incremental backup. Incremental backups are so efficient that they can be used for remote replication — e.g. to transmit an incremental update every 10 seconds.
  • There are no arbitrary limits in ZFS. You can have as many files as you want; full 64-bit file offsets; unlimited links, directory entries, snapshots, and so on.
  • ZFS provides built-in compression. In addition to reducing space usage by 2-3x, compression also reduces the amount of I/O by 2-3x. For this reason, enabling compression actually makes some workloads go faster.
  • In addition to filesystems, ZFS storage pools can provide volumes for applications that need raw-device semantics. ZFS volumes can be used as swap devices, for example. And if you enable compression on a swap volume, you now have compressed virtual memory.
  • ZFS administration is both simple and powerful.

</quote>

This speak by itself, Ive seen 2 Demos HERE, and while the hardware support is not that great, I've decide to give it a try.  Note that linux may have a port of  ZFS port before July 2006, as it is a sponsored Google summer of code project.


Raid @ home with opensolaris and ZFS Which Solaris flavor

In Fact it is possible to use one of the following OpenSolaris distribution:
  • BeleniX is a *NIX distribution that is built using the OpenSolaris source base. It is currently a LiveCD distribution but is intended to grow into a complete distro that can be installed to hard disk. BeleniX has been developed out of Bangalore the silicon capital of India and it was born at the India Engineering Center of SUN Microsystems. And... it USE KDE: the est open source desktop.
  • SchilliX, a live CD.s
  • marTux, a live CD/DVD, for Sparc
  • Nexenta, a Debian-based distribution combining GNU software and Solaris' SunOS kernel
  • Polaris, a PowerPC port

Status: stable, in development
# Developers: __

homepage Belenix logo
http://belenix.sarovar.org
 version 0.4.3a
Based on OpenSolaris
Support
  • NFS,
  • SMB/CIFS,
  • HTTP/WebDAV
  • FTP
Network directories support
  • ???
Software Raid 0,1,5,6
Hardware Raid
Interface None
  • Remote login is deactivated but can be re-enable: You need to comment out the line "CONSOLE=/dev/console" in the file /etc/default/login to allow remote root login.
  • maybe VNC remote access.
Size ??
Can be installed
  • Live CD -> but mount point has to e recreated
On hard disk only because of its size
File system EXT2/EXT3, ZFS
HardDrive ATA/SATA, SCSI, USB and Firewire
Network not well...

RAID @ home raid5  Installation

Since belenix is a Live CD, and just for playing around with ZFS, it is more than enough.

Raid @ home with opensolaris and ZFS Playing with ZFS



Raid @ home with opensolaris and ZFS Future






Raid @ home with opensolaris and ZFS Links and ressources


 
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, …
3247 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+ …
4695 Days ago
No Thumbnail was found
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 guideHere is my first try, with 7 simulated disks (this example use files and not real devices even if I have 7 real …
4725 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 …
4772 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 …
4779 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 …
4804 Days ago
No Thumbnail was found
4805 Days ago
No Thumbnail was found
in construction …
4805 Days ago
No Thumbnail was found
4805 Days ago
No Thumbnail was found
in construction …
4805 Days ago