Archive for January, 2010

Adding a Full Hard Disk Drive to an Array Version 1.0


2010
01.20

Adding a Full Hard Disk Drive to an Array Version 1.0

Purpose: This document explains the issues involved when adding a completely full hard drive to a RAID while attempting to preserve all the data on the drive.

When using RAID1 (Mirroring), it is possible to add a hard drive that already contains data to an array and have the data automatically mirrored to another drive in the array without having to manually copy the data.  In order to add the drive to an array, the RAID software creates a reserved sector on the hard disk. If this sector has data on it, that data will be lost.

How Promise adds a Hard Drive to an Array

When the User specifies a hard disk drive to be part of an array, the Promise RAID BIOS reserves a 32 KB sector on the last (innermost) cylinder of the hard drive. This sector contains information that the RAID engine uses to identify the hard drive, read data from and write data to it accordingly.

The last cylinder of the hard drive was chosen as the location for the reserved sector because it is theoretically the last place on the drive that data would be recorded, thus it poses the least amount of interference with reading from and writing to the drive.

With RAID1, the data from one hard drive is mirrored to another drive in the array. Thus it is possible to add a hard drive that already contains data to an array and have the data automatically mirrored to another drive without having to manually copy the data.

Adding a Full Hard Drive to an Array

As mentioned previously, in order to add the drive to an array, the RAID software must create a 32 KB reserved sector on the last cylinder of the hard disk. It is unlikely that the disk will be so full of data that this sector will already have data on it. However, if there is data in this sector, that data will be lost when the drive is added to an array.

When a completely full drive must be added to a RAID array the following actions will reduce or eliminate data loss from a reserved sector overwrite.

  1. If the hard drive comes from a personal computer or workstation, it may have a GB or more of unused temporary files. Run a disk cleanup utility to find and delete these files.
  2. Run a defragmenter utility. This will move all the free space to the last cylinders of the disk, virtually eliminating the possibility of an overwrite.

If the defragmenter utility cannot function because there is inadequate scratch space, temporarily move some of the data, ten percent, for example, off the hard drive to provide the needed space. After defragmenting the hard drive, move the data back.


Prevention is Better than Problem Solving

There are several well-known steps to minimize the probability of the above situation happening.

  1. Monitor the hard drive periodically.
  2. Impose a limit to the amount of data you save to a hard drive, such as such as 95 percent of its total capacity.
  3. Use a file compression utility to save space on the hard drive.
  4. Use Disk Cleanup to remove unneeded files.
  5. Run a defragmenter utility to eliminate fragmentation and improve hard drive performance.

About the Author

Syed Yasir Hashmi http://www.yasir.in is an I.T guru working in the industry for the last 12 years

Popularity: 2% [?]

  • Share/Bookmark

Google Cheat Sheet


2010
01.12
Here’s a quick list of some of google’s most popular tools to help refine and improve your search. For additional help with Google Web Search or any other Google product, you can visit  Google Help page.
OPERATOR EXAMPLE FINDS PAGES CONTAINING…
vacation hawaii the words vacation and Hawaii .
Maui OR Hawaii either the word Maui or the word Hawaii
To each his own the exact phrase to each his own
virus computer the word virus but NOT the word computer
+sock Only the word sock, and not the plural or any tenses or synonyms
~auto loan loan info for both the word auto and its synonyms: truck, car, etc.
define:computer definitions of the word computer from around the Web.
red * blue the words red and blue separated by one or more words.
I’m Feeling Lucky Takes you directly to first web page returned for your query.
CALCULATOR OPERATORS MEANING TYPE INTO SEARCH BOX
+ addition 45 + 39
- subtraction 45 – 39
* multiplication 45 * 39
/ division 45 / 39
% of percentage of 45% of 39
^ raise to a power 2^5
(2 to the 5th power)
ADVANCED OPERATORS MEANING WHAT TO TYPE INTO SEARCH BOX (& DESCRIPTION OF RESULTS)
site: Search only one website admission site:www.stanford.edu
(Search Stanford Univ. site for admissions info.)
[#][#] Search within a
range of numbers
DVD player $100..150
(Search for DVD players between $100 and $150)
link: linked pages link:www.stanford.edu
(Find pages that link to the Stanford University website.)
info: Info about a page info:www.stanford.edu
(Find information about the Stanford University website.)
related: Related pages related:www.stanford.edu
(Find websites related to the Stanford University website.)

About the Author

Syed Yasir Hashmi http://www.yasir.in is an I.T guru working in the industry for the last 12 years

Popularity: 3% [?]

  • Share/Bookmark

Windows 7’s GodMode


2010
01.12

Windows 7’s so-called GodMode is actually a shortcut to accessing the operating system’s various control settings.

Although its name suggests perhaps even grander capabilities, Windows enthusiasts are excited over the discovery of a hidden “GodMode” feature that lets users access all of the operating system’s control panels from within a single folder.

By creating a new folder in Windows 7 and renaming it with a certain text string at the end, users are able to have a single place to do everything from changing the look of the mouse pointer to making a new hard-drive partition.

The trick is also said to work in Windows Vista, although some are warning that although it works fine in 32-bit versions of Vista, it can cause 64-bit versions of that operating system to crash.

To enter “GodMode,” one need only create a new folder and then rename the folder to the following:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
Once that is done, the folder’s icon will change to resemble a control panel and will contain dozens of control options. I’m not sure it’s my idea of playing God, but it is a handy way to get to all kinds of controls.

I’ve asked Microsoft for more details on the feature and how it came to be. But so far, Redmond is silent on the topic.

About the Author

Syed Yasir Hashmi http://www.yasir.in is an I.T guru working in the industry for the last 12 years.

Popularity: 2% [?]

  • Share/Bookmark

Which database is best?


2010
01.08

It’s the question many of persons normally ask to me. “Which database is the best?”  And my answer is always the same; databases are like clothes you wear according to your size and status. So don’t see toward other’s experience just analyze your volume and size and then decide what database actually suits you. Let’s have a look on different databases and their qualities. We will move from medium to maximum.

1- My SQL

Introduction:

MySQL is exceptional database as for as budget vs. performance is concerned. My SQL has almost 11 million installations worldwide and free to use.

Web Presence:

Now a day’s every 2nd dynamic website is using MySQL is its ultimate database for its robust and easy to use interface. Many web application also uses MYSQL is their database.

Pricing & Availability:

If you are looking for a free database, having client server architecture with awesome reliability then you don’t need to look around. Go and download your free version of My SQL.

Future:

Sun Micro system purchased MySQL and Oracle Corporation is trying to buy Sun Micro system creating a threat for its free GNU license. But still it’s a batter product to use.

2- SQL SERVER

Introduction:

Evolved from Sybase SQL server, Microsoft worked hard to enter Database arena. And through SQL Server, Microsoft earned huge bucks. Easy to use/install Interface made it popular among students and mid range enterprises.

Web Presence:

With ASP/ASP.net support Microsoft made a good presence on web but SQL Server is only available on windows based hosting.

Pricing & Availability:

Pricing varies on deployment scenarios. Please consult the Microsoft website for pricing

Future:

SQL Server has a bright feature because of strong Microsoft’s financial and technical backbone.

3- ORACLE Database

Introduction:

Oracle database is the leader in database industry due to its reliable architecture and robust features.  Having larger share in database market Oracle is having tough competition with its rival giants IBM and Microsoft.

Web Presence:

Although Oracle tried to make its web presence more visible by launching HTML DB (Oracle Xpress), but still they need to work a lot in this field as web masters still hesitate to get Oracle with their web apps due to Heavy structure and high pricing.

Pricing & Availability:

Oracle offers pricing for its different database editions on the basis of region and no. of users. So prices may vary from country to country.

Future:

I must say that Oracle has the brightest feature amongst all the other database rivals, after buying soft ware people soft, JD Edward oracle grabbed a large pile of shares of database market

4- DB2

Introduction:

Once Industry leader, DB2 sounds a chuckle of past. But still IBM trying to retain its database market share, against its rivals Oracle and Microsoft.

Web Presence:

Having little web presence IBM seems not interested to grab this area.

Pricing & Availability:

Not Available

Future:

I think DB2 is just waste of money as per small and mid size companies so investing in such database who’s market share is shrinking is a risk.

About the Author

Syed Yasir Hashmi http://www.yasir.in is an I.T guru working in the industry for the last 12 years.

Popularity: 4% [?]

  • Share/Bookmark

How to Configure Google Public DNS?


2010
01.08

The Google Public DNS IP addresses required for DNS settings are as:
8.8.8.8
8.8.4.4

Any of the about IP address can be chosen as a primary address, and the other as a secondary address.

Open the Control Panel, click on Network and Internet. Now, click on Network and Sharing Center, and then select “Change adapter settings”.

In the next screen, select the connection that you want to configure for Google Public DNS.

If you want to change the settings for an Ethernet connection, right-click Local Area Connection, and click Properties. Or else, if you want to change the settings for a wireless connection, right-click the icon/link for the wireless network connection that you’re using, and then click Properties.

The Local Area Connection Properties dialog box will appear on the screen. Select the Networking tab. Now, under “This connection uses the following items”, click on the “Internet Protocol Version 4 (TCP/IPv4)” and then click on the Properties button.

A new dialog box with the title of “Internet Protocol Version 4 (TCP/IPv4) Properties” will appear on the screen. Now, select the radio box “Use the following DNS Server addresses”, and in the Preferred DNS Server text box, enter “8.8.8.8” and in the Alternate DNS Server, enter “8.8.4.4”.

Now, click OK on this dialog box to close it.

Click on Close button of the Local Area Connection Properties dialog box to close it.

Testing the changed DNS settings:
Once you’ve made the changes to your DNS settings to use Google Public DNS, you must test it to check whether the Google DNS resolver is working. For its confirmation just follows a very short and simple step: In the address bar of your browser, type a web address http://www.google.com/. If it resolves correctly and takes you to that website, bookmark the page, and then try to access the same web address again from the bookmark. If both of these tests work properly and the desired website opens properly, then it means that Google Public DNS is working correctly. If these tests do not work properly, then you must configure it again from the start.

How to switch back to the old DNS settings?
In some cases, it may also be possible to switch back to old DNS settings by using the automatic settings. For doing so, go back to the window in which you had specified the Google IP addresses, and select the option to enable obtaining DNS server addresses automatically, and/or delete the Google IP addresses. This will slip back your settings to using your ISP’s default servers.

About the Author

Syed Yasir Hashmi http://www.yasir.in is an I.T guru working in the industry for the last 12 years.

Popularity: 100% [?]

  • Share/Bookmark
Get Adobe Flash playerPlugin by wpburn.com wordpress themes