From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Patou Subject: Re: lvm management of block devices in dom0 not working as well as it should Date: Sun, 16 Jan 2005 22:44:29 +0100 Message-ID: <41EAE03D.7010403@matws.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Ian Pratt a =E9crit : >>kaffe:/home/doogie# swapon -a >>swapon: /dev/hda: Invalid argument >> >>So, do those vbd-* commands actually work? >=20 >=20 > What happens if you export the device as a partition rather than a whol= e > disk?=20 >=20 > I certainly recall that this was working at one point. I think it was > even hooked up such that size changes didn't require the the vbd to be > destroyed/recreated for xenU to notice.=20 >=20 > Ian Hello all, i faced quite the same problem with lvm 2 + xen 2.x i resized in dom0 a partition used in domX. The partition is formated in=20 XFS format. I issued an lvm resize in dom0, it showed that the volume was extended,=20 so i try an xfs_growfs on the mounted partition but nothing append ...=20 In dom1 the partition was seen unchanged ... I stopped the dom1 domain and mount the partition in dom0 (a xfs=20 partition must be mounted in order to be extended ..) but xfs_growfs saw=20 the Filesystem smaller than it was. After unmounting the volume and recreating dom1, i have been able to=20 resize the FS in dom1 Quite strange ? I've try to do the same on a volume used direcly in dom0 and in this=20 case there was no prolbem (lvm resize + xfs_growfs were like a charm ...)= . HTH ! Matthieu ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt