IT Fundamentals/2014/File Systems

File systems are used to control how data is stored and retrieved.[1] Partitions consist of a range of cylinders of a hard disk drive.[2] This lesson covers partitions and file systems.

Objectives and Skills

edit

Objectives and skills for IT Fundamentals certification are covered in detail in other lessons. This lesson helps you:

  • Understand and create partitions
  • Understand and format file systems
  • Understand file systems permissions
  • Mount volumes

Readings

edit
  1. Wikipedia: Disk partitioning
  2. Wikipedia: Master boot record
  3. Wikipedia: GUID Partition Table
  4. Wikipedia: File system
  5. Wikipedia: File system permissions
  6. Wikipedia: File Allocation Table
  7. Wikipedia: NTFS
  8. Wikipedia: HFS Plus
  9. Wikipedia: ext4
  10. Wikipedia: Defragmentation

Multimedia

edit
  1. YouTube: Partitioning 101
  2. YouTube: Filesystems
  3. YouTube: Understanding File Systems

Activities

edit

These activities may either be completed using virtualization software and virtual hard drives or using connected USB drives. Be extremely careful not to reformat your primary hard drive or any drive with data you want to keep.

  1. Identify partitions and file systems currently installed on your computer system:
  2. Create a virtual disk:
  3. Create and format a partition:
    • Windows: Review Microsoft: Create and Format a Hard Disk Partition. Using the attached virtual disk from above, use Computer Management's Disk Management utility to initialize the disk, create a partition, and format it as NTFS.
    • OS X: Review Apple: Partition a Disk. Using the mounted virtual disk from above, use Disk Utility to create a partition on the disk and format it as Mac OS Extended.
    • Linux: Review GNOME.org: Disks. Using the attached virtual disk from above, use the Disks utility to create a partition on the disk and format it as ext4.
  4. Reformat a USB drive:
  5. Eject a USB drive:
  6. Determine whether your file system needs defragmenting:

Lesson Summary

edit
  • Disk partitioning is the act of dividing a hard disk drive (HDD) into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks, so that a different file system can be used on each partition.[3]
  • Multiple partitions can be used to separate operating systems, separate operating systems from data, and improve performance under specific usage scenarios.[4]
  • Multiple partitions can reduce space available, increase fragmentation, and reduce performance under more general usage scenarios.[5]
  • A disk that is partitioned using the traditional Master Boot Record (MBR) partitioning scheme supports up to four partitions. All four can be primary partitions, or one can be an extended partition.[6]
  • Primary partitions support a single file system, and may be used to boot the computer when the given partition is selected as the active partition.[7]
  • An extended partition is not bootable, but may be subdivided into multiple logical partitions.[8]
  • MBR partitions are limited to a maximum size of 2 TB.[9]
  • Partitions larger than 2 TB may be created using the GUID Partition Table (GPT) partitioning scheme supported by UEFI (rather than the legacy BIOS) firmware.[10]
  • For maximum portability, removable disks should be either unpartitioned or partitioned with MBR, have a maximum partition size of 2 TB, 512-byte sectors, and formatted using the FAT/FAT32 file system.[11]
  • A file system (or filesystem) is used to control how data is stored and retrieved.[12]
  • File systems manage space allocation, directories, file names, properties, and access permissions.[13]
  • The FAT file system is a legacy file system originally used with personal computer DOS, which is supported for compatibility reasons by nearly all current personal computer operating systems and many mobile devices and embedded systems.[14]
  • FAT is the default file system for removable media (other than optical disks).[15]
  • FAT includes FAT12, FAT16, and FAT32, the difference being the number of bits used to maintain each entry, and therefore the maximum disk size supported.[16]
  • The maximum disk size limit for FAT32 is 2 TB using 512-byte sectors.[17]
  • NTFS is the default file system for Windows NT, Windows 2000, and later Windows operating systems.[18]
  • NTFS improvements over FAT include improved support for metadata, advanced data structures to improve performance, better reliability and disk space utilization, security access control lists (ACL), and file system journaling.[19]
  • APFS (Apple File System) serves as the primary file system for macOS (superseded HFS+).[20]
  • ext4 is currently the default file system for most Linux distributions, and also the file system used by Android.[21]
  • Fragmentation occurs when a file system cannot or will not allocate enough contiguous space to store a complete file as a unit, but instead puts parts of it in gaps between existing files. Larger files and greater numbers of files also contribute to fragmentation and consequent performance loss.[22]
  • Defragmentation may occasionally be necessary on FAT and NTFS partitions. Fragmentation control is built into HFS+ and ext4, making defragmentation (generally) unnecessary on those systems.[23]
  • Defragmentation should not be performed on solid state drives (SSDs). It causes unnecessary wear on these devices without significantly improving performance.[24]

Key Terms

edit
Boot Configuration Data
A firmware-independent database for boot-time configuration data used by Microsoft Windows Vista and later which replaces the boot.ini that was used by NTLDR.[25]
boot loader
A computer program that loads an operating system or some other system software for the computer after completion of the power-on self-tests.[26]
boot sector
A region of a hard disk, floppy disk, optical disc, or other data storage device that contains machine code to be loaded into random-access memory (RAM) by a computer system's built-in firmware.[27]
cylinder
A division of data in a disk drive, based on concentric, hollow, slices through the platters, collecting the respective circular tracks aligned through the stack of platters.[28]
cluster
Allocation units for data on various file systems, consisting of one or more sectors.[29]
Disk Management
A logical disk volume manager used in Microsoft Windows.[30]
disk signature
A 32-bit value that is intended to uniquely identify a hard disk.[31]
Disk Utility
A logical disk volume manager used in OS X.[32]
GNOME Disks
A logical disk volume manager used in Linux.[33]
GUID (Globally Unique Identifier)
A unique reference number used as an identifier in computer software, typically implemented as a 128-bit value.[34]
head
A device that reads and writes data in a hard drive by manipulating the magnetic medium that composes the surface of an associated disk platter.:[35]
Logical block addressing (LBA)
A common scheme used for specifying the location of blocks of data stored on computer storage devices, generally secondary storage systems such as hard disks, and which replaced physical cylinder-head-sector addressing schemes.[36]
partition
A logical storage unit on a hard disk drive, originally created as a collection of cylinders.[37]
platter
A physical disk inside a disk drive.[38]
sector
The smallest unit of data that can be read or written by a disk drive, traditionally 512 bytes, but 4,096 bytes is becoming more common.[39]
track
A thin concentric circular strip of sectors.[40]
volume
A single accessible storage area with a single file system, created as a collection of one or more partitions.[41]

Review Questions

edit
Enable JavaScript to hide answers.
Click on a question to see the answer.
  1. Disk partitioning is _____, so that _____.
    Disk partitioning is the act of dividing a hard disk drive (HDD) into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks, so that a different file system can be used on each partition.
  2. Multiple partitions can be used to _____.
    Multiple partitions can be used to separate operating systems, separate operating systems from data, and improve performance under specific usage scenarios.
  3. Multiple partitions can _____.
    Multiple partitions can reduce space available, increase fragmentation, and reduce performance under more general usage scenarios.
  4. A disk that is partitioned using the traditional Master Boot Record (MBR) partitioning scheme supports up to _____ partitions. All _____ can be _____ partitions, or _____ can be _____.
    A disk that is partitioned using the traditional Master Boot Record (MBR) partitioning scheme supports up to four partitions. All four can be primary partitions, or one can be an extended partition.
  5. Primary partitions support _____, and may be used to _____.
    Primary partitions support a single file system, and may be used to boot the computer when the given partition is selected as the active partition.
  6. An extended partition is _____.
    An extended partition is not bootable, but may be subdivided into multiple logical partitions.
  7. MBR partitions are limited to a maximum size of _____.
    MBR partitions are limited to a maximum size of 2 TB.
  8. Partitions larger than_____ may be created using the _____ partitioning scheme supported by UEFI (rather than the legacy BIOS) firmware.
    Partitions larger than 2 TB may be created using the GUID Partition Table (GPT) partitioning scheme supported by UEFI (rather than the legacy BIOS) firmware.
  9. For maximum portability, removable disks should be either unpartitioned or partitioned with _____, have a maximum partition size of _____, _____ sectors, and formatted using the _____ file system.
    For maximum portability, removable disks should be either unpartitioned or partitioned with MBR, have a maximum partition size of 2 TB, 512-byte sectors, and formatted using the FAT/FAT32 file system.
  10. A file system (or filesystem) is used to _____.
    A file system (or filesystem) is used to control how data is stored and retrieved.
  11. File systems manage _____, _____, _____, _____, and _____.
    File systems manage space allocation, directories, file names, properties, and access permissions.
  12. The FAT file system is _____.
    The FAT file system is a legacy file system originally used with personal computer DOS, which is supported for compatibility reasons by nearly all current personal computer operating systems and many mobile devices and embedded systems.
  13. FAT is the default file system for _____.
    FAT is the default file system for removable media (other than optical disks).
  14. FAT includes FAT12, FAT16, and FAT32, the difference being _____.
    FAT includes FAT12, FAT16, and FAT32, the difference being the number of bits used to maintain each entry, and therefore the maximum disk size supported.
  15. The maximum disk size limit for FAT32 is _____.
    The maximum disk size limit for FAT32 is 2 TB using 512-byte sectors.
  16. NTFS is the default file system for _____.
    NTFS is the default file system for Windows NT, Windows 2000, and later Windows operating systems.
  17. NTFS improvements over FAT include _____.
    NTFS improvements over FAT include improved support for metadata, advanced data structures to improve performance, better reliability and disk space utilization, security access control lists (ACL), and file system journaling.
  18. HFS Plus (or HFS+) serves as the primary file system for _____.
    HFS Plus (or HFS+) serves as the primary file system for OS X.
  19. ext4 is currently the default file system for _____.
    ext4 is currently the default file system for most Linux distributions, and also the file system used by Android.
  20. Fragmentation occurs when a file system _____.
    Fragmentation occurs when a file system cannot or will not allocate enough contiguous space to store a complete file as a unit, but instead puts parts of it in gaps between existing files. Larger files and greater numbers of files also contribute to fragmentation and consequent performance loss.
  21. Defragmentation may occasionally be necessary on _____ partitions. Fragmentation control is built into _____ and _____, making defragmentation (generally) unnecessary on those systems.
    Defragmentation may occasionally be necessary on FAT and NTFS partitions. Fragmentation control is built into HFS Plus and ext4, making defragmentation (generally) unnecessary on those systems.
  22. Defragmentation should not be performed on _____. It causes unnecessary wear on these devices without significantly improving performance.
    Defragmentation should not be performed on solid state drives (SSDs). It causes unnecessary wear on these devices without significantly improving performance.

Assessments

edit

See Also

edit

References

edit
  Type classification: this is a lesson resource.
  Completion status: this resource is considered to be complete.