Vous êtes sur la page 1sur 11

TERM PAPER

OF
CSE-316: OPERATING SYSTEM AND
CONCEPT
Topic: How operating system manages disk
drives? How can we prevent disk
damage.

Submitted by:

AVINASH MANHAS Submitted to:

Roll.no- RE2801B46 Mr. Pushpendra Kumar Petriya

Reg.no- 10809450

Course- B Tech-M.Tech( IT)


Contents:

 Operating System Functions

 Disk Drive
• WHAT IS A HARD DISK DRIVE?
• Types of Hard Disk Drives
a. ATA Disk Drives
b. FireWire Disk Drives
c. SCSI Disk Drives
d. Using a RAID or Disk Array
e. Storage Area Networks

 Disk Management
• Accessing Disk Management
• Basic Disk Management Functions

 Hard Disk Failure and Prevention


 Future Development

 References

storage and input/output (I/O) bandwidth for


their own purposes.

The second task, providing a consistent


application interface, is especially important
if there is to be more than one of a particular
type of computer using the operating
system, or if the hardware making up the
computer is ever open to change
Operating System Functions Disk storage is only one of the memory
types that must be managed by the operating
At the simplest level, an operating system system, and it's also the slowest. Ranked in
does two things: order of speed, the types of memory in a
computer system are:
1. It manages the hardware and
software resources of the system. In • High-speed cache -- This is fast,
a desktop computer, these resources relatively small amounts of memory
include such things as the processor, that are available to the CPU through
memory, disk space and more (On a the fastest connections. Cache
cell phone, they include the keypad, controllers predict which pieces of
the screen, the address book, the data the CPU will need next and pull
phone dialer, the battery and the it from main memory into high-
network connection). speed cache to speed up system
2. It provides a stable, consistent way performance.
for applications to deal with the • Main memory -- This is the RAM
hardware without having to know all that you see measured in megabytes
the details of the hardware. when you buy a computer.
• Secondary memory -- This is most
The first task, managing the hardware and often some sort of rotating magnetic
software resources, is very important, as storage that keeps applications and
various programs and input methods data available to be used, and serves
compete for the attention of the central as virtual RAM under the control of
processing unit (CPU) and demand memory, the operating system.
DISK DRIVE 1. Speed of writing to and reading from
the drive.
A hard disk is part of a unit, often called a 2. Capacity to store data. DIFFERING
"disk drive," "hard drive," or "hard disk TYPES OF HARD DISK DRIVES
drive," that stores and provides relatively have appeared but the commonly
quick access to large amounts of data on an accepted types are:
electromagnetically charged surface or set of i. Fixed hard drive.such as the
surfaces. Today's computers typically come 1OMb or 20Mb unit that is
with a hard disk that contains several billion common in the XT style of
bytes (gigabytes) of storage. Machine.
ii. Hard Card. This integrated
A hard disk is really a set of stacked "disks," drive and controller takes the
each of which, like phonograph records, has form of a full length
data recorded electromagnetically in peripheral card and plugs into
concentric circles or "tracks" on the disk. A the XT Bus as would any
"head" (something like a phonograph arm other card. It is ideally suited
but in a relatively fixed position) records to machines with limited
(writes) or reads the information on the space for drive placements
tracks. Two heads, one on each side of a such as the Olivetti M24.
disk, read or write the data as the disk spins. iii. Removable Media hard drive.
Each read or write operation requires that Units such as Syquest,
data be located, which is an operation called Bernoulli and DMA have
a "seek." manifested themselves in the
marketplace but with limited
A hard disk/drive unit comes with a set success for various reasons.
rotation speed varying from 4500 to 7200 The concept of having 5Mb
rpm. Disk access time is measured in to 30Mb of removable
milliseconds. Although the physical location magnetic media is, in theory,
can be identified with cylinder, track, and great from the aspect of
sector locations, these are actually mapped security and backup, but
to a logical block address (LBA) that works reliability has hampered
with the larger address range on today's hard some of these products.
disks. Experience showed that in
many instances, data written
to a removable pack in one
WHAT IS A HARD DISK drive, cannot be retrieved
from a different drive of the
DRIVE? iv.
same type.
CD ROM (Compact Disk
Read Only Memory) These
Not unlike a Floppy Diskette, a Hard Disk units are for high speed
Drive is a mass storage device for data held management of bulk Fixed
as magnetic media flux reversals, commonly data such as Encyclopaedia,
in binary form as ones and zeros. The Dictionaries and Directories.
essential differences between floppy and No data write facility exists
hard drives are: in this particular system, as
CD ROMS such as Groliers' • Parallel (Ultra) ATA disks: These are
Dictionary are purchased found in Power Mac G4 computers.
"ready to run."
• Serial ATA disks: These come with
v. WORM (Write Once Read
Multiple) drives are the Power Mac G5 computers.
newest technology, allowing
the user to write ONCE via a ATA disks do not offer as high a level of
laser beam altered Dye Line. performance as LVD or Ultra160 SCSI disks. If
After this one time write has
been effected, retrieval is by you plan to use Ultra ATA disks, make sure that:
the same method as for the
CD ROM. • The sustained transfer speed is
8 MB/sec. or faster

Types of Hard Disk Drives • The average seek time is below 9 ms

• The spindle speed is at least 5400 rpm,


Disk drive technologies have advanced quickly
although 7200 rpm is better
over recent years, making terabytes of storage
available at reasonable cost. When researching
the type of hard disk storage system appropriate
Parallel (Ultra) ATA Disks
for your needs, keep in mind the format and data
Parallel ATA disks use 40- or 80-pin-wide
rate of the video you’re capturing. Depending on ribbon cables to transfer multiple bits of data
whether you work as an independent video simultaneously (in parallel), they have a
editor or collaborate with others, the amount of
cable length limit of 18 inches, and they
require five volts of power. Depending on
storage you require and the bit rate of data your computer, there may be one or more
transfer will be important factors to match up parallel ATA (or IDE) controller chips on
with your storage needs. Outlining all of the the motherboard.
hard disk storage technologies is beyond the
Serial ATA Disks
scope of this documentation, but four common
Serial ATA (SATA) disks are newer than
choices include: parallel ATA disk drives. The disk drive
mechanisms may be similar, but the interface is
• ATA significantly different. The serial ATA interface
has the following characteristics:
• FireWire
• Serial data transfer (one bit at a time)
• SCSI
• 150 MB/sec. theoretical data throughput
• RAID and Fibre Channel limit

• 7-pin data connection, with cable limit


ATA Disk Drives
of 1 meter
There are two kinds of ATA disks: • Operates with 250 mV
• Only one disk drive allowed per serial volume (as opposed to formatting
ATA controller chip on a computer several disks together as a disk array).
motherboard, so disk drives do not have • Ultra320 and Ultra160 SCSI: These are
to share data bandwidth faster than Ultra2 LVD SCSI disks.

FireWire Disk Drives Using a RAID or Disk Array

Although not recommended for all systems, You can improve the transfer speed of
FireWire disk drives can be effectively used to individual disks by configuring multiple disk
capture and edit projects using low data rate drives in a disk array. In a Redundant Array of
video clips, such as those captured using the DV Independent Disks (RAID), multiple SCSI,
codec. However, most FireWire disk drives lack ATA, or FireWire disk drives are grouped
the performance of internal Ultra ATA disk together via hardware or software and treated as
drives or of internal or external SCSI disk a single data storage unit. This allows you to
drives. For example, a FireWire disk drive may record data to multiple drives in parallel,
not be able to support real-time playback with as increasing access time significantly. You can
many simultaneous audio and video tracks as an also partition the array into multiple volumes.
internal Ultra ATA disk drive can. This can also
affect the number of simultaneous real-time Creating a disk array is necessary only if high
effects that can be played back. performance is required to capture and play back
your video at the required data rate without
SCSI Disk Drives dropping frames.

Small Computer System Interface (SCSI) disk If you require rock-solid data integrity, consider
drives used to be among the fastest drives purchasing a RAID. Many RAIDs record the
available, although newer computers may no same data on more than one disk, so that if a
longer provide SCSI ports. Although no longer drive fails, the same data can still be retrieved
highly popular, SCSI technology has been from another disk. There are many RAID
implemented in various ways over the years, variations available, but one that offers high
with each successive generation achieving better performance for both digital video capture and
performance. Two fast SCSI standards for video data redundancy is RAID level 3. Because they
capture and playback are: use specialized hardware, RAID level 3 systems
can be more expensive, but they should be
• Ultra2 LVD (Low Voltage Differential)
considered
SCSI: Ultra2 LVD SCSI disk drives
offer fast enough performance to capture
and output video at high data rates when
a single disk is formatted as a single
Storage Area Networks The operating system is a must for the
proper functioning of the computer. The
A storage area network (SAN) such as an Apple computer is a device that needs to be fed
with the instructions that are to be carried
X san system consists of one or more disk arrays
out and executed. Hence there needs to be
that are made available to multiple computer an interpreter who is going to carry out the
systems simultaneously. Broadcast and post- conversions from the high level language of
production facilities can use an X san system to
the user to the low level language of the
computer machine.
share a single set of media files among multiple
editing systems. The hard disk drive as secondary memory is
therefore needed for the purpose of
X san software allows an administrator to installing the operating system. If there is no
operating system then the question arises
control SAN access privileges for each editing
where to install the operating system. The
system. For example, a capturing edit station operating system obviously cannot be
may have read-and-write access to the SAN, installed in the primary memory however
while an assistant editor station may only have large that may be. The primary memory is
also a volatile memory that cannot be used
read access to media files for a particular for the permanent storage of the system files
project. An administrator may also control of the operating system. The operating
permissions to make sure editors capture system requires the permanent file storage
media like the hard disk.
material only to specific folders.
More over the hard disk management is an
Disk Management important part of maintaining the computer,
since it requires an efficient management of
The hard disk is the secondary storage the data or the user information. The
device that is used in the computer system. information regarding the Master Boot
Usually the primary memory is used for the Record is stored in the hard disk drive. This
booting up of the computer. But a hard disk is the information that is required during the
drive is necessary in the computer system start up of the computer. The computer
since it needs to store the operating system system needs this information for loading
that is used to store the information of the the operating system.
devices and the management of the user
data. The file management and the resources
management is also a part of the hard disk
The management of the IO devices that is management. The hard disk management
the Input Output devices, like the printer and requires an efficient knowledge of the
the other peripherals like the keyboard and operating system and its resources and the
the etc; all require the usage of the operating methods of how these resources can be
system. Hence the information of the all employed in order to achieve maximum
such devices and the management of the benefit. The operating system contains the
system is done by the operating system. The resources and the tools that are used to
operating system works as an interpreter manage the files in the operating system.
between the machine and the user. The partitioning and the installation of the
operating system itself may be considered as and click OK. The Disk Management
the hard disk management. snap-in will open.

The hard disk management also involves the Three Basic Areas of Disk
formatting of the hard disk drive and to Management
check the integrity of the file system. The
data redundancy check can also be carried The basic Disk Management console is
out for the consistency of the hard disk divided into three main areas and just about
drive. The hard disk drive management is as straightforward as one can get. In Fig. 01
also important in the case of the network the areas are defined by green, red, and blue
where there are many hard disk drives to be rectangles. The Console Tree is the tall
managed. vertical column on the left that's defined by
the green colour. If Method 3 above is used
Managing a single hard disk in a single user to open Disk Management it will open
operating system is quite easy in comparison without the Console Tree being displayed. I
with the management of the hard disk drives suggest you get rid of the Console Tree as it
in a multi user operating system where there really serves no purpose once Disk
is more than one user. It is not that much Management is open. Even if you used one
easy since the users are also required to be of the other methods, the Console Tree can
managed. be eliminated by clicking the Show/Hide
Console Tree icon (fourth from left) on the
Accessing Disk Management standard toolbar.

There are a few different ways to access The red and blue areas are referred to as Top
Disk Management. I'll list three different and Bottom and are both user definable via
methods so choose whichever is more the View menu option. By default, the Top
convenient. area displays the Volume List and the
Bottom area displays the Graphical View. A
• Method 1 - Start > Control Panel > third view called Disk List can be
Performance and Maintenance > substituted in either pane if it's more to your
Administrative Tools. Double click liking, or the Bottom pane can be hidden
Computer Management and then completely. The View menu option also
click Disk Management in the left contains a [Settings...] option that allows
hand column. adjustment of the colour schemes, size of the
• Method 2 - By default, drive displays and a few other options so the
Administrative Tools is not shown console can be tailored to individual taste.
on the Start Menu but if you have
modified the Start Menu (by right Basic Disk Management
clicking the Start button and
selecting Properties > Customize) so Functions
it is shown then just select Start >
Administrative Tools > Computer All too often the help documentation that's
Management and then click Disk supplied with programs falls short of the
Management in the left hand column. mark, but in the case of Disk Management I
• Method 3 - Click Start > Run and think Microsoft did an above average job. I
type diskmgmt.msc in the Open: line suggest giving it a thorough read through as
it contains detailed instructions for truth it can be quite useful for many tasks.
performing many tasks that it's not That's not to say it's without limitations
immediately apparent Disk Management can because it does have some. One of the major
handle. I'll list a few of the more common limitations is the inability to resize a
tasks that interest a wide cross section of partition to make it smaller in a non-
users. destructive manner. That limitation, and
others, can be overcome by a number of
• Create partitions, logical drives, and third party utilities to fill in the gaps where
volumes. Disk Management is lacking, but a full
• Delete partitions, logical drives, and understanding of what Disk Management
volumes. can and cannot do relative to your individual
• Format partitions and volumes. situation and needs will help you determine
• Mark partitions as active. if a third party disk management utility is
• Assign or modify drive letters for necessary.
hard disk volumes, removable disk
drives, and CD-ROM drives. Hard Disk Failure and
• Obtain a quick visual overview of
the properties of all disks and Prevention
volumes in the system.
• Create mounted drives on systems Broadly speaking a hard disk can fail in four
using the NTFS file system. ways that will lead to a potential loss of
• Convert basic disks to dynamic data:
disks.
• Convert dynamic to basic disks, 1. Firmware Corruption / Damage to
although this is a destructive the firmware zone
operation. 2. Electronic Failure
• On dynamic disks, create a number 3. Mechanical Failure
of specialty volumes including 4. Logical Corruption
spanned, striped, mirrored, and
RAID-5 volumes. Combinations of these four types of failure
are also possible. Whether the data on the
Disk Management makes extensive use of hard disk is recoverable or not depends on
context menus. Right clicking on a drive or exactly what has happened to the disk and
partition will normally present a menu that how bad the damage is. Please note that over
contains the options and procedures time, all hard disks will develop bad sectors
available for the particular device. The which can lead to data loss and drive
Action menu item is an alternate method for inaccessibility.
determining the same information. An
advantage of using Disk Management is the
majority of changes you can make don't 1. Firmware Corruption / Damage to the
require rebooting the system so you can firmware zone
continue working while the procedures
complete. Explanation: Hard disk firmware is the
software code that controls, and is
At first glance it may appear there isn't embedded in, the physical hard drive
much substance to Disk Management, but in hardware. If the firmware of a hard disk
becomes corrupted or unreadable the Actions to take
computer is often unable to correctly interact
with the hard disk. Frequently the data on • Data Clinic can recover data from all
the disk is fully recoverable once the drive types of electrical hard drive failure.
has been repaired and reprogrammed.
3. Mechanical Failure
Firmware failures - How to diagnose:
Common Symptoms Mechanical hard disk failures are those
which develop on components internal to the
• The hard disk will spin up when hard disk itself. Often as soon as an internal
powered on, but be incorrectly component goes faulty the data on the hard
recognised / not recognised at all by disk will become inaccessible.
the computer
• The hard disk will spin up & be Mechanical failures - How to diagnose:
recognised correctly by the computer Common Symptoms
but the system will then hang during
the boot process • When powered on, the hard drive
will immediately begin to make a
Actions to take regular ticking or clicking sound

• Recovering data from hard drives Actions to take


with firmware failure requires low
level reprogramming / manipulation • Recovering data from hard drives
of the hard drive. It is not possible with mechanical failure requires the
for a PC repair shop to do this. Data drive to be worked on in a clean
Clinic have our own specialist room as the drive has to be taken
equipment that allows us to apart and investigated in lab
successfully recover data from hard conditions. Data Clinic have a fully
drives with firmware faults. equiped Class 100 clean room which
we use to recover drives with
2. Electronic Failure mechanical problems.

Explanation: Electronic failure usually 4. Logical Errors


relates to problems on the controller board
of the actual hard disk. The computer may Often the easiest and the most difficult
suffer a power spike or electrical surge that problems to deal with, logical errors can
knocks out the controller board on the hard range from simple things such as an invalid
disk making it undetectable to the BIOS. entry in a file allocation table to truly
horrific problems such as the corruption and
Electrical failures - How to diagnose: loss of the file system on a severely
Common Symptom fragmented drive. Logical errors are
different to the electrical and mechanical
• The hard disk will not spin up when problems above as there is usually nothing
the drive is powered on - it will 'physically' wrong with the disk, just the
appear dead & not be recognised by information on it.
the computer
Logical errors can also be tackled with
various software tools you can buy off the
net, but be warned - if you are intending to
run a fix utility on your disk you can very
easily make recoverable data unrecoverable.
This is especially true when running
ScanDisk and Chkdsk on a damaged hard
drive.

Future development

Because of bit-flipping errors and other


issues, perpendicular recording densities
may be supplanted by other magnetic
recording technologies. Toshiba is
promoting bit-patterned recording (BPR),
while Xyratex is developing heat-assisted
magnetic recording (HAMR).

References:
• http://en.wikipedia.org/wiki/Hard_dis
k_drive

• www.webopedia.com/TERM/D/disk_dr
ive.html

• Operating System concepts by galvin

• www.acronis.com/homecomputing/.../di
skdirector/index.html

• Accelerate Your Hard Drive By Short


Stroking

Vous aimerez peut-être aussi