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] LVM and resize2fs

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Thu, 07 Oct 2010 21:25:20 +0100
Delivery-date: Thu, 07 Oct 2010 13:25:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240823c8d34c27c044@xxxxxxxxxxxxxxxxxxxxxx>
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: <46C13AA90DB8844DAB79680243857F0F0AFEC8@xxxxxxxxxxxxxxxxxxx><AANLkTinUgneF UrsufGCrHbajbxjuKYn7Q1_Pt0QAbngU@xxxxxxxxxxxxxx><46C13AA90DB8844DAB7968024 3857F0F0AFEC9@xxxxxxxxxxxxxxxxxxx><AANLkTinTPCz_0tMc7Knt5ReorOc_T+mL8A206t qdO+sb@xxxxxxxxxxxxxx><4CACD870.8050809@xxxxxxxxxxx><64D0546C5EBBD147B75DE 133D798665F06A123D6@xxxxxxxxxxxxxxxxx><AANLkTim2EtXziq=X4B5Eh2exKAAx1J04Fa KHnbDa9pr4@xxxxxxxxxxxxxx><4CACE632.2@xxxxxxxxxxx><p06240821c8d31e5550c0@s imon.thehobsons.co.uk><46C13AA90DB8844DAB79680243857F0F0AFECA@xxxxxxxxxxxx I.local> <p06240822c8d339515616@xxxxxxxxxxxxxxxxxxxxxx> <46C13AA90DB8844DAB79680243857F0F0AFECB@xxxxxxxxxxxxxxxxxxx> <p06240823c8d34c27c044@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100713 Thunderbird/3.0.6

Also, on a slightly off-top note, I made a mistake: I dd'ed an image file over to a non-exsistent LV. However, dd created a new file in /dev/vg0 !! Is this really bad? Could I have currupted some of the LVs? Or is it safe to just remove the new file using rm?

I wouldn't have thought LVM would get too upset - it keeps it's own details on disk. But I would expect your new file to disappear when you reboot since AFAIK /dev is dynamically built.

As it turns out, /dev/vg0 is just a normal folder with symlinks to /dev/mapper, so i just removed the file with rm and all is well with the world again :)

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>