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 8 Question 105 Discussion

There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.Requirement:Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
A) Explanation: cd;umount /shrink e2fsck -f /dev/mapper/vgsrv-shrink resize2fs /dev/mapper/vgsrv-shrink 220M lvreduce -L 220M /dev/mapper/vgsrv-shrink mount -a

RedHat EX200 Exam - Topic 8 Question 105 Discussion

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

There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.

Requirement:

Reduce the logical volume to 220 MB without any loss of dat

a. The size is allowed between 200-260 MB after reducing.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Willodean
8 months ago
I think you should check the filesystem type before resizing.
upvoted 0 times
...
Lezlie
9 months ago
The size range is 200-260 MB, so 220 MB is perfect!
upvoted 0 times
...
Juan
9 months ago
Wait, can you really reduce it without losing data? Sounds risky!
upvoted 0 times
...
Coral
9 months ago
This method looks solid, I’ve done it before.
upvoted 0 times
...
German
9 months ago
Just a heads up, make sure to back up your data first!
upvoted 0 times
...
Rikki
9 months ago
I definitely recall needing to run `e2fsck` before resizing, but I can't remember if I should run it on the mounted or unmounted filesystem.
upvoted 0 times
...
Meaghan
10 months ago
I'm a bit confused about the size limits. The question says between 200-260 MB, but I thought we could only reduce it to exactly 220 MB.
upvoted 0 times
...
Vesta
10 months ago
I practiced a similar question where we had to reduce a logical volume, and I remember using `resize2fs` before `lvreduce`. I hope that's the right order here too!
upvoted 0 times
...
Erick
10 months ago
I think I remember that I need to unmount the logical volume first, but I'm not entirely sure if I need to check the filesystem before resizing.
upvoted 0 times
...
Lynna
10 months ago
No problem, I've done this kind of thing before. I'll just follow the steps in the explanation and double-check the final size to make sure it's within the required range.
upvoted 0 times
...
Phyliss
10 months ago
Wait, I'm a little confused. Do I need to do anything special to ensure the volume stays within the 200-260 MB range after resizing?
upvoted 0 times
...
Belen
10 months ago
Alright, I've got this. The key is to use the resize2fs command to shrink the file system, and then use lvreduce to reduce the logical volume size.
upvoted 0 times
...
Sue
10 months ago
Okay, let me think this through step-by-step. First, I'll need to unmount the volume, then check the file system before resizing it.
upvoted 0 times
...
Ernestine
10 months ago
Hmm, this looks like a tricky one. I'll need to carefully follow the steps to resize the logical volume without losing any data.
upvoted 0 times
...
Wendell
1 year ago
I wonder if they have a 'Reduce Volume, Increase Headache' option on the exam. That's the one I'd probably end up choosing.
upvoted 0 times
...
Daren
1 year ago
This is easy peasy, lemon squeezy! Just follow the instructions and you'll be golden.
upvoted 0 times
...
Kandis
1 year ago
I'm glad the question specifies 'without any loss of data' - that's always a relief when dealing with storage operations.
upvoted 0 times
Johanna
1 year ago
User 3: e2fsck -f /dev/mapper/vgsrv-shrink
upvoted 0 times
...
Shantay
1 year ago
User 2: cd;umount /shrink
upvoted 0 times
...
Frank
1 year ago
User 1: I'm glad the question specifies 'without any loss of data' - that's always a relief when dealing with storage operations.
upvoted 0 times
...
...
Darrel
1 year ago
Hmm, I wonder if there's a way to do this without unmounting the volume? That could be handy in a production environment.
upvoted 0 times
Tandra
1 year ago
User 3: It's a necessary step to ensure data integrity.
upvoted 0 times
...
Judy
1 year ago
User 2: No, you have to unmount it before reducing the size.
upvoted 0 times
...
Tora
1 year ago
User 1: Is it possible to reduce the logical volume without unmounting it?
upvoted 0 times
...
...
Eun
1 year ago
This looks like a straightforward logical volume resizing task. I think the given steps should work just fine.
upvoted 0 times
Lelia
1 year ago
User4: The size should be between 200-260 MB after reducing.
upvoted 0 times
...
Lemuel
1 year ago
User3: After resizing, we need to remount the logical volume.
upvoted 0 times
...
Fanny
1 year ago
User2: Yes, we should run e2fsck to check the filesystem before resizing.
upvoted 0 times
...
Hana
1 year ago
User1: I think we need to unmount the logical volume first.
upvoted 0 times
...
...
Marshall
1 year ago
The provided steps for reducing the logical volume size seem straightforward and should help us achieve the desired size of 220 MB.
upvoted 0 times
...
Kristofer
1 year ago
I agree, but we need to make sure we follow the correct steps to avoid any data loss.
upvoted 0 times
...
Mari
1 year ago
I think reducing the logical volume size is important for system optimization.
upvoted 0 times
...

Save Cancel