Showing posts with label RAID. Show all posts
Showing posts with label RAID. Show all posts

Monday, December 13, 2010

bench3

Reactivate Missing Or Offline Dynamic Disk Storage Services

Have you ever noticed that when windows returning from sleep, approximately 50% of the time, the dynamic disk disappears completely - It's will not be visible in disk nor device management, and likewise, it's drive letter becomes available for reuse and the disk disappears from Computer. And the disk will return to use after a full reboot. Does it have anything to do with hardware configuration or hardware compatibility.

This certainly is a problem with hardware compatibility. And here is a work around on how to solve this problem.
To perform this procedure on a local computer, you must be a member of the Backup Operators group or Administrators group on the local computer, or you must have been delegated the appropriate authority. To perform this procedure remotely, you must be a member of the Backup Operators group or Administrators group on the remote computer. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
To work around this issue, I suggest you use the diskpart command lines to reactivate the dynamic disk when the disk is not shown.

Reactivate a missing or offline dynamic disk Storage Services; Local File Systems

Please note that you reactivate a missing or offline dynamic disk in two ways.
  • Using the Windows interface
  • Using a command line
Using the Windows interface
  1. Open Computer Management (Local).
  2. In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.
  3. Right-click the disk marked Missing or Offline, and then click Reactivate Disk.
The disk should be marked Online after the disk is reactivated.
  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.
  • A dynamic disk may become Missing when it is corrupted, powered down, or disconnected.
  • A dynamic disk may become Offline if it is corrupted or intermittently unavailable. A dynamic disk may also become Offline if you attempt to import a foreign (dynamic) disk and the import fails. An error icon appears on the Offline disk. Only dynamic disks display the Missing or Offline status.
  • Only dynamic disks can be reactivated.
Using a command line
  • 1. Open Command Prompt.
  • 2. Type:
diskpart
  • 3. At the DISKPART prompt, type:
list disk
Make note of the disk number of the missing or offline disk that you want to bring online. Missing disks are numbered M0, M1, M2, etc. and offline disks are numbered 0, 1, 2, etc.
  • 4. At the DISKPART prompt, type:
select diskn
  • 5. At the DISKPART prompt, type:
online
Read More

Sunday, July 4, 2010

bench3

Most Common Flavors Of RAID | RAID Levels

With the advent of massive databases and online storage needs measured in terabytes, RAID has become the standard way to create and manage the huge disk farms required to store all that data.

RAID comes in many flavors; we've covered the most common:

RAID 0
This version of RAID storage concatenates multiple physical disks together to create a single virtual drive. Data may be striped across the disks to improve performance. This form of RAID is great for managing large virtual storage areas with some performance improvement, but offers no additional reliability.

RAID 1
RAID 1 is another name for mirroring, or creating a realtime copy of every physical device. Data written to the mirrored pair is copied to both physical devices. If one of the devices fails, the other picks up the slack so that the host system is never aware that a drive has gone bad. In its pure form, RAID 1 provides the ultimate in redundancy, but offers no performance improvements or virtual device management.

RAID 0+1
Combining RAID 0 and RAID 1 yields the best of both worlds: complete mirroring for redundancy with striping and concatenation for large volume management and performance improvement. The only down side is cost, since RAID 0+1 (like RAID 1) needs two bytes of raw storage for every byte of data stored.

RAID 3
RAID 3 reduces the cost of redundant storage by using parity instead of mirroring to protect against disk failure. Drives are grouped into sets; one drive is designated the parity drive for the set and contains parity data computed from the other drives. If any single drive fails, the data stored on it can be recreated from the parity data. Costs are reduced, since fewer drives are needed to implement redundant storage, but performance is hindered by the parity computation and the bottlenecks caused by a single dedicated parity drive.

RAID 5
RAID 5 is a refinement of RAID 3 that uses the concept of parity but distributes the parity data across all the drives in the RAID set. Bottlenecks induced by the parity drive are eliminated and costs are still reduced, but performance can still be a problem.

In exploring these different RAID models, we gave little consideration to the physical implementation of the storage subsystem. Now that we understand how these different RAID types work in theory, we need to drill down one layer into our storage subsystem and see how to implement RAID in the real world.
Read More
bench3

What Is JBOD In RAID Concept

One way to create a large storage subsystem is to not use RAID at all. Such systems often go by the moniker of "just a bunch of disks," or JBOD.

JBOD is the way we used to do things back in the olden days, when normal systems maintenance included loading coal into the machine hopper and adjusting the processor drive belts. To create a JBOD storage subsystem, you take a bunch of disks and attach them to your system, usually via one or more SCSI controllers. Individual drives may have some smarts, including an on-drive cache, but there is little other hardware support for your storage subsystem.

Drive management in a JBOD environment occurs at the system level. You use conventional tools to format, partition, and mount the physical drives. Users then take advantage of the file systems you've mounted. 
For any sort of realistic performance management, users, especially database administrators, will need to know exactly where every file system is created and mounted, so that they don't create applications that saturate one drive or SCSI controller.
For large installations, JBOD is simply not an option. If you work in a small shop on a shoestring budget, however, JBOD can help meet some of your disk storage needs. In these cases, you'll be relying on your applications and databases to provide redundancy and recovery tools, along with robust backups to help you through serious drive failures.

The one advantage of a JBOD installation is that it forces you to become intimately familiar with your drives, controllers, and disk performance. Once you have fully grasped the inner workings of disk storage, a later transition to a more sophisticated RAID subsystem will be much easier, since you will understand how to balance loads across multiple controllers, detect disk hot spots, and recognize application usage patterns among your disk drives. 

In addition, a JBOD architecture is the basis on which software RAID solutions are constructed. Learning how to make JBOD work effectively will help you make a software-based RAID configuration work better as well.
Read More

Wednesday, January 27, 2010

bench3

The Myth of RAID Backups | RAID Is Not A Backup Function

RAID stands for Redundant Array of Inexpensive/Independent Disks. It's a set of hardware and/or software configuration(s) that grants you higher storage hardware availability (from failed disks), storage capacity, and/or gets you storage speed-nothing more. Some people are under the misconception that RAID can function as a backup for their system. This is simply not true.

RAID gets you hardware availability with respect to hardware failures (that is, it keeps things running after one of your hard drives die). Backups get you data availability with respect to time. RAID will NOT save your assets if you accidentally rm -rf /home (don't ever type that!), or if you accidentally rpm - Upgrade to the latest kernel instead of -installing it, nor will RAID help you get your data back if you get hacked, cracked, or rooted. When data is written to a RAID array, it gets written to ALL the disks. RAID will save you if one of your hard drives fails. That's all. Hardware availability with respect to, well, hardware!


Backups get you data availability for when your data fails (that is, rm - rf *, rpm - i kern*, or h4x0r3d). I've heard from many people who were baffled as to why they couldn't just recover their system from RAID. (These are likely the same unfortunate souls who thought that a firewall would protect them from the CodeRed or Nimda Internet Worms.) In short, if you want to protect your system from being down from blown drives, get RAID. If you want to protect your data and OS configuration from, well, yourself and others, get backups.


You may have heard of some newer forms of pseudo-RAID/backup-ish type technologies such as snapshots, LVM, and off line RAID-1 that do give some measure of "data availability" or backup type of functionality. But these are not very common, are beyond the scope of this chapter, and should not be confused with regular RAID-1 or RAID-5. Plus, these solutions do not get you all the security and flexibility of off-site rotated backup tapes.
Read More