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

Jonathan Tripathy wrote:

Ah right, so this issues only really occurs when downsizing a disk then? When upsizing (as mentioned in my first post), there isn't an issue, as resize2fs would have thrown an erro, correct?

Looks like it.

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.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list

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