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

Posted by Lorenza on Dec 08, 2024 at 08:58 AM

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.

Suggested Answer: A

Get Premium EX200 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
WI
Willodean 10 months ago
I think you should check the filesystem type before resizing.
LE
Lezlie 11 months ago
The size range is 200-260 MB, so 220 MB is perfect!
JU
Juan 11 months ago
Wait, can you really reduce it without losing data? Sounds risky!
CO
Coral 11 months ago
This method looks solid, I’ve done it before.
GE
German 11 months ago
Just a heads up, make sure to back up your data first!
RI
Rikki 12 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.
ME
Meaghan 12 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.
VE
Vesta 12 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!
ER
Erick 1 year 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.
LY
Lynna 1 year 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.
PH
Phyliss 1 year 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?
BE
Belen 1 year 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.
SU
Sue 1 year 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.
ER
Ernestine 1 year 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.
WE
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.
DA
Daren 1 year ago
This is easy peasy, lemon squeezy! Just follow the instructions and you'll be golden.
KA
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.
JO
Johanna 1 year ago
↳ replying to Kandis
User 3: e2fsck -f /dev/mapper/vgsrv-shrink
SH
Shantay 1 year ago
↳ replying to Kandis
User 2: cd;umount /shrink
FR
Frank 1 year ago
↳ replying to Kandis
User 1: I'm glad the question specifies 'without any loss of data' - that's always a relief when dealing with storage operations.
DA
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.
TA
Tandra 1 year ago
↳ replying to Darrel
User 3: It's a necessary step to ensure data integrity.
JU
Judy 1 year ago
↳ replying to Darrel
User 2: No, you have to unmount it before reducing the size.
TO
Tora 1 year ago
↳ replying to Darrel
User 1: Is it possible to reduce the logical volume without unmounting it?
EU
Eun 1 year ago
This looks like a straightforward logical volume resizing task. I think the given steps should work just fine.
LE
Lelia 1 year ago
↳ replying to Eun
User4: The size should be between 200-260 MB after reducing.
LE
Lemuel 1 year ago
↳ replying to Eun
User3: After resizing, we need to remount the logical volume.
FA
Fanny 1 year ago
↳ replying to Eun
User2: Yes, we should run e2fsck to check the filesystem before resizing.
HA
Hana 1 year ago
↳ replying to Eun
User1: I think we need to unmount the logical volume first.
MA
Marshall 2 years ago
The provided steps for reducing the logical volume size seem straightforward and should help us achieve the desired size of 220 MB.
KR
Kristofer 2 years ago
I agree, but we need to make sure we follow the correct steps to avoid any data loss.
MA
Mari 2 years ago
I think reducing the logical volume size is important for system optimization.
0/2000 characters

Save Cancel