[linux-lvm] N00b Question: Logical Volume without a Logical Volume Group ?
James Hawtin
oolon at ankh.org
Wed Nov 2 16:39:11 UTC 2011
Dan White wrote:
>
> I just experienced that.
>
> I had to reboot the machine to "see" the expanded LUN.
> I used fdisk to make a partition out of the LUN expansion, but I had to reboot again before I could do anything further.
> After the second reboot, I was able to make a PV out of the new partition, roll it into the existing VG and then expand the two test LV's I had previously created to utilize the new elbow room.
>
> This is on a RHEL 5.7 system.
>
> Is there a way to do this without the rebooting ?
>
>
Assuming the device is sda then
|echo 1 > /sys/block/sda/device/rescan|
However if that fails (and it can) only a reboot or removing the disk
driver module and reinstalling it will scan it correctly (possible if
you have a mix of local and san disk) however probably a reboot is easiler.
James
More information about the linux-lvm
mailing list