Storage Flashcards
What are Block Devices?
Read/write in blocks of data
What are examples of Block Devices?
Hard-drives, solid-state drives
What are Character Devices?
Read/write in character streams of data
What are examples of Character Devices?
Keyboards, mice, serial ports
What is EXT4?
Improves performance, reliability, and capacity from older versions of ext
Supports up to one exabyte volumes and 16 terabyte files
What is XFS?
A 64-bit journaling file system that provides fast recovery and can handle large files efficiently
What is Server Message Block (SMB)?
A client-server communication protocol used for sharing access to files, printers, serial ports and other resources on a network
What is Common Internet File System (CIFS)?
A version of of SMB implemented by SMB in 1996.
What is a Primary Partition?
Contains one file system or logical drive and is sometimes referred to as a volume
What is an Extended Partition?
Contains several file systems, which are referred to as logical drives
What is a Logical Partition?
Partitioned and allocated as an independent unit and functions as a seperate drive
What is fdisk?
A common used to create, modify, or delete partitions on a storage device
what does fdisk -b do?
Specify number of drive sectors
What does fdisk -H do?
Specify number of drive heads
What does fdisk -S do?
Specify number of tracks per sector
What does fdisk -s do?
Print partition size in blocks
What does fdisk -I do?
List partition tables for devices
What does fdisk -n do?
Create new partitions
What does fdisk -d do?
Remove partition
What does fdisk -p do?
List existing partitions
What does fdisk -w do?
Write drive changes and exit utility
What does fdisk -q do?
Cancel changes made and exit utility
What does parted do?
A command used to create, destroy, and resize partitions and runs the GNU Parted utility
What does select (parted) do?
Chooses a device or partition to modify
What does mkpart (parted) do?
Create partitions with the file system type specified
What does print (parted) do?
List partition table
What does resizepart (parted) do?
Resize or modify a partitions end position
What does rm (parted) do?
Delete a partition
What does quit (parted) do?
Quit GNU parted utility
What is partprobe?
Used to update the kernel with changes that now exist within the partition table
What is partprobe?
Used to update the kernel with changes that now exist within the partition table
What is mkfs?
Used to build a Linux file system on a device, which is usually a drive partition
What does mkfs - v do?
Produce verbose output that keeps changing as the program processes
What does mkfs -V do?
Produce verbose output, including all file system-specific commands executed
What does mkfs -t [fs type] do?
Specify type of file system to build
What does mkfs -t [fs type] do?
Specify type of file system to build
What doe mkfs -options do?
Pass file-system specific options to the file system builder
What does mkfs -c do?
Check the device for bad blocks before building the file system
What does mkfs -I [filename] do?
Read the list of bad blocks from a specified file
What is the fstab file?
Stores information about storage devices and partitions where and how they should be mounted
What is the /etc/crypttab file?
Stores information about encrypted devices and partitions that must be unlocked and mounted on system boot