New Year Sale 2026! 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 5 Question 104 Discussion

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

Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.

Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Viva
3 months ago
I thought you could just grow the filesystem without unmounting!
upvoted 0 times
...
Johnna
3 months ago
290 MB? That seems oddly specific, is that really necessary?
upvoted 0 times
...
Cecily
3 months ago
Yeah, unmounting is a must for safety!
upvoted 0 times
...
Billye
4 months ago
Wait, do you really need to unmount first?
upvoted 0 times
...
Devon
4 months ago
Just use lvextend and resize2fs, super straightforward!
upvoted 0 times
...
Madelyn
4 months ago
I think the acceptable range is important, but I’m worried I might miscalculate the size when using `lvreduce`.
upvoted 0 times
...
Alline
4 months ago
I feel like I’ve seen a question similar to this where we had to check the filesystem first with `e2fsck`. Should we do that here too?
upvoted 0 times
...
Ashton
4 months ago
I remember practicing with `resize2fs`, but I’m confused about whether I should run it before or after `lvreduce`.
upvoted 0 times
...
Denna
5 months ago
I think we need to use `lvreduce` to shrink the logical volume, but I'm not entirely sure about the exact syntax.
upvoted 0 times
...
Lorrine
5 months ago
This looks like a classic LVM resizing question. I'd start by checking the current size with `df`, then use `lvextend` to increase the volume size. After that, I'd run `resize2fs` to expand the filesystem to match. Should be able to get this done pretty quickly.
upvoted 0 times
...
Leigha
5 months ago
Okay, I think I've got a plan here. First I'll use `e2fsck` to check the filesystem, then `umount` the volume, `resize2fs` to resize the filesystem, and finally `lvreduce` to shrink the logical volume. Gotta make sure the contents stay intact though, that's the tricky part.
upvoted 0 times
...
Vilma
5 months ago
Hmm, this one's got me a little stumped. I know I need to resize the logical volume and filesystem, but I'm not sure of the exact commands to use. I'll have to review my notes on LVM management before attempting this.
upvoted 0 times
...
Long
5 months ago
I think I've got a good handle on this. I'd start by checking the current size of the logical volume and filesystem using `df -hT`. Then I'd use `lvextend` to increase the size of the logical volume by 100 MB, and `xfs_growfs` to expand the filesystem to match. Should be pretty straightforward.
upvoted 0 times
...
Rupert
1 year ago
I bet the exam writer had a good laugh coming up with this one. 'Resize the volume, but don't mess up the filesystem!' Classic.
upvoted 0 times
My
1 year ago
Definitely. It's all about being precise and cautious with each command.
upvoted 0 times
...
Ivette
1 year ago
I think following those steps carefully will help us get it right.
upvoted 0 times
...
Eve
1 year ago
Yeah, it's all about making sure we don't lose any data while resizing.
upvoted 0 times
...
Valentine
1 year ago
A) Explanation:
upvoted 0 times
...
Rebbeca
1 year ago
I know, right? It's like a tricky puzzle they want us to solve.
upvoted 0 times
...
Pamella
1 year ago
A) Explanation:
upvoted 0 times
...
...
Zona
1 year ago
Don't forget to use resize2fs or e2fsck to update the partition capacity. It's important for the exam.
upvoted 0 times
...
Charlette
1 year ago
Hmm, the note about the size range is a nice touch. Gotta love those tricky exam questions that make you think on your feet.
upvoted 0 times
Rene
1 year ago
User 4: The size range note definitely adds an extra challenge.
upvoted 0 times
...
Nadine
1 year ago
User 3: Just gotta stay calm and work through it step by step.
upvoted 0 times
...
Marge
1 year ago
User 2: I know, it's like a puzzle you have to solve.
upvoted 0 times
...
Anika
1 year ago
User 1: Yeah, those exam questions always keep you on your toes.
upvoted 0 times
...
...
Denna
1 year ago
Wait, did they just tell us to run a command in a practice environment but not the real exam? I smell a trick question!
upvoted 0 times
Darrin
1 year ago
It's just a precautionary step for the practice environment, the real exam will be straightforward.
upvoted 0 times
...
Teddy
1 year ago
Don't worry, in the real exam you just need to use the resize2fs command to update.
upvoted 0 times
...
Antonio
1 year ago
Yes, they mentioned that the step is only needed in the practice environment.
upvoted 0 times
...
...
Frank
1 year ago
Yes, we can use lvextend and xfs_growfs to achieve that while keeping the filesystem contents intact.
upvoted 0 times
...
Alease
1 year ago
Wow, this question is a real brain-teaser! I'm going to need to scratch my head and think this one through carefully.
upvoted 0 times
Denny
1 year ago
Finally, we'll need to resize the filesystem with resize2fs to ensure the contents remain intact.
upvoted 0 times
...
Mabel
1 year ago
Let's start by checking the current disk space with df -hT.
upvoted 0 times
...
Jaime
1 year ago
After that, we can use lvextend to increase the size of the logical volume.
upvoted 0 times
...
Therese
1 year ago
It does look like a tricky question, but we can figure it out together.
upvoted 0 times
...
...
Nieves
1 year ago
I think we need to resize the logical volume vo to 290 MB.
upvoted 0 times
...

Save Cancel