Archive for October, 2011

SPCollects via the Unishere

Posted: October 27, 2011 in Misc
Tags: ,



Unisphere Service Manager


How to Collect SPCollects via Unisphere


To collect the SPCollects via the Unishere GUI, follow these steps:

1.     Log in to the CLARiiON via Unisphere.

2.     On the Dashboard screen, select the CLARiiON system you wish to generate SPCollects from.

3.     On the System Information screen there is a Task panel containing SPA Tasks and SPB Tasks.

4.     To generate SPCollects for SPA:

1.     Select Generate Diagnostic Files from the SPA Tasks panel.

2.     A confirmation window will appear, select Yes to start the SPCollect script now.

3.     Click OK to confirm the task successfully starts.

5.     The SPCollect script may take several minutes to complete. To verify the SPCollect creation for SPA:

1.     Select Get Diagnostic Files from the SPA Tasks panel.

2.     The SPA File Transfer Manager window will appear.

3.     Enlarge the SPA File Transfer Manager window and resize the Files On SP panel for easier browsing.

4.     Click twice on the Date column in the Files On SP panel to show the most recently created files first. Enlarge the Name column so that the full file names can be read.

5.     If the SPCollect script is still running, you will see a file of the format {SERIAL NO}_SPx_YYYY-MM-DD_HH_MM_SS_runlog.txt which corresponds to the array serial number, SP id and the date and time (GMT) that the SPCollect script was started on the SP.

6.     Wait a few minutes and click on Refresh to update the Files On SP display.

7.     When the SPCollect script has completed the Files On SP panel will show a file of the format {SERIAL NO} which corresponds to the array serial number, SP id and the date and time (GMT) that the SPCollect script was started on the SP.

6.     To retrieve the SPCollects from SPA:

1.     In the SPA File Transfer Manager window from step 5 above, click on the required SPCollect zip file in the Files On SP panel.

2.     In the Destination Directory panel, select the destination directory on the local host that the SPCollect should be transferred to.

3.     Click on the Transfer button at the bottom of the File On SP panel to begin the file transfer operation.

4.     A confirmation window will appear, select Yes to start the transfer operation.

5.     The Transfer Status panel will report the results of the file transfer operation.

6.     Click OK to close the SPA File Transfer Manager window and return the System Management screen.

7.     Repeat Steps 4 to 6 to generate and retrieve SPCollects for SPB.

Understanding the default output of “DIG”

Posted: October 14, 2011 in Redhat

The most typical, simplest query is for a single host. By default, however, dig is pretty verbose. You probably don’t need all the information in the default output, but it’s probably worth knowing what it is. Below is an annotated query.

$ dig

That’s the command-line invocation of dig I used.

; <<>> DiG 9.2.3 <<>>
;; global options:  printcmd

The opening section of dig’s output tells us a little about itself (version 9.2.3) and the global options that are set (in this case, printcmd). This part of the output can be quelled by using the +nocmd option, but only if it’s the very first argument on the command line (even preceeding the host you’re querying).

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43071
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

Here, dig tells us some technical details about the answer received from the DNS server. This section of the output can be toggled using the +[no]comments option—but beware that disabling the comments also turns off many section headers.

;                   IN      A

In the question section, dig reminds us of our query. The default query is for an Internet address (A). You can turn this output on or off using the +[no]question option.

;; ANSWER SECTION:            600     IN      A

Finally, we get our answer: the address of is I don’t know why you’d ever want to turn off the answer, but you can toggle this section of the output using the +[no]answer option.

;; AUTHORITY SECTION:                2351    IN      NS                2351    IN      NS                2351    IN      NS

The authority section tells us what DNS servers can provide an authoritative answer to our query. In this example, has three name servers. You can toggle this section of the output using the +[no]authority option.

;; ADDITIONAL SECTION:           171551  IN      A         2351    IN      A         2351    IN      AAAA    2001:4f8:0:2::15

The additional section typically includes the IP addresses of the DNS servers listed in the authority section. This section of the output can be toggled with the +[no]additional option.

;; Query time: 2046 msec
;; WHEN: Fri Aug 27 08:22:26 2004
;; MSG SIZE  rcvd: 173

The final section of the default output contains statistics about the query; it can be toggled with the +[no]stats option.


Ref :

How to Use Clonezilla – Tutorial

Posted: October 12, 2011 in Misc

Very Good post from on clonezilla . Nice step by step guide which helped me a lot .

Ref :


In past I have written articles describing differences between Clonezilla SE and CLonezilla Live and  how to setup a Clonezilla server. However, many people kept asking me for instructions on how to use Clonezilla. That is why I decided to write this tutorial. For those of you not familiar with Clonezilla, it is a free disk cloning utility that will let you image hard drives via a USB or Ethernet connection. In this tutorial we are going to be using Clonezilla Live to clone a computer’s internal hard drive to a USB external drive. The instructions, however,0 should be pretty much the same for Clonezilla Server Edition. As opposite to other Clonezilla tutorials on the web, I have tried to make this tutorial as detailed as possible, including instructions for “saving” as well as “restoring” the image. Do not be scared by the length of the article; this is actually a walkthrough, so it should be very easy for everybody to understand.

Download Clonezilla Live, burn the iso image (you can use the free Imgburn for this) and boot the computer from the CD. As I previously stated, for those of you using Clonezilla Server the instructions should be pretty much the same, except that instead of booting from a LiveCD, you will be booting from the network connecting to a Clonezilla server which will store your image. The server will provide the Clonezilla wizard via the network connection.

Most of the items in this tutorial are self explanatory, but I will go through all of them in case of doubts in any particular step.

Saving the Image

Insert the liveCD in you CD-ROM and boot from it.

1) At the first screen just click enter.

2) Next, choose your language.

3) Choose the way your keyboard is laid out. If you are in North America just click enter. If you are not in North America your keyboard most likely has a different layout than the default chosen by Clonezilla. Choose the one that pertains to your country.

4) If your “destination” drive is already partitioned and formated in a filesystem Linux understands (e.g. Ext2, Ext3, Ext4, Fat32, etc.), choose “Start_Clonezilla“. If it is not, then click “Enter_shell” and format it. Make sure you identify the drive properly before formatting it, otherwise you can format the wrong one and lose your data. When done, type “ocs-live” to return to the Clonezilla wizard.

5) For this tutorial we are going to make an “image“. Images are compressed files not designed to be accessible, they are meant to be stored away for later use. So, we are going to choose “device-image“. The next option “device-device” as its name indicates, is used when you want to clone two hard drives in one step without creating an image.

6) Select the destination location. This is where you are going to save your image to. For this tutorial, we are going to be choosing the first option “local_dev“. However, if you do not have a USB drive available, notice that you can also save the image to a wide variety of shared drives on your network.

7) Next, Clonezilla will try to detect your USB drive. Connect the USB drive when Clonezilla asks you to do so, then wait a few seconds to give Linux time to recognize the drive and click enter to continue.

8) Select the destination drive. This is the drive you are going to be saving your image to. If your USB hard drive did not get detected on the previous step and it is not appearing on the list, appears intermittently or just won’t format at all, read the section “Problematic Drives” in my article: How to Format a USB External Hard Drive for Linux.

9) Next, Clonezilla will ask you for a directory in your destination drive, where you would like to save your image to. If your destination drive is empty (like the one in the picture below), just choose “Top_directory_in_the_local_device“.

10) To shorten the steps needed to finish, choose  “Beginner“. If you have limited space on your destination drive and want to choose a more suitable compression method, other than the default chosen by Clonezilla, choose “Expert”. Expert mode also lets you modify other settings which are useful whenever you have trouble during the cloning process.

11) For this tutorial choose “savedisk“. This will make an image of the entire “source” hard drive. If you wish to make an image of only one partition, choose “saveparts“.

12) Type the name you wish to have for your image; I usually make it the model of the computer and the date, for example: toshiba-satellite-02-27-11, but this is entirely up to you.

13) Choose the “source” drive. This is the hard drive you wish to clone. Move up and down the list using the arrows on your keyboard to the desired drive and then click on the space bar to select it.

14) Make sure everything looks good and click “enter” to continue.

15) Again make sure everything looks good, type “y” and click “enter” to start the imaging process.

Restoring the Image

To restore the image, follow steps 1 through 10 on the previous section of this tutorial.

11) Choose “restore_disk“. If you previously backed up a partition instead of an entire drive, choose “restoreparts”.

12) Choose the image you would like to restore.

13) Choose the “destination“. This is the drive where you will be extracting the image to. Make sure it is empty, since all its contents will be erased.

14) Finally, Clonezilla will ask you twice if you would like to start the process. If you are sure the destination drive is empty, choose yes to start the process.