How To Resize Logical Volumes

I've been using my Ubuntu set up since March and downloading stuff from
the Internet. I have initially set my logical volumes like these:

/dev/mapper/ubuntu-vg/Music-lv 300GB 38% used
/dev/mapper/ubuntu-vg/Videos-lv 400GB 83% used

My Volume group is 2.05TB

I will be needing additional space for Videos-lv. I decided to take the
70% free space available from the RAID5 device. I opened the terminal
and typed:

#lvextend -l 70%PVS -r /dev/ubuntu-vg/Videos-lv /dev/md0
#lvresize -l 70%PVS -r /dev/ubuntu-vg/Videos-lv /dev/md0

The -r flag also resizes the underlying filesystem and not just the
logical volumes.
Post a Comment

Popular posts from this blog

GnuCash In Arch Linux

America Must Evolve Fast Or Die

Update for Spectre And Meltdown, A Script for Checking Your System