Secondary Storage in Operating Systems.
Secondary Storage in Operating Systems.
Secondary Storage
• You know that processor or primary memory is very expensive and
has limited storage capacity because of its volatile nature.
• Fixed Storage media is an internal storage medium like a hard disk that is fixed
inside the computer.
• A storage medium that is portable and can be taken outside the computer is
termed removable storage media.
Secondary Storage
• In Secondary storage devices, the stored data might not be under the direct
control of the operating system.
• However, this type of memory is volatile, and it loses its data when the
computer is switched off.
• They are used for various purposes such as backup data used for future
restores or disaster recovery, long-term archiving of data that is not
frequently accessed, and storage of non-critical data in lower-performing,
less expensive drives.
• Without secondary storage, all programs and data would be lost when the
computer is switched off.
Characteristics of Secondary Storage
Devices
• It is non-volatile, which means it retains data when power is switched
off.
• Secondary storage devices like CDs and flash drives can transfer the data
from one device to another
Types of Secondary Storage Device
• Here are the two types of secondary storage devices, i.e., fixed
storage and removable storage.
1. Fixed Storage
• Fixed storage is an internal media device used by a computer system
to store data. Usually, these are referred to as the fixed disk drives or
Hard Drives.
• Fixed storage devices are not fixed.
• These can be removed from the system for repairing work,
maintenance purposes, and also for an upgrade, etc.
• But in general, this can not be done without a proper toolkit to open
up the computer system to provide physical access, which needs to be
done by an engineer.
1. Fixed Storage
• Technically, almost all data, i.e. being processed on a computer
system, is stored on some built-in fixed storage device.
• We have the following types of fixed storage:
• Internal flash memory
• SSD (solid-state disk)
• Hard disk drives (HDD)
2. Removable Storage
• Removable storage makes it easier for a user to transfer data from one
computer system to another.
• The main benefit of removable disks in storage factors is that they can
provide the fast data transfer rates associated with storage area
networks (SANs).
We have the following types of Removable
Storage:
• Optical discs (CDs, DVDs, Blu-ray discs)
• Memory cards
• Floppy disks
• Magnetic tapes
Classification of Secondary Storage
Devices
• The following image shows the classification of commonly used
secondary storage devices.
Sequential Access Storage Device
• It is a class of data storage devices that read stored data in a sequence.
• This is in contrast to random access memory (RAM), where data can access in
any order, and magnetic tape is the common sequential access storage device.
• CD Drive: CD stands for Compact Disk.
• CDs are circular disks that use optical rays, usually lasers, to read and write data.
• They are very cheap as you can get 700 MB of storage space for less than a
dollar.
• CDs are inserted in CD drives built into the CPU cabinet.
• They are portable as you can eject the drive, remove the CD and carry it with
you.
Sequential Access Storage Device
• There are three types of CDs:
• CD-ROM (Compact Disk - Read Only Memory): The manufacturer recorded the data
on these CDs.
• Proprietary Software, audio or video are released on CD-ROMs.
• CD-R (Compact Disk - Recordable): The user can write data once on the CD-R. It
cannot be deleted or modified later.
• CD-RW (Compact Disk - Rewritable): Data can repeatedly be written and deleted on
these optical disks.
Sequential Access Storage Device
• DVD Drive: DVD stands for digital video display.
• DVD is an optical device that can store 15 times the data held by CDs.
• They are usually used to store rich multimedia files that need high
storage capacity.
• DVDs also come in three varieties - read-only, recordable and
rewritable.
• Blu Ray Disk: Blu Ray Disk (BD) is an optical storage media that stores
high definition (HD) video and other multimedia files.
• BDs can store up to 128 GB of data.
Sequential Access Storage Device
• 3. Memory Storage Devices: A memory device contains trillions of
interconnected memory cells that store data.
RAM provides a much faster-accessing speed to data Secondary memory is slower in data accessing. Typically
than secondary memory. Computers can quickly process primary memory is six times faster than secondary
data by loading software programs and required files into memory.
primary memory (RAM).
Primary memory is volatile and gets completely erased Secondary memory provides a feature of being non-
when a computer is shut down. volatile, which means it can hold on to its data with or
without an electrical power supply.