What are the different priority levels of syslog messages? Correct Ans-0 - emerg (unusable
system)
1 - alert (immediate action required)
2 - crit (critical condition)
3 - err (non-critical error)
4 - warning
5 - notice (normal but significant event)
6 - info
7 - debug
How do you view all journal entries that were recorded today? Correct Ans-journalctl --since
today
How do you view all journal entries from the past hour? Correct Ans-journalctl --since "-1
hour"
How do you view all journal entries within a time period? Correct Ans-journalctl --since
"yyyy-mm-dd hh:mm:ss" --until "yyyy-mm-dd hh:mm:ss"
How do you view verbose output for journal entries? Correct Ans-journalctl -o verbose
,How do you view the last 10 log entries? Correct Ans-journalctl -n
How do you view the last 5 log entries? Correct Ans-journalctl -n 5
What is a physical device? Correct Ans-A storage device used to save data stored in a logical
volume. They can be partitions, whole disks, RAID arrays, or SAN disks.
What is a physical volume (PV)? Correct Ans-Physical devices must be initialized as physical
volumes before using it in an LVM system.
What is a volume group (VG)? Correct Ans-A storage pool that is made up of one or more
physical volumes.
What is a logical volume (LV)? Correct Ans-A "virtual drive" of sorts, created from the free
space in a Volume Group.
How do you how much free space a Volume Group has? Correct Ans-vgdisplay <volume
group>
How do you view information about a disk or filesystem? Correct Ans-df -h <directory>
, How do you activate the stratisd service? Correct Ans-systemctl enable --now stratisd
How do you create pools via stratis? Correct Ans-stratis pool create <pool name> <block
device mount points>
How do you view the list of available stratis pools? Correct Ans-stratis pool list
How do you add block devices to an existing stratis pool? Correct Ans-stratis pool add-data
<pool name> <block devices>
How do you view the block devices of a stratis pool? Correct Ans-stratis blockdev list <pool
name>
How do you make a snapshot of a stratis filesystem? Correct Ans-stratis filesystem snapshot
<pool name> <filesystem name> <snapshot name>
How do you list available stratis filesystems? Correct Ans-stratis filesystem list
What are logical devices created using VDO called? Correct Ans-VDO volumes
How do you create a VDO volume? Correct Ans-vdo create --name=vdo1 --device=<block
device> --vdoLogicalSize=<size>