Posts Tagged ZFS

ZFS file access monitor dtrace script

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, , ,

4 Comments

How to create a daily recursive snapshot of a Zpool

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

,

No Comments

Deploy a small Grid on Sun Fire T1000 with Solaris Containers

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, , , , , , , , ,

No Comments

Usefull links from sun.com : Solaris How-To Guides (dtrace, cluster, zfs, smf, …)

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, , , , , ,

No Comments

profile file for having a ZFS Root Mirrored File System with Jumpstart

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, ,

No Comments

How To dynamically increase ZFS swap space on Solaris and Opensolaris

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

,

No Comments

Howto migrate from UFS to ZFS in a Sun Cluster 3.2 environment

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, , , ,

No Comments

Sun Cluster Disaster Recovery two-node cluster with Root on ZFS. Node cloning.

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 [...]

FacebookTwitterGoogle BookmarksLinkedInShare

, ,

No Comments