Posts Tagged ZFS
ZFS file access monitor dtrace script
Posted by Sergio Rodriguez de Guzman in DTrace, Solaris on March 12, 2010
I have created this small DTrace script to monitor the file access on a ZFS file system (it does not work on other File Systems). It uses one single argument, the file you are going to monitor. It will print the DATE access, the process using the file, the operation over the file (Read/Write/Delete), the [...]
How to create a daily recursive snapshot of a Zpool
Posted by Sergio Rodriguez de Guzman in Solaris on March 10, 2010
An advantage of copy-on-write is that when ZFS writes new data, the blocks containing the old data can be retained, allowing a snapshot version of the file system to be maintained. ZFS snapshots are created very quickly, since all the data composing the snapshot is already stored; they are also space efficient, since any unchanged [...]
Deploy a small Grid on Sun Fire T1000 with Solaris Containers
Posted by Jorge Moratilla in Geek, Networking/Security, Solaris on December 4, 2009
This post is the first of three posts in which we will show you how to setup a fresh installed Sun Fire T1000 Server as a Solaris container server and deploy the Sun Grid Engine 6.2u4 software on different, securified, isolated zones. Architecture We are using a T1000 with on 1 Chip MultiThread processor with [...]
Usefull links from sun.com : Solaris How-To Guides (dtrace, cluster, zfs, smf, …)
Posted by Arnaud Delanoue in Solaris on September 23, 2009
The other day I found the Solaris How-To Guides web page and I’d like to share it with you. There are some very interesting documents which explain how to install Solaris or how to configure Sun Cluster … : How to Quickly Install the Solaris 10 10/08 OS How to Use DTrace from a Solaris [...]
profile file for having a ZFS Root Mirrored File System with Jumpstart
Posted by Arnaud Delanoue in Solaris on September 17, 2009
If you have a JumpStart server and you want your clients to have a ZFS Root Filesystem (with a mirror), you can use the following profile file : # more profile install_type initial_install system_type standalone cluster SUNWCXall pool newpool auto auto auto mirror c1t0d0s0 c1t1d0s0 # The 3 auto keywords respectively mean that the size [...]
How To dynamically increase ZFS swap space on Solaris and Opensolaris
Posted by Sergio Rodriguez de Guzman in Solaris on August 27, 2009
These are the steps to increase the swap space without rebooting the system on a ZFS root based Solaris and Opensolaris system: # swap -lswapfile dev swaplo bloques libre/dev/zvol/dsk/rpool/swap 256,2 16 2097136 2097136# zfs set volsize=2G rpool/swap# env NOINUSE_CHECK=1 swap -a /dev/zvol/dsk/rpool/swap $((8+2097136))# swap -lswapfile dev swaplo bloques libre/dev/zvol/dsk/rpool/swap 256,2 16 2097136 2097136/dev/zvol/dsk/rpool/swap 256,2 2097152 [...]
Howto migrate from UFS to ZFS in a Sun Cluster 3.2 environment
Posted by Sergio Rodriguez de Guzman in Cluster on August 15, 2009
In this howto we’ll review the migration process for the root (/) file system from UFS to ZFS with the difficulty of working in a possibly production cluster environment. We will also use one of the new features of Sun Cluster 3.2u2: the lofi global devices for the /global directory (the globaldevices mount point). You’ll [...]
Sun Cluster Disaster Recovery two-node cluster with Root on ZFS. Node cloning.
Posted by Sergio Rodriguez de Guzman in Solaris on August 11, 2009
In this howto, we are going to recover a two node cluster using ZFS cloning techniques. The scenario is: Two-node cluster with Sun Cluster 3.2u2 Solaris 10 5/09 One node is death (completely broken). One node is alive, still running in the cluster. 1. Preparing the new node (the one replacing the death node). We [...]

Core Networks
Oracle University