Storage : Partition Flashcards

(48 cards)

1
Q

Block Devices

A

● Read/write in blocks of data
● examples: hard drives, solid-state devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Character Devices

A

● Read/write in character streams of data
● examples: keyboards, mice, serial ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

File System

A

A data structure is used by an operating system to store, retrieve, organize, and manage files and directories on storage devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

FAT

A

An older file system compatible with different operating systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ext2

A

Used to be the native Linux file system of some older releases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ext3

A

Much faster in recovering data and better ensures data integrity in abrupt system shutdowns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ext4

A

Supports volumes up to one exabyte and files up to 16 terabytes in size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

XFS

A

A 64-bit, high-performance journaling file system that provides fast recovery and can handle large files
efficiently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

BTRFS

A

Supports volumes of up to 16 exabytes in size and up to 18 quintillion files on each volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Windows supports ____ by default

A

SMB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the file systems that shares data over a Network?

A

Server Message Block (SMB)
Common Internet File System (CIFS)
Network File System (NFS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

____ does offer NFS by default

A

Windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Inode

A

Stores metadata about a file or directory on a file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is included in the journaling process?

A

● Changes to be made
● Background processes
● Pending changes after reboot
● Incomplete entries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Virtual File System

A

A software interface that sits between the kernel and the real file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What allows for multiple file systems to be on a drive?

A

Virtual File System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the 2 types of file system labels?

A

o e2label
▪ ext-based file systems
o xfs_admin
▪ XFS-based file systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

File system labels can have up to____

A

16 characters long

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Partition

A

A section of the storage drive that logically acts as a separate drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Partition Primary

A

Contains one file system or logical drive and is sometimes referred to as a volume

17
Q

Logical

A

Partitioned and allocated as an independent unit and functions as a separate drive

17
Q

fdisk

A

Used to create, modify, or delete partitions on a storage drive

17
Q

fdisk -H

A

Specify number of drive heads

17
Q

fdisk -b

A

Specify number of drive sectors

17
fdisk -S
Specify number of sectors per track
18
fdisk -l
List partition tables for devices
18
fdisk -s
Print partition size in blocks
18
What option creates a new partition on the fdisk menu?
n
18
What option deletes a partition on the fdisk menu?
d
18
What option list existing partitions on the fdisk menu?
p
19
What option writes drive changes and exit utility on the fdisk menu?
w
20
What option discards changes and exit utility on the fdisk menu?
q
20
parted utility
Used to create, destroy, and resize partitions and runs the GNU Parted utility
21
On the parted utility menu, what option creates partition with the file system type specified?
mkpart
22
partprobe
Used to update the kernel with changes that now exist within the partition table
23
mkfs
Used to build a Linux file system on a device, which is usually a drive partition
24
mkfs - v
Produce verbose output that keeps changing as the program processes
25
mkfs fs
Pass file system-specific options to the file system builder
26
mkfs -c
Check the device for bad blocks before building the file system
27
mkfs -l
Read the list of bad blocks from a specified file
28
fstab
Stores information about storage devices and partitions and where and how they should be mounted
29
/etc/crypttab File
Stores information about encrypted devices and partitions that must be unlocked and mounted on system boot
30
/dev
A special file that contains details about all the files and subdirectories housed within it
31
What are the requirements to set up storage devices?
▪ Partition storage device ▪ Format partition with a file system ▪ Add formatted partition to fstab file
32
/dev/null
A special type of virtual device that discards anything you send or redirect into it
33
/dev/zero
● A special type of virtual device that returns a null character anytime you read from it ● dev/zero will send back the ASCII null character of 0x00
34
What is used to sanitize a drive?
/dev/zero
35
/dev/urandom
A special type of virtual device that returns a randomized series of pseudorandom numbers