Professional Documents
Culture Documents
Disks
Disks
Disks
Disk drives belong to a class of devices known as direct access storage devices (DASDs) because they make it possible to access the data directly. Serial devices uses media such as magnetic tape that permit only serial access,which means that a particular data cannot be read or written until all the data preceding it on the tape have been read or written.
Organization of Disks
The information stored on a disk is stored on the surface of one or more platters. The arrangement is such that the information is stored in successive tracks on the surface of the disk.
Each track is often divided into number of sectors. A Sector is the smallest addressable portion of the disk. When the read statement call for a particular byte from the disk file, the computer operating system finds the correct surface, reads the entire sector into a special area into the memory called as buffer , and then find the requested byte in the buffer.
Data is recorded on each surface of the disk in sectors, which are located in concentric circles. The sectors are separated by gaps which contain no data. On PC disk drives, each sector contains 512 bytes of data.
Sector organizations , 4 types The physical placements of sectors. - Interleaving Clusters. - A group of sectors handled as a unit of file allocation. - File manager - FAT(File allocation table)
Extents. -A physical section of a file occupying adjacent clusters. -A file can have a single extent, or be scattered in several extents. Fragmentation. -Internal fragmentation -Unused space within a file.