OSY project...........................................................
OSY project...........................................................
A Project Report
On
Mr. R. B. MORE
SANT GAJANAN MAHARAJ RURAL POLYTECHNIC MAHAGAON
ACADEMIC YEAR
2024 – 2025
Maharashtra State Board of Technical Education, Mumbai
CERTIFICATE
This is to certify that the following students of Third Year Fifth semester or Diploma in
Computer Engineering of Institute Sant Gajanan Maharaj Rural Polytechnic, Mahagaon
– (code) 0965 has completed Micro Project in Subject – OPERATING SYSTEM code-
22516 for academic year 2024-2025.
• Rationale:
In modern computing environments, efficient data management and data redundancy are
crucial for both personal and enterprise-level computing systems. Understanding the
directory structure and RAID (Redundant Array of Independent Disks) configurations in an
operating system (OS) is essential for optimizing system performance, ensuring data security,
and providing fault tolerance.
• Literature Review:
The literature reviewed included textbooks and research articles that covered the evolution of
directory structures in operating systems and the development of RAID technology. Key
references include Tanenbaum (2014), which discusses file systems and directory
organization in Unix/Linux environments, and Stallings (2013), which explains the theory
behind different RAID levels and their practical applications. Additionally, research papers
from IEEE and ACM provided deeper insights into RAID performance benchmarks and
failure tolerance mechanisms.
• Proposed Methodology:
To understand and report on the directory structure and RAID levels in operating systems, the
following methodology will be followed:
www.geeksforgeeks.org
https://en.wikipedia.org
Operating System Book
• Resources Required:
• Rationale:
In modern computing environments, efficient data management and data redundancy are
crucial for both personal and enterprise-level computing systems. Understanding the
directory structure and RAID (Redundant Array of Independent Disks) configurations in an
operating system (OS) is essential for optimizing system performance, ensuring data
security, and providing fault tolerance.
The rationale behind this microproject is to explore the concepts of OS directory structure
and RAID levels to understand how they contribute to effective data storage and
management. This knowledge is crucial for system administrators, IT professionals, and
advanced computer science students who need to implement, troubleshoot, and optimize data
storage systems.
• Literature Review:
The directory structure is the hierarchical organization of files and directories (folders) within
an operating system. This structure ensures that data is stored and retrieved systematically.
Two-Level Directory: The directory structure is divided into two levels: one for users
and another for files. Each user has their own subdirectory.
- Tree-like structure
- Multiple levels of subdirectories
- Efficient file organization
- Easy file location
- Unlimited nesting levels
- Root directory at top
Acyclic Graph Directory: Similar to tree structure but allows a directory to have
multiple parent directories. This avoids redundancy in file storage and is
commonly used in systems with shared data.
/
├── bin/
├── etc/
│ ├── ssh/
│ ├── apache2/
├── home/
│ ├── user1/
│ ├── user2/
├── usr/
│ ├── lib/
│ ├── share/
└── var/
├── log/
└── tmp/
RAID Levels in Operating Systems:
RAID (Redundant Array of Independent Disks) is a data storage virtualization technology
that combines multiple physical disk drive components into one or more logical units for data
redundancy, performance improvement, or both.
1. RAID 0 (Striping):
o Description: Data is split (striped) across two or more disks.
o Advantages: Improved performance due to simultaneous read/write
operations on multiple disks.
o Disadvantages: No redundancy. If one disk fails, all data is lost.
o Minimum Disks: 2
2. RAID 1 (Mirroring):
o Description: Data is duplicated (mirrored) across two or more disks.
o Advantages: High redundancy. If one disk fails, the data is still available on
the other disk.
o Disadvantages: Storage capacity is halved, as data is duplicated.
o Minimum Disks: 2
3. RAID 2 (Striping with Parity):
o Description: Data is striped across multiple disks with parity
information distributed across all disks. Parity helps in recovering lost
data.
o Advantages: Good balance of redundancy, performance, and storage capacity.
o Disadvantages: Write operations can be slower due to the parity computation.
o Minimum Disks: 3
5. RAID 4 (1+0):
o Description: Combines RAID 1 and RAID 0. Data is mirrored (RAID 1) and
then striped (RAID 0).
o Advantages: Excellent performance and redundancy. Can survive the failure
of one disk in each mirrored pair.
o Disadvantages: Expensive in terms of storage because half of the total disk
capacity is used for mirroring.
o Minimum Disks: 4
6. RAID 5 (5+0):
o Description: Combines RAID 5 and RAID 0, providing a balance of
redundancy and performance.
o Advantages: Improved performance over RAID 5 with more redundancy than
RAID 0.
o Disadvantages: More complex and requires at least 6 disks.
o Minimum Disks: 6
7. RAID 6 (6+0):
o Description: A combination of RAID 6 and RAID 0, offering dual parity and
performance optimization.
o Advantages: Offers excellent fault tolerance (can handle up to two disk
failures per array) and performance.
o Disadvantages: More complex and requires at least 8 disks.
o Minimum Disks: 8
www.geeksforgeeks.org
https://en.wikipedia.org
Operating System Book
• References:
www.geeksforgeeks.org
https://en.wikipedia.org
Operating System Book