1.3 Configure and manage storage using appropriate tools Flashcards

1
Q

fdisk command

A

Used to create, modify, or delete partitions on a storage device.
-b{sector size} # of drive sectors
-H{heads} # of heads
-S{sectors} # of sectors per track
-s{partition} partition size in blocks

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

parted command

A

Used to create, destroy, and resize partitions and runs the GNU Parted utility.
-select
-mkpart
-print
resizepart

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

partprobe command

A

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

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

systemd.mount

A

Can be used to create a new mount unit to mount the file system.

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

/etc/fstab

A

A system config file that contains info about various file systems and how the system should mount them during boot.

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

mount

A

Loads a file system to a specified directory to make it accessible to users and applications.
-exec - allow binaries in file system to be executed
-ro mount fs as read only

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

Linux Unified Key Setup (LUKS)

A

Used to encrypt storage devices in a Linux and can standardize the format of encrypted devices.

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

XFS tools

A

xfs_info - dislay info about XFS
xfs_admin - change parameters about XFS
xfs_metadump - copy metadata of XFS to a file
xfs_growfs - expand the xfs to fill drive size
xfs_copy - copy contents of XFS to another file location
xfs_repair - repair and recover a corrupt XFS file system
xfs_db - debug XFS file system

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

Ext4 tools

A

tune2fs
dumpe2fs

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

Btrfs tools

A

I have no clue. lol

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

df command

A

Displays info about the file system disk space usage n the mounted file system.
-h{human-readable}
-a{all}
-i{inode}

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

du command

A

reports the amount of disk space used by the specified fields and for each subdirectory.
-c{total}
-a{all}
-b{bytes}
-D{deference-args}

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

pvs command

A

Displays info about physical volumes.

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

vgs command

A

Displays info about volume groups.

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

lvs command

A

Displays info about logical volumes.

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

lvchange command

A

Changes attributes of the volumes.

17
Q

lvcreate command

A

Creates logical volumes in a volume group.

18
Q

vgcreate command

A

Creates volume groups.

19
Q

lvresize command

A

Resizes logical volumes.

20
Q

pvcreate command

A

Initializes a drive or partition to use as a physical volume.

21
Q

vgextend command

A

Adds physical volumes to volume groups.

22
Q

mdadm tool

A

A tool used to create and manage software-based RAID arrays

23
Q

/proc/mdstat

A

Contains a snapshot of the kernel’s RAID/md state

24
Q

multipathd

A

Provides redundancy and improved performance for block storage. Configuration file: /etc/multipath.conf

25
Q

Network File system (NFS)

A

Used to provide access to directories stored on a server.

26
Q

SMB/CIFS

A

File sharing protocol

27
Q

lsscsi command

A

Used to list info about SCSI devices connected to a Linux system.

28
Q

lsblk command

A

Displays info about block storage devices currently available on the system.
-a{list empty devices}
-r{list devices excluding output devices}
-f{displays additional info}

29
Q

blkid command

A

Prints each block device in a flat format and includes some additional information.

30
Q

fcstat command

A

Interacts with and displays statistics of Fibre Channel connected devices.