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 Exam EX294 Topic 10 Question 41 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 41
Topic #: 10
[All EX294 Questions]

In /home/sandy/ansible/ create a playbook called logvol.yml. In the play create a logical volume called Iv0 and make it of size 1500MiB on volume group vgO If there is not enough space in the volume group print a message "Not enough space for logical volume" and then make a 800MiB Iv0 instead. If the volume group still doesn't exist, create a message "Volume group doesn't exist" Create an xfs filesystem on all Iv0 logical volumes. Don't mount the logical volume.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Louann
22 days ago
I appreciate the attention to detail in this playbook, but I can't help but wonder if the developers have ever heard of the concept of 'disk space'.
upvoted 0 times
...
Lindsay
25 days ago
This playbook seems pretty comprehensive, but I'm curious about the choice of xfs as the filesystem. Is that the best option, or should we consider other file systems?
upvoted 0 times
...
Reta
1 months ago
Haha, I bet the person who wrote this playbook has had some interesting experiences with volume group management. 'Volume group doesn't exist' is a classic IT error message.
upvoted 0 times
Tran
9 days ago
I've seen that error message before, it can be frustrating.
upvoted 0 times
...
Jaclyn
18 days ago
Yeah, it's definitely a common issue in IT.
upvoted 0 times
...
Gaynell
1 months ago
I know right, volume group management can be tricky sometimes.
upvoted 0 times
...
...
Timothy
2 months ago
I like how the playbook handles the different scenarios, but I wonder if it's necessary to create the filesystem if the logical volume size is reduced due to lack of space.
upvoted 0 times
Mary
26 days ago
User2: I agree, even if the logical volume size is reduced, having the filesystem in place is still beneficial.
upvoted 0 times
...
Truman
27 days ago
User1: It's important to create the filesystem to ensure consistency.
upvoted 0 times
...
...
Francine
2 months ago
I believe the solution provided with creating a logical volume and handling space constraints is helpful.
upvoted 0 times
...
Kirk
2 months ago
The playbook looks good, but I'm not sure about the conditional logic. What happens if the volume group doesn't exist and there's not enough space in the first place?
upvoted 0 times
...
Lashandra
2 months ago
I agree, it's a practical scenario that tests our knowledge.
upvoted 0 times
...
Francine
2 months ago
I think the question about creating a playbook in Ansible is interesting.
upvoted 0 times
...

Save Cancel