[CentOS] Rescan harddisk size without rebooting

Aleksandar Milivojevic alex at milivojevic.org
Sun Nov 13 04:31:31 UTC 2005

kadafax wrote:

> Quite there: the new size is reflected...but the disks (I've got two 
> virtual disks from the SAN, who are seen like scsi disk by the system) 
> are now described as /dev/sdd and /dev/sde (initialy /dev/sdb and sdc) 
> (below output from a "fdisk -l", the disc which grew is initialy sdb). 
> And a "pvdisplay" do not see any new physical extents available (perhaps 
> I'm missing something on this, I'm totally new from this and way long to 
> be totally cool with it):

You need to resize physical volume manually.  Either pvresize command, 
or if you get the message it is not implemented yet, use "dirty tricks" ;-)

More information about the CentOS mailing list