Configure Local Storage & File Systems

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

what commands will create, remove, extend, reduce, rename and display?

*create, *remove, *extend, *reduce, *rename and *s

what file automatically mounts a file system at reboot?

/etc/fstab

what file show you the swap space filesystem?

/etc/fstab

what are the steps to make a new partition useable?

1. Format the disk: mkfs.xfs "disk path" 2. Create mounting point: mkdir "directory name" 3.Mount the disk: mount "disk" "mount point" 4. enable in /etc/fstab

what's the process to create pv, vg, and lv? persistenly mount.

1. fdisk -l : to view disks available for pv 2. pvcreate "name of disks" 3. vgcreate "name" "name of disks" 4. lvcreate -n "name" -L "size of lv" "name of vg" 5. make mount point 6. blkid, copy UUID & fill out fstab anatomy 7. mount -a

what do the 6 columns represent in /etc/fstab

1: path of fs 2. ID mount point 3. filesystem type 4. Defaults 5. dump utility (0-disable) 6. run e2fsck which check and repairs XFS (0-disable)

How do you rename an LV?

Lvrename 'vg name' 'old name' 'new name'

MBR vs GPT?

MBR can hold up to 4 primary partitions, and address up to 2TB of disk space. GPT can hold nearly unlimited partitions, and address up to as much space as your OS can.

what is the default filesystem type in RHEL 8?

XFS

what 3 lines do you need to add in /etc/samba/smb.conf a new share in samba?

browseable, path, & writeable

what command sets ACL permissions?

chmod

what command displays filesystem disk usage, size and space used?

df -h

what are the storage management tools?what is the difference?

parted & gdiskparted is compatible with MBR and GPT formats & gdisk is only compatible with GPT format

what command must you run after finishing up partitioning edits?

partprobe

what is a PE and LE?

physical volumes are made up of smaller pieces called physical extent. logical volumes are made up of smaller pieces called logical extent which is also a set of physical extents allocated to the logical volume.

what services do you have to turn on to export a file system using nfs?

rpcbind, rpc-statd, nfs-server, & nfs-idmapd

by permissions "." vs "+"

. = extended info on file most likely SELinux + = ACLS

what are the 6 columns of /etc/fstab?

Device identifier, mount point, filesystem, dump frequency and FS check order(1 root disk check).

how is pv, vg and lv related?

PV introduces block storage device or hard disk (lsblk) to LVM. VG is a container where the physical volumes are aggregated. LV is a logical partition

EXERCISE: Create & Mount EXT4, VFAT, & XFS File Systems in Partitions EXERCISE: Create & Mount XFS File System in VDO Volume EXERCISE: Create & Mount EXT4 & XFS File systems in LVM Volume EXERCISE: Resize EXT4 & XFS File Systems in LVM Volume EXERCISE: Create, Mount & Expand XFS File System in Stratis Volume EXERCISE: Create & Activate Swap in Partition & LV (exam tip: must add entries in FStab)

Use ACG

what is VDO?

VDO combines three techniques: zero-block elimination, de-duplication, and data compression to reduce data footprint.Zero-block elimination: deletes blocks that consists of zeros.Data depulication: deletes information that duplicated.Data compression: compresses data by compressing identical characters.

what is thin provisioning?

a method of optimizing the efficiency with which the available space is utilized in storage area networks

what is a NFS?

a way of mounting directories over a file system

what are ACLs?

access control lists allow more specific permissions to be added to files/directories

what is swap space?

an independent region on the hard drive for idle data until it's needed

what commands show you the uuid?

blkid and lsblk

how do you install stratis?

dnf install stratisd stratis-cli

how do you find the usage of a specific filesystem?

du -sh 'path'

what command makes changes on a MBR partition?

fdisk gdisk

what command displays memory and swap space utilization?

free -ht

what is stratis?

local storage solution that allows multiple file systems use the same pool of storage called stratis pool.

what is a file system?

logical container that stores and segments files and directories.

what command lists disks and partitions w. info?

lsblk

what commands list and give UUID?

lsblk & blkid

how do you resize a lv?

lvextend -L+"size" "path of lvm" -r xfs_growfs "mount point"

Create an NFS directories

make directory, set permission, add it to /etc/exports, start services, run exportfs -a and verify by showmount -e localhost

what command implements new /etc/fstab entries?

mount -a

how do you show the filesystems mounted on your system?

mount -t 'filesystem type'

what is samba (SMB)?

server message block; used to share access to files, printers and other resources.

what commands allow you to view and set ACLs?

setfacl and getfacl.

how do you install nfs, samba and cifs?

yum install nfs-utils yum install samba-utils yum install cif-utils


Ensembles d'études connexes

chapter 8 fundamentals of nursing practice questions

View Set

Chapter 4: Life Insurance Policy Provisions, Options, and Riders

View Set

November 17th RE 415 Quiz (15,16,17)

View Set

Pilgrims Progress Dangerous Journey Vocab

View Set