4-1 [Create and Configure File Systems] Create, Mount, Unmount and Use VFAT, EXT4 and XFS File Systems Flashcards

1
Q

mkfs.ext /dev/xvdf1

A

Create VFAT file system at location

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

mount /dev/xvdf1 /mnt/location

A

Mount file system

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

fsck.vfat /dev/xvdf1

A

Check for file system consistency on vfat (ext)

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

mkfs.ext4 /dev/xvdf1

A

Create EXT4 file system on device

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

mount /dev/xvdf1 /mnt/location

A

Mount the file system at location

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

fsck /dev/xvdf1

A

Check for file system consistency on ext4

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

dumpe2fs /dev/xvdf1

A

Get details of file system on ext4, including UUID

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

tune2fs -L labelname /dev/xvdf1

A

Label the device on ext4

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

mkfs.xfs /dev/xvdf1

A

Create XFS file system on device

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

mount /dev/xvdf1 /mnt/location

A

Mount file system at location

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

XFS file system must be unmounted

xfs_repair /dev/xvdf1

A

Check for file system consistency for xfs

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

xfs_info /dev/xvdf1

A

Get details of file system for xfs

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

xfs_admin -L labelname /dev/xdf1

A

Label the device for xfs

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

VFAT

A

Extension of FAT file system, allowing log file names; often used in SAMBA shares or
when sharing files between Linux and Windows computers

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

EXT4

A

Common among Linux systems; journaling-based file system that can support up to 16TBs on Red Hat and up to 50TB in file system size

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

XFS

A

Known for parallel processing and high I/O throughput; journaled file system that supports up to 500TB file size on Red Hat 7 with 500TB in file system size

17
Q

in /etc/fstab

/dev/xvda /mnt/newdirvfat vfat defaults 1 2

/dev/xvda /mnt/newdirext4 ext4 defaults 1 2

/dev/xvda /mnt/newdirxfs xfs defaults 1 2

A

mount a file system persistently, with dump field 1 and fsck flag as 2

one for vfat
one for ext4
one for xfs

18
Q

Can fsck run on mounted?

A

Must be unmounted for fsck to run on

19
Q

Which file systems is fsck used for?

A

vfat and ext4