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.
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
37 comments · newest first
VI
Viva
11 months ago
I thought you could just grow the filesystem without unmounting!
JO
Johnna
12 months ago
290 MB? That seems oddly specific, is that really necessary?
CE
Cecily
12 months ago
Yeah, unmounting is a must for safety!
BI
Billye
1 year ago
Wait, do you really need to unmount first?
DE
Devon
1 year ago
Just use lvextend and resize2fs, super straightforward!
MA
Madelyn
1 year ago
I think the acceptable range is important, but I’m worried I might miscalculate the size when using `lvreduce`.
AL
Alline
1 year 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?
AS
Ashton
1 year ago
I remember practicing with `resize2fs`, but I’m confused about whether I should run it before or after `lvreduce`.
DE
Denna
1 year ago
I think we need to use `lvreduce` to shrink the logical volume, but I'm not entirely sure about the exact syntax.
LO
Lorrine
1 year 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.
LE
Leigha
1 year 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.
VI
Vilma
1 year 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.
LO
Long
1 year 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.
RU
Rupert
2 years 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.
MY
My
2 years ago
Definitely. It's all about being precise and cautious with each command.
IV
Ivette
2 years ago
I think following those steps carefully will help us get it right.
EV
Eve
2 years ago
Yeah, it's all about making sure we don't lose any data while resizing.
VA
Valentine
2 years ago
A) Explanation:
RE
Rebbeca
2 years ago
I know, right? It's like a tricky puzzle they want us to solve.
PA
Pamella
2 years ago
A) Explanation:
ZO
Zona
2 years ago
Don't forget to use resize2fs or e2fsck to update the partition capacity. It's important for the exam.
CH
Charlette
2 years 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.
RE
Rene
2 years ago
User 4: The size range note definitely adds an extra challenge.
NA
Nadine
2 years ago
User 3: Just gotta stay calm and work through it step by step.
MA
Marge
2 years ago
User 2: I know, it's like a puzzle you have to solve.
AN
Anika
2 years ago
User 1: Yeah, those exam questions always keep you on your toes.
DE
Denna
2 years 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!
DA
Darrin
2 years ago
It's just a precautionary step for the practice environment, the real exam will be straightforward.
TE
Teddy
2 years ago
Don't worry, in the real exam you just need to use the resize2fs command to update.
AN
Antonio
2 years ago
Yes, they mentioned that the step is only needed in the practice environment.
FR
Frank
2 years ago
Yes, we can use lvextend and xfs_growfs to achieve that while keeping the filesystem contents intact.
AL
Alease
2 years ago
Wow, this question is a real brain-teaser! I'm going to need to scratch my head and think this one through carefully.
DE
Denny
2 years ago
Finally, we'll need to resize the filesystem with resize2fs to ensure the contents remain intact.
MA
Mabel
2 years ago
Let's start by checking the current disk space with df -hT.
JA
Jaime
2 years ago
After that, we can use lvextend to increase the size of the logical volume.
TH
Therese
2 years ago
It does look like a tricky question, but we can figure it out together.
NI
Nieves
2 years ago
I think we need to resize the logical volume vo to 290 MB.