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 3 Question 101 Discussion

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

Adjust the size of the Logical Volume.

Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.

Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Jolene
4 months ago
Wait, can you really reduce the size that much without losing data?
upvoted 0 times
...
Shawnda
5 months ago
Seems straightforward, but I’d double-check those commands.
upvoted 0 times
...
Tatum
5 months ago
I thought the resize2fs command was only for EXT4?
upvoted 0 times
...
Bonita
5 months ago
Totally agree, but make sure to check the range!
upvoted 0 times
...
Hubert
5 months ago
Just a heads up, the file system size should be around 290M.
upvoted 0 times
...
Rolande
5 months ago
I’m pretty confident about using `lvscan` to check the logical volumes, but I’m not sure if I should use `e2fsck` before resizing.
upvoted 0 times
...
Carol
6 months ago
I feel like I need to double-check the commands for unmounting the filesystem before resizing. Did we cover that in the labs?
upvoted 0 times
...
Frederick
6 months ago
I think we did a similar question where we had to adjust a logical volume size, but I can't recall if we used `xfs_growfs` or just `resize2fs` for EXT4.
upvoted 0 times
...
Casandra
6 months ago
I remember practicing with `lvextend` and `resize2fs`, but I'm a bit unsure about the exact order of commands.
upvoted 0 times
...
Paola
6 months ago
Alright, this seems doable. I'll start by verifying the current size, then use the appropriate LVM commands to resize the volume. Gotta be careful not to go outside that 270-320M range they mentioned. Shouldn't be too tricky if I take it step-by-step.
upvoted 0 times
...
Wayne
6 months ago
Whoa, resizing an LVM, that's a new one for me. I better read the instructions carefully and make sure I don't accidentally delete any data. Maybe I'll start by checking the partition size and then go from there.
upvoted 0 times
...
Roosevelt
6 months ago
Okay, let me think this through step-by-step. First I'll use `df -hT` to see the current size, then use `lvextend` or `lvreduce` to adjust it, and finally run `resize2fs` to update the file system. Gotta make sure the content stays intact too.
upvoted 0 times
...
Rikki
6 months ago
Hmm, this looks like a straightforward LVM resizing task. I'll need to check the current size, then either extend or reduce the volume as needed to reach the 290M target.
upvoted 0 times
...
Tiffiny
12 months ago
Haha, 'the partition size is rarely accurate' - that's a nice way of saying 'good luck guessing the right size!'
upvoted 0 times
Junita
10 months ago
User 3: Subtraction: e2fsck -f/dev/vg0/vo, umount /home, resize2fs /dev/vg0/vo, lvreduce -l 100M /dev/vg0/vo, mount /dev/vg0/vo/home, df -hT
upvoted 0 times
...
Ethan
10 months ago
User 2: Addition: df -hT, lvextend -L +100M /dev/vg0/vo, xfs_growfs /home, resize2fs /dev/vg0/vo, df -hT
upvoted 0 times
...
Alita
10 months ago
User 1: I know right, it's like a guessing game!
upvoted 0 times
...
...
Rory
12 months ago
I'm not sure about the 'content of the system must be complete' part. Does that mean I need to back up the data first?
upvoted 0 times
Lanie
10 months ago
If you have any doubts or concerns, feel free to ask for clarification.
upvoted 0 times
...
Lamonica
11 months ago
Just make sure to follow the instructions carefully to ensure the process is successful.
upvoted 0 times
...
Kaitlyn
11 months ago
User 2
upvoted 0 times
...
Gwenn
11 months ago
You can follow the steps provided to adjust the size of the Logical Volume.
upvoted 0 times
...
Timothy
11 months ago
User 1
upvoted 0 times
...
Caprice
11 months ago
No, adjusting the size of the Logical Volume does not require backing up the data.
upvoted 0 times
...
...
Felicitas
12 months ago
This seems straightforward. I'll just need to expand the logical volume and resize the file system to get the desired size.
upvoted 0 times
...
Daniel
1 year ago
Should we use the lvextend command to increase the size?
upvoted 0 times
...
Cheryl
1 year ago
Yes, I agree. The file system size should be 290M.
upvoted 0 times
...
Daniel
1 year ago
I think we need to adjust the size of the Logical Volume.
upvoted 0 times
...

Save Cancel