How to increase Logical Volume Size in Linux?

0 votes

Hi Guys,

I have one Logical Volume in my Linux system. Now I want to increase the size of this volume. How can I do that?

Jul 8 in Linux Administration by akhtar
• 18,250 points
35 views

1 answer to this question.

0 votes

Hi@akhtar,

To increase the Logical Volume Size, the Linux system has one command named lvextend. This command helps to increase the size of the volume according to our needs. You can go through the below-given example.

[root@localhost ~]# lvextend --size +5G /dev/myvg/mylv
  Size of logical volume myvg/mylv changed from 50.00 GiB (12800 extents) to 55.00 GiB (14080 extents).
  Logical volume myvg/mylv successfully resized.
[root@localhost ~]# lvdisplay myvg/mylv
  --- Logical volume ---
  LV Path                /dev/myvg/mylv
  LV Name                mylv
  VG Name                myvg
  LV UUID                yEPJZN-5Ucq-sL2u-VEKU-Nlpt-iTMh-HrH2uf
  LV Write Access        read/write
  LV Creation host, time localhost.localdomain, 2020-07-08 14:08:36 -0400
  LV Status              available
  # open                 0
  LV Size                55.00 GiB
  Current LE             14080
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:3

I hope this will help you.

answered Jul 9 by MD
• 42,420 points

Related Questions In Linux Administration

0 votes
1 answer

How to increase Swap Memory in CentOS 7?

Follow the below steps and procedures: Prerequisites Must have ...READ MORE

answered Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
4,608 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,020 points
314 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,020 points
145 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

answered May 19, 2019 in Linux Administration by Rishi
1,159 views
0 votes
1 answer

How to create Volume Group in Linux?

Hi@akhtar, To create a Volume Group, you need ...READ MORE

answered Jul 8 in Linux Administration by MD
• 42,420 points
25 views
0 votes
1 answer
0 votes
1 answer

How to create Physical Volume in Linux?

Hi@akhtar, To create Physical volume in the Linux ...READ MORE

answered Jul 8 in Linux Administration by MD
• 42,420 points
23 views
0 votes
1 answer

Volume group "mylv" not found Cannot process volume group mylv

Hi@akhtar, You got this error because your command ...READ MORE

answered Jul 8 in Linux Administration by MD
• 42,420 points
80 views
0 votes
1 answer

How to create Logical Volume from Volume Group in Linux?

Hi@akhtar, You can use lvcreate command to create ...READ MORE

answered Jul 8 in Linux Administration by MD
• 42,420 points
32 views
0 votes
1 answer

How to format Logical Volume in Linux?

Hi@akhtar, In Linux, you can find lots of ...READ MORE

answered Jul 9 in Linux Administration by MD
• 42,420 points
31 views