| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: [Xen-users] Handling virtual disks on Xen
 
To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>Date: Mon, 7 Jul 2008 19:00:40 -0700Cc: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>,	xen-users@xxxxxxxxxxxxxxxxxxx, Javier Guerra Giraldez <javier@xxxxxxxxxxx>Delivery-date: Mon, 07 Jul 2008 19:01:16 -0700Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version	:content-type:references;	b=ouXZH24sj6go2Jup2uxE1OEXRwx8SPo6djYhOFoq2SPsh4KV+LGa6lRb4tgMyYlpuC	kN8QLfx/jyZESsTcT0vWP3T2PYWQ9bxqIhNDAeG96QtfDvmuze2vVaajMBwV6+zQFx1r	5ziiWsIBLm75nYBf1jSMUpOJeowIscfeVETT8=List-id: Xen user discussion <xen-users.lists.xensource.com> 
 
 
 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 partitionOn Mon, Jul 7, 2008 at 6:38 PM, James Harper <james.harper@xxxxxxxxxxxxxxxx > wrote: 
Please correct me if I'm wrong, but doesn't partprobe just ask Linux to> 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
 >
 
 
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.
 
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 
 |