[CentOS] [SOLVED] Rescan harddisk size without rebooting - LVM ext3-fs

Aleksandar Milivojevic alex at milivojevic.org
Tue Nov 15 16:24:38 UTC 2005

Quoting kadafax <kadafax at gmail.com>:

> Note: I haven't done this with mounted volume. However it's seem 
> possible to do so but I won't risk it for now.
>         After a reboot, activating the volume group with "vgchange -a 
> y VG-name" may be necessary.

You might not be able to rmmod HBA driver with mounted volume.

> Now some fun with the 'pvresize' command:
> ---
> [root at X ~]# pvresize
>  Command not implemented yet.

Yes, that's what I mentioned.  I also said there is a workaround.  Basically,
you would do vgcfgbackup, then very carefully manually edit the resulting file
(if you screw it, your data is gone bye bye to lala land), and than do
vgcfgrestore. See this article from Linux LVM mailing list:


This message was sent using IMP, the Internet Messaging Program.

More information about the CentOS mailing list