[CentOS] Proper partition/LVM growth after RAID migration

Will McDonald wmcdonald at gmail.com
Wed Oct 18 14:35:00 UTC 2006


On 18/10/06, Jay Leafey <jay.leafey at mindless.com> wrote:
> William L. Maltby wrote:
>
> >
> > It used to be possible to get the partition table re-read with
> >
> >     sfdisk -R /dev/XXX
> >
> > Still can do?
> >
>
> Hmm, didn't try that.  I did do a "blockdev --rereadpt /dev/XXX", which purports to do the same thing, but that didn't work either.
>  Even though I had disabled the VG, something was still looking at it.

If I remember right (it's been a while), if your SCSI/HBA module (e.g.
qlaXXXX) isn't in use for any other devices rmmod then modprobe-ing it
will cause a re-read of the partition tables.

If you have multiple LUNs mounted via the same device I think there
are scripts you can use to re-probe available devices and their
partition tables.

Will.



More information about the CentOS mailing list