Hardware Configuration Flashcards
Common hard disk interfaces
PATA - Parallel Advanced Technology
SATA - Serial Advanced Technology Attachment
SCSI - Small Computer System Interface
external disk interfaces
- USB
- IEEE-1394 (firewire)
- Variants of SATA and SCSI
scsi disks
- support up to 8 or 16 devices per bus
- one device is the scsi host adapter (controller)
- serial attached scsi SAS brings advances in speed
scsi hard drive names are created within which directory?
/dev
scsi hard drive nomenclature
/dev/sdx where x is any letter from a-z
scsi tape nomenclature
/dev/stx (where x is any number from 0-i)
scsi cd-rom and dvd-rom nomenclature
/dev/scdx or /dev/srx (where x is any number from 0-i)
method of scsi id assignment
increasing order based on scsi id
hotpluggable external disks
- usb
- IEEE-1394 (firewire)
True or False: Always unmount external drive before unplugging it.
True
drive partition
data structure written to specified part of a hard disk
partitioning systems
- Master Boot Record (MBR)
- GUID Partition Table (GPT)
- Berkeley Standard Distribution (BSD)
MBR primary partition limit
four primary partitions or three primary and one extended
MBR partition type codes
one-byte (two-digit hexadecimal) numbers
- 0x0c (FAT)
- 0x07 (NTFS)
- 0x0f (newer type of extended partition)
- 0x82 (Linux swap)
- 0x83 (Linux filesystem)
GPT Datastructure - Protective MBR
- MBR exists on GPT partitioned disk to deterr creation of ordinary MBR partitions
- type code 0xee (EFI GPT)
- may also hold a boot loader in its code area
GPT Datastructure - header
- defines various GPT metadata
- defines size of the partition table
- defines locations of partition tables
- provides CRC (cyclical redundancy check) checksums to help system software detect data corruption
GPT Datastructure - partition table
- defines actual partitions
- can define up to 128 partitions on most disks
GPT partition scheme
partitions are numbered starting at 1 and need not be consecutive
MBR partition scheme
primary/extended/logical
LVM - Logical Volume Management
It is a system of managing logical volumes, or filesystems, that is much more advanced and flexible than the traditional method of partitioning a disk into one or more segments and formatting that partition with a filesystem
directory containing logical volume names
/dev/mapper
mount point
directory used as a way to access the filesystem on the partition, and mounting a filesystem is to link the filesystem to a mount point
- i.e. /home mount point would allow access to any subdirectory regardless of where subdirectory exists on a variety of physical drives
unified directory tree
directory structure which houses mount points
critical system directories to avoid splitting between partitions (without these Linux can’t function)
/etc /bin /sbin /lib /dev
low-level formatting
- creates a structure of sectors and tracks on the disk media
- should not be required after factory formats this upon production
high-level formatting
creates a filesystem
_____ disks can be low- and high-level formatted
- floppy
- fdformat /dev/fd0
common filesystem types
- ext2fs
- ext3fs
- ext4fs
- reiserfs
- btrfs
- non-native filesystems
ext2fs
- traditional linux native filesystem
- can be good for small /boot partitions
ext3fs
- adds journal (for recovery)
ext4fs
- adds ability to work with very large disks (over 32TB) and very large files (over 2TB)
reiserfs
- good with large amounts of small files
- designed as a journaling system
btrfs
- fast performer for handling very large disks and files (considered experimental as of kernel 2.6.34
FAT (file allocation table)
- old primitive but ubiquitous
ntfs
as of 2.6.x kernel, linux can reliable read and overwrite ntfs but not create new files
hfs and hfs+
apple - linux provides full read/write hfs support