Linux LVM reduction and expansion

Mushfig Mustafazade

New Member
Joined
Jun 3, 2023
Messages
2
Reaction score
0
Credits
20
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.

According to the question, which of the answers are the correct numbers and what is the difference between them. The file system used is ext4 or ext3,ext2.
  • lvreduce -L 200M -r /dev/vg/myvol
  • lvresize -L 200M -r /dev/vg/myvol
 


KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,164
Reaction score
8,727
Credits
84,175
Have you tried asking your teacher or other classmates?

Also, have you checked the man pages for the two? Even without knowing much, the man pages may just have the information to eliminate one of those two options.
 
OP
M

Mushfig Mustafazade

New Member
Joined
Jun 3, 2023
Messages
2
Reaction score
0
Credits
20

Members online

No members online now.

Top