You've expanded your disk so now you need to expand the partition, LVM
(and its sub parts), and the file system.
1. parted (I recommend gparted live) to expand the partition
2. pvresize to resize the LVM pv
3. vgextend to resize the LVMvg
4. lvresize to resize the LVM lv
5. fsadm to resize the file system
(Run pvs, vgs, lvs, fdisk -l, and parted --list to collect an inventory
of current setup prior to making any changes)
I don't know the specifics of your LVM names and partition table, but
here's an example using sda partition 2, with a VG named VolGroup, and
LV named lv_root :
parted /dev/sda
print
resize 2 1024 838860800
pvresize /dev/sda2
vgextend /dev/VolGroup /dev/sda2
lvresize /dev/mapper/VolGroup-lv_root --size 800G
fsadm resize /dev/VolGroup/lv_root
Good luck,
--Blake
Sid Young wrote on 3/22/2017 5:55 PM:
sorry thats a "pvresize".... typo on my part :(
Sid Young
http://z900collector.wordpress.com/restoration/
http://sidyoung.com/
My Latest Book is available:
http://www.amazon.com/Rebuild-Japanese-Motorcycles-Motorbooks-Workshop/dp/0760347972
On Thu, Mar 23, 2017 at 8:54 AM, Sid Young <[email protected]
<mailto:[email protected]>> wrote:
The file system is what the OS sees, so adding more disk does not
automatically increase the filesystem. If its a native ext4 linux
partition then you should be able to do a resizefs, if its a PV in
an LVM group then you will need to do a pzresize. Do lots of
research and backup all the data first as any errors and you could
loose the lot.
Sid
Sid Young
http://z900collector.wordpress.com/restoration/
<http://z900collector.wordpress.com/restoration/>
http://sidyoung.com/
My Latest Book is available:
http://www.amazon.com/Rebuild-Japanese-Motorcycles-Motorbooks-Workshop/dp/0760347972
<http://www.amazon.com/Rebuild-Japanese-Motorcycles-Motorbooks-Workshop/dp/0760347972>
On Thu, Mar 23, 2017 at 7:46 AM, Jeff Boyce
<[email protected] <mailto:[email protected]>> wrote:
Greetings -
I just added a new hard drive to a PE T610 running RAID
5. In OMSA
I selected the new drive and added it to the existing virtual
disk, then
executed a reconfiguration. After about 3 hours this successfully
completed showing the new virtual disk as 836.62 GB.
My system is running CentOS 6 as the host KVM system,
with a few
other CentOS 6 and 7 guests. In the host system I still only
see the
previous virtual disk size of about 557 GB.
Specifically:
fdisk -l /dev/sda = 598.9 GB
Gparted shows /dev/sda = 557.75 GB
vgdisplay = 557.26 GB
pvdisplay = 557.26 GB
What special incantation do I need to do now to make the
space
available to the OS.
I haven't done this since I last added a disk to my old
PE2600
about 6-8 years ago and I can't seem to find my notes, and am
apparently
not using the right terms in Google to get me the answer I am
looking
for. Thanks for any assistance.
Jeff
--
Jeff Boyce
Meridian Environmental
_______________________________________________
Linux-PowerEdge mailing list
[email protected] <mailto:[email protected]>
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
<https://lists.us.dell.com/mailman/listinfo/linux-poweredge>
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge