Storage : Partition Flashcards

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
Q

fdisk -S

A

Specify number of sectors per track

18
Q

fdisk -l

A

List partition tables for devices

18
Q

fdisk -s

A

Print partition size in blocks

18
Q

What option creates a new partition on the fdisk menu?

A

n

18
Q

What option deletes a partition on the fdisk menu?

A

d

18
Q

What option list existing partitions on the fdisk menu?

A

p

19
Q

What option writes drive changes and exit utility on the fdisk menu?

A

w

20
Q

What option discards changes and exit utility on the fdisk menu?

A

q

20
Q

parted utility

A

Used to create, destroy, and resize partitions and runs the GNU Parted utility

21
Q

On the parted utility menu, what option creates partition with the file system type specified?

A

mkpart

22
Q

partprobe

A

Used to update the kernel with changes that now exist within the partition table

23
Q

mkfs

A

Used to build a Linux file system on a device, which is usually a drive partition

24
Q

mkfs - v

A

Produce verbose output that keeps changing as the program processes

25
Q

mkfs fs

A

Pass file system-specific options to the file system builder

26
Q

mkfs -c

A

Check the device for bad blocks before building the file system

27
Q

mkfs -l

A

Read the list of bad blocks from a specified file

28
Q

fstab

A

Stores information about storage devices and partitions and where and how they should be mounted

29
Q

/etc/crypttab File

A

Stores information about encrypted devices and partitions that must be unlocked and mounted on system boot

30
Q

/dev

A

A special file that contains details about all the files and subdirectories housed within it

31
Q

What are the requirements to set up storage devices?

A

▪ Partition storage device
▪ Format partition with a file system
▪ Add formatted partition to fstab file

32
Q

/dev/null

A

A special type of virtual device that discards anything you send or redirect into it

33
Q

/dev/zero

A

● 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
Q

What is used to sanitize a drive?

A

/dev/zero

35
Q

/dev/urandom

A

A special type of virtual device that returns a randomized series of pseudorandom numbers