Recent Posts

How to recover the OS using ZFS snapshot

Many of them are very  familiar with Solaris OS recovery on UFS root filesystem.Here we are going to see about how to recover Solaris 10 on ZFS root filesystem. Here is assumptions is we are periodically keeping root FS zfs snapshot in NAS location using zfs send feature.This can be achieved easily using small “zfs send” command. Note:This procedure will be applicable only if you are …

Read More »

How to recover a destroyed zfs storage pool

ZFS has one of the cool features that we can recover the destroyed pool if the zpool disk is not used or removed from the system for other purpose. Once we issue the command to destroy the particular pool, Solaris will put the zpool in destroyed mode and it won’t remove any data from those zpool disks.Note:Zpool destroy is very dangerous command since it destroys the zpool even if it contains mounted datasets.So the bottom …

Read More »

ifconfig:Error:Cannot assign requested address-solaris

If it’s come to Solaris networking then you need to try many things to get it right.Like that here is one of the strange issue which i have faced recently .The request from the client to add IP address on the Solaris box without rebooting it.Yep Its so simple.But i had break my head like anything to bring up the IP address online. Here is the request which …

Read More »

Dtrace-To find high kernal usage

Here i would like to share small piece of information about dtrace. I have used dtrace to find which process are making more system calls (i.e kernel usage). DTrace is very useful d to get the amount of memory, CPU time, filesystem and network resources used by the active processes. It can also provide much more fine-grained information, such as a log …

Read More »

Solaris OS and veritas patching procedure with VCS

We have seen many post about Solaris 10 OS patching using Liveupgrade method.Here we are going to see traditional OS patching where your root filesystem is UFS.The setup which i took is some what complex one. Here the global zone is part of veritas cluster and couple of zones are controlled by VCS and one zone is non-cluster.Here the root filesystem is mirrored one using …

Read More »

RedhatLinux SAN Migration using LVM

What would be best way to do the SAN Migration in Redhat Linux LVM? Would the pvmove will work ?I would recommend you to go for LVM mirroring since its a safest method and zero downtime to perform this activity.First you need to add the new SAN LUNS in volume group and mirror the volume using those new disks.Once the …

Read More »

Preventing zone core files on Global zone -Solaris

Coredump is memory dump of program or application and its generates when application  crashes or terminated abnormally.This coredump is very useful to find root cause of application crashes.But sometimes it will create a problem by filling the root filesystem if /var/core is part of root filesystem and again all the local zones core files will be dump in global zone’s /var/core.Since we have same core …

Read More »

Solaris 10- OS patching using Live-upgrade

Solaris OS patching has been moved far away from the traditional methods from Solaris 10 on-wards.We no need to bring down the server to single user mode  if you are using live upgrade method during pathing and before choosing live upgrade ,make sure you are using ZFS as a root filesystem.For you information,from Solaris 11 onward,ZFS will be the default root filesystem. In other-words, if the system’s root filesystem …

Read More »

DF command shows incorrect usage in VXFS

I have observed “df -h”command will show that veritas filesystems is used so and so space, but actually if you go to that mount point and calculate disk space using “du -sh” there will be nothing. In few cases, when df command will not show the correct usage of the filesystems. Also,if the filesystem created is with big size like …

Read More »

How to plumb new IP in the zone on fly

As we all know that plumbing a new interface and assigning a IP address in Solaris 10 global zone. Have you ever added the new IP address in local zone without rebooting it ? Will it work by adding the IP information in zone’s configuration using zonecfg ? No. If you add a any new configuration in zonecfg, it requires a reboot. But oracle offers …

Read More »