RE: Expanding an LVM
"Dermot Paikkos" <[email protected]> Tue, 19 Aug 2008 11:46:24 +0100
| Newsgroups | org.kernel.vger.linux-admin |
|---|---|
| Message-ID | <L07B328FD0A9D4bbfAFDAEDDD109FD3AB.1219142775.earth.sciencephoto.co.uk@MHS> |
Hi, > -----Original Message----- > From: urgrue [mailto:[email protected]] > Sent: 19 August 2008 11:27 > > Correct. You dont expand the PV, you make a new partition with fdisk in > the new space and then create a pv on it, add it to the vg with > vgextend, and the lvextend and then ext2online/resize2fs/whatever to > expand the fs. > > Right now I am considering deleting the RAID container completely and > > re-creating and restoring rather than waste any more time but before > > I do I'd like to hear it if sounds like the procedure is bound to > > fail. > > > > At the moment I think the best I can hope for is that the volume will > > be fine but the extra disk-space will never be seen? > > > > if you dont see the new space in fdisk, you might have to reboot, or do > echo "- - -" > /sys/class/scsi_host/hostXXX/scan. Do you mean the new space on the expanded RAID logical drive or a completely new RAID container? Thanx, Dp.