How to take zfs snapshot and rollback

In this post we will discuss how to take ZFS snapshot and restore data using that snapshot.

If you want to take snapshot of a ZFS filesystem the syntax is simple.

zfs snapshot pool/filesystem@somename

Let’s take an example, we have a zpool named “cvpool” and it has a filesystem “cldvdsfs”.

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “How to take zfs snapshot and rollback”

Crash course on zpool and zfs in Solaris

In this post we will have a look on how to use zpool and zfs in Solaris.

We will start after labeling a new disk c0t2d0.

Create zpool

Udemy Black Friday Sale! Top Courses From $9.99
  • Once we have labelled the disk let’s add it in a zpool “cvpool” .
# zpool create cvpool c0t2d0

Continue reading “Crash course on zpool and zfs in Solaris”

Solved: Error on labeling the disk

You may get below error when you are trying to label a new disk in Solaris.

format> la
 WARNING - This disk may be in use by an application that has
 modified the fdisk table. Ensure that this disk is
 not currently in use before proceeding to use fdisk.

 

Solution:-

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “Solved: Error on labeling the disk”

Solved: Reactivate hardware raid volume after system board replacement – Solaris

Replacing the systemboard/motherboard of a server which has hardware RAID enabled is a major activity. In this post we will discuss about the steps that you should follow.

Caution:- You should be extremely careful while doing this activity and take complete backup of all your data.

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “Solved: Reactivate hardware raid volume after system board replacement – Solaris”

Solved: Install and use rsync in Linux and Solaris – Tips and Tricks

rsync is a very useful utility which can be used to take backup or copy data from one filesystem to other. The best part with rysnc is that it considers incremental data while copying and syntax is easy.

rsync is popular with Linux and included in most versions by default. If you don’t have rsync in machine you can simply install it by following commands:-

Ubuntu / Debian

Udemy Black Friday Sale! Top Courses From $9.99
sudo ap-get update
sudo apt-get install rsync

RHEL / CentOS

yum install rsync

Continue reading “Solved: Install and use rsync in Linux and Solaris – Tips and Tricks”

Solved: How to create hardware RAID in Solaris

If you want to create hardware RAID in Solaris you can use raidctl utility.

  • Let’s create a mirrored RAID volume. Before you start remember that raidctl will destroy all data on the disk so be absolutely sure that you selected right disks.

Continue reading “Solved: How to create hardware RAID in Solaris”

Udemy Black Friday Sale! Top Courses From $9.99

Parallel Patching in Solaris 10

 

When you patch a Solaris 10 server it applies each patch to each zone one-at-a-time . So if you have 3 zones and it takes 1 minute to apply a patch on global zone then it will take another 1 minute each to apply on other 3 zones. Thus in total you will be spending around 4 minutes to apply single patch on the server. You can imagine the time it will take to apply a 300 patches bundle.

From Solaris 10 10/09 onward you have got an option to patch multiple zones in parallel.

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “Parallel Patching in Solaris 10”

Solved: How to plumb IP in a Solaris zone without reboot

In this post we will discuss how to add an IP to a  running Solaris zone.

If you want to add a new IP address to a running local zone(zcldvds01) you can do it by plumbing the IP manually from the global zone.

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “Solved: How to plumb IP in a Solaris zone without reboot”