Operating System

Disk management

Ahmad Yoosofan

Spring 2024

Disk

Disk structure

Storrage Areaa Network(SAN)

File Management System

File Access Methods

Simple Access Disk

Simple Disk Organization

One Level Structure of Folders

Two Level Structure of Folders

Acyclic Graph based Folder Structure

General Graph based Folder Structure

Multi Level File Structure

Simple Control Block of a File

File struture in Main Memory

Schematic View of Virtual File System

Allocation Files Methods

.

Contiguous Block Allocation

List Block Allocation

FAT Structure

Index Based Block Allocation

Contiguous Index Based Block Allocation

Contiguous List Allocation

File Structure in Unix

RAM in DISK

File Allocation Methods Comparison

Method

Contiguous

Chained

Indexed

Preallocation?

Necessary

Possible

Possible

Fixed or Variable Size Portions?

Variable

Fixed blocks

Fixed blocks

Variable

Portion Size

Large

Small

Small

Medium

Allocation Frequency

Once

Low To High

High

Low

Time to Allocate

Medium

Long

Short

Medium

File Allocation Table Size

One Entry

One Entry

Large

Meduim

Free Space Management

Bit Vector

Input Output Structure

Computer Bus

Hardware Ports

Status of Disk Requests

Linux Block I/O Stack

informit

Disk I/O OS Terminology

informit

Disk Arm Scheduling Algorithms

http://gudok.xyz/sspar/

Operations performed during random access

http://gudok.xyz/sspar/

Important Disk Parameters

Imporatnce of Track or Cylinder

زمان پیگیرد یا زمان جستجو

Seek time

98, 183, 37, 122, 14, 124, 65, 67

FCFS

SSTF

SCAN

C-SCAN

LOOK

C-LOOK

F-SCAN

.

N-Step Scan

.

چند الگوریتم زمان‌بندی دیسک

نمونه‌ای از مقایسهٔ چند الگوریتم

انجام ورودی/خروجی‌ها

RAID

1