Solved: How to change from EFI to SMI label and vice-versa

Hello!

In this post we will see how to change the disk label from EFI to SMI in a Solaris server.

Before you decide to change the disk label ensure that the disk doesn’t have any important data. If needed take backup of the disk. As during label change all the data will be removed from the disk.

Enjoy the gift of learning! Find your next course for as low as $11.99

Continue reading “Solved: How to change from EFI to SMI label and vice-versa”

Solved: How to schedule a cron job in Linux or Solaris

In this post we will see what’s a cron job and how we can set it.

Cron is managed by a crontab file. Its a configuration file in which we can schedule shell command to run periodically.

Scheduling cron

Enjoy the gift of learning! Find your next course for as low as $11.99

Continue reading “Solved: How to schedule a cron job in Linux or Solaris”

Solved : Comparing Run Levels in Linux and Solaris and precautions with them

Many people get confused between run levels in Linux and Solaris. One major difference among these can be disastrous also.  In this post we will show you the different Run levels in both these OS and what precautions you should take while working on these.

Let’s first take a look at Run levels.

Enjoy the gift of learning! Find your next course for as low as $11.99

Continue reading “Solved : Comparing Run Levels in Linux and Solaris and precautions with them”

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”.

Enjoy the gift of learning! Find your next course for as low as $11.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

Enjoy the gift of learning! Find your next course for as low as $11.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:-

Enjoy the gift of learning! Find your next course for as low as $11.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.

Enjoy the gift of learning! Find your next course for as low as $11.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

Enjoy the gift of learning! Find your next course for as low as $11.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”