This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Handling virtual disks on Xen

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Handling virtual disks on Xen
From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
Date: Mon, 7 Jul 2008 19:00:40 -0700
Cc: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Javier Guerra Giraldez <javier@xxxxxxxxxxx>
Delivery-date: Mon, 07 Jul 2008 19:01:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=/0bvWcdg3b2b5eJw9X09ADsN8PUo90dizNNCqv23ycc=; b=s0C0OnZ1/t0nCumpFut1yX7jeb/lcv5Z3AJvRjJyRXi+27WXIfUbUAE9s6UXwn84+S weam/7CxOgDmNkDiR9VUtZ94JZlKs9fso9dkBNdkOvxx0PAd6JFil8BfkoHJrwkofUgD hHOiBK/6ZABJXLwelQjx0rVGFuFqeYKaq3gQw=
Domainkey-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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0148FD31@trantor>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <13878d9a0807071318q2f653dbbt70aadef39f5d9265@xxxxxxxxxxxxxx> <48727BAE.5020300@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0148FD2E@trantor> <200807072034.27138.javier@xxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0148FD31@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
> > 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


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.


Xen-users mailing list