I have 2 drives and would like to create one volume across both drives to avoid running out of disk space.
One drive was empty (sdb1), the other almost full (sdc1) (both drives have the same size). The drives are just used as data store, i.e. not the drive used for booting.
I used
pvcreate
vgcreate
lvcreate
mkfs -t xfs
to setup a volume group and set up the empty drive (sdc1) as a logical volume. I then mounted the new drive a moved all the data. This was successful. Following this I was able to successfully export the data from the new logical volume via NFS to the rest of my network.
I then removed the data from previously almost full drive (sdb1) and used
pvcreate
vgextend
lvextend
to get sdb1 added to the volume group. All appears fine (got “Logical volume lvol01 successfully resized” from lvextend) but I think I am missing something.
When I run df I still find that the drive is almost full, although the volume has now double in size.
What am I missing?
Thanks,
Robert