[nzlug] Any way to make the kernel reread disk sizes?

Clark Mills c.mills at auckland.ac.nz
Mon Oct 16 18:19:36 NZDT 2006


Try:

	partprobe

if your O/S has it.

Cheers... Clark

Raimund Eimann wrote:
> Hi,
> 
> I've got a disk array driven by the cpqarray kernel module (essentially a 
> standard RAID array with a bunch of SCA disks attached). I've extended the 
> array by another disk.
> 
> Usually after a reboot, fdisk shows the correct size for the logical drive. 
> However, I don't want to reboot the box again, otherwise my users may 
> strangle me...
> 
> Without a reboot fdisk still shows the old size of the logical drive (which 
> was valid before the extra disk was put in). Is there any way of getting the 
> kernel to reread the disk size of that disk manually and without the need to 
> reboot?
> 
> Cheers,
> Raimund
> 
> 
> Today's wisdom:
> Oops.  My brain just hit a bad sector.




More information about the NZLUG mailing list