Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 2 Question 39 Discussion

Part 2 (on Node2 Server)Task 4 [Managing Logical Volumes]Resize the logical volume, lvrz and reduce filesystem to 4600 MiB. Make sure the the filesystem contents remain intact with mount point /datarz(Note: partitions are seldom exactly the size requested, so anything within the range of 4200MiB to 4900MiB is acceptable)
A) Explanation: * [root@node2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vdb 252:16 0 5G 0 disk vdb1 252:17 0 4.2G 0 part vgrz-lvrz 253:2 0 4.1G 0 lvm /datarz vdc 252:32 0 5G 0 disk vdc1 252:33 0 4.4G 0 part datavg-datalv 253:3 0 3.9G 0 lvm /data vdd 252:48 0 5G 0 disk vde 252:64 0 10G 0 disk [root@node2 ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lvrz vgrz -wi-ao---- 4.10g [root@node2 ~]# vgs VG #PV #LV #SN Attr VSize VFree vgrz 1 1 0 wz--n- <4.15g 48.00m [root@node2 ~]# parted /dev/vdb print Number Start End Size Type File system Flags 1 1049kB 4456MB 4455MB primary lvm * [root@node2 ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/vgrz-lvrz ext4 4.0G 17M 3.8G 1% /datarz [root@node2 ~]# parted /dev/vdb mkpart primary 4456MiB 5100MiB [root@node2 ~]# parted /dev/vdb set 2 lvm on [root@node2 ~]# udevadm settle [root@node2 ~]# pvcreate /dev/vdb2 Physical volume '/dev/vdb2' successfully created. * [root@node2 ~]# vgextend vgrz /dev/vdb2 Volume group 'vgrz' successfully extended [root@node2 ~]# lvextend -r -L 4600M /dev/vgrz/lvrz Size of logical volume vgrz/lvrz changed from 4.10 GiB (1050 extents) to 4.49 GiB (1150 extents). Logical volume vgrz/lvrz successfully resized. [root@node2 ~]# resize2fs /dev/vgrz/lvrz [root@node2 ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/vgrz-lvrz ext4 4.4G 17M 4.2G 1% /datarz

RedHat EX200 Exam - Topic 2 Question 39 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 39
Topic #: 2
[All EX200 Questions]

Part 2 (on Node2 Server)

Task 4 [Managing Logical Volumes]

Resize the logical volume, lvrz and reduce filesystem to 4600 MiB. Make sure the the filesystem contents remain intact with mount point /datarz

(Note: partitions are seldom exactly the size requested, so anything within the range of 4200MiB to 4900MiB is acceptable)

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Rana
8 months ago
Agreed, always back up before resizing!
upvoted 0 times
...
Ceola
8 months ago
I thought resizing could mess things up, are you sure it’s safe?
upvoted 0 times
...
Devorah
9 months ago
Nice, that’s within the acceptable range!
upvoted 0 times
...
Denny
9 months ago
Wait, did you check if the filesystem is intact?
upvoted 0 times
...
Lucy
9 months ago
Just resized lvrz to 4600 MiB, looks good!
upvoted 0 times
...
Lera
9 months ago
I recall using `lvextend` and `resize2fs`, but I'm a bit confused about the order of operations. Do we need to resize the filesystem before or after the logical volume?
upvoted 0 times
...
Mariann
9 months ago
I feel like I need to double-check the range for the filesystem size. Was it 4200MiB to 4900MiB? I hope I remember that correctly.
upvoted 0 times
...
Aron
9 months ago
I think we did a similar question where we had to extend a logical volume. The steps might be somewhat similar, right?
upvoted 0 times
...
Carma
9 months ago
I remember we practiced resizing logical volumes, but I'm not entirely sure about the exact commands to use for reducing the filesystem size.
upvoted 0 times
...
Alysa
9 months ago
Whew, this is a lot to take in. But I think if I break it down step-by-step, I can work through this. First I'll need to calculate the CAPM and APT expected returns, then compare the factor exposures and risks. Shouldn't be too bad if I take it one piece at a time.
upvoted 0 times
...
Charlesetta
9 months ago
Hmm, I'm a bit unsure about this one. I know the data privacy diligence process is important for M&A deals, but I'm not totally clear on all the specific steps involved. I'll have to think this through carefully.
upvoted 0 times
...
Jerlene
9 months ago
Hmm, I'm not totally sure about this one. I know there are different types of routers, but I can't remember the specific name for the one used as a firewall.
upvoted 0 times
...
Brice
9 months ago
I'm a bit confused here. The question mentions Azure policies, but the answer choices don't seem to directly match that. I'll need to re-read the question and think about which Azure service would handle this kind of document protection.
upvoted 0 times
...

Save Cancel