|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Handling virtual disks on Xen
On Mon, Jul 7, 2008 at 6:38 PM, James Harper < james.harper@xxxxxxxxxxxxxxxx> wrote:
> On Monday 07 July 2008, James Harper wrote:
> > Even if it did, can Linux handle it anyway? I added a disk to a RAID
> > array recently and while I could use fdisk to add a new partition, I
had
> > to reboot before Linux could use it.
>
> partprobe
>
Please correct me if I'm wrong, but doesn't partprobe just ask Linux to
re-read the partition table? This is exactly what fdisk does, but it
fails if the disk is already in use, which is the case we are discussing
here.
I'm not entirely sure what partprobe does but I know you can get rid of 99% of the times that you would have to reboot after editing the partition table by using it. Very rarely will partprobe not update the partition table list in the kernel. It's been a godsend. On the other hand you can go
back in and edit a disk with fdisk after already previously editing it but you won't be able to format the partitions without using partprobe or rebooting.
Grant
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|