Académique Documents
Professionnel Documents
Culture Documents
A typical disk pack comprises of 6 disks held on a central spindle. As the top and bottom
is disregarded with recording information, only 10 surfaces are used, each with 200
concentric recording tracks. When the unit is in position in the drive, the tracks are
accessed by a comb
of 10 read/write heads held rigidly on an arm assembly which moves in and out
between the disk as illustrated
Serial Organization
Serial files are stored in chronological order, that is, as each record is received it
is stored in the next available storage position. In general it is only used on a
serial medium such as magnetic tape.
This type of file organization means that
the records are in no particular order and therefore to retrieve a single record, the whole
file needs to be read from the beginning to end.
Serial organization is usually the method used for creating Transaction files (unsorted),
Work and Dump files.
Sequential Organization
Sequential files are serial files whose records are sorted and stored in an ascending or
descending on a particular key field
The physical order of the records on the disk is not necessarily sequential, as most
manufacturers support an organization where certain records (inserted after the file has
been set up) are held in a logical sequence but are physically placed into an overflow
area.
Disk scheduling
In multiprogramming systems, there may be several disk I/O requests at the
same time. As a result, a disk driver is typically faced with a pool of I/O requests: The
most costly component of a disk I/O operation is the seek time.
File allocation
The file system allocates disk space, when a file is created. With many files residing on
the same disk, the main problem is how to allocate space for them.
File allocation scheme has impact on the efficient use of disk space and file access time.
Common file allocation techniques are:
Contiguous allocation
Allocate disk space like paged, segmented memory. Keep a free list of unused
disk space.
Chained (linked)
Space allocation is similar to page frame allocation. Mark allocated blocks as in use.
Indexed
Allocate an array of pointers during file creation. Fill the array as new disk blocks are
assigned.
Recovery technique
• Consistency checker – compares data in directory structure with data blocks on
disk, and tries to fix inconsistencies.
• Use system programs to back up data from disk to another storage device
(floppy disk,
magnetic tape)
• Recover lost file or disk by restoring data from backup.