Questions tagged [lvreduce]

6 questions
6
votes
2 answers

How to reduce LVM for root partition?

I am trying to reduce the space dedicated to root LVM since I don't really need it and I am having a few doubts. Below is the output for lvdisplay: # lvdisplay --- Logical volume --- LV Path /dev/pc_rperez_lvm/root LV Name …
ReynierPM
  • 843
  • 3
  • 12
  • 22
5
votes
1 answer

Shrink MDADM Raid 5 containing LVM

The plan: I've been growing a Raid5 array in a personal server for some years, and the time has come to move to something more suited to this application. I've accumulated 6x 8tb drives containing media, backups, etc. I bought a Synology 8 bay…
mythos
  • 73
  • 5
2
votes
1 answer

How to reduce ext4 rootlv on centos 6

Is there a way to perform a safe reduce in rootlv at rescue mode? Most of the internet's explanations tells, basically, that it can be done using the following steps sequence: vgchange; fsck; resize2fs; lvreduce; reboot I tried it a several times;…
1
vote
1 answer

Resize safely root LVM

I have a LV (Logical Volume) composed of 5 PVs (Physical Volumes). Each PV is large 100GB so the total is 500GB. The root partition is mounted on this LV and only 250GB are used. I must remove at least 2 PVs in order to shrink the partition to no…
Antonio Petricca
  • 635
  • 8
  • 21
1
vote
1 answer

How to resize logical volume in Red Hat Linux

Please guide that how to do following tasks with executing command. 1.Create a new physical volume, create a new volume group in the name of dataconresize, vg extent is 16.00MB. 2.Create a new logical volume in the name of datacopyresize with…
Eranda Peiris
  • 335
  • 2
  • 14
0
votes
1 answer

Lvreduce online on RHEL 6 or centos 6 with ext4 file systems

Is it possible to reduce a mounting lv safely at RHEL6/CentOS6 with ext4 file system? If it is, how can I do that?