I am trying to resize a file based guest DomU while it is shut down. It seems that all the information that I can find relates to resizing ext3 file systems and there in no information (that works) on Reiserfs. The first thing that I try to do is to verify that Reiserfs tools work, so I execute this (hda is the domU file system file): reiserfsck --check hda and I get this: ==========================Will read-only check consistency of the filesystem on image Will put log info to ''stdout'' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes reiserfs_open: the reiserfs superblock cannot be found on image. Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with --rebuild-sb. =========================== Any suggestions where to go from here, I am completely stuck. This is on Suse 10.2. reiserfsck -V reiserfsck 3.6.19 (2003 www.namesys.com) the same version is shown on Dom0 and DomU. Jonny ___________________________________________________________ Send a secure reply: http://www.CryptoHeaven.com/ch/web-mail.jsp?uId=123739&subject=Re%3A+Resizing+File+Based+DomU _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonny wrote:> I am trying to resize a file based guest DomU while it is shut down. It seems that all the information that I can find relates to resizing ext3 file systems and there in no information (that works) on Reiserfs. > > The first thing that I try to do is to verify that Reiserfs tools work, so I execute this (hda is the domU file system file): > > reiserfsck --check hda >Don''t *EVEN* think about trying these tricks. Seriously. Back up the partition, rebuild it from scratch, than pour the backup onto the newly built and enlarged partition. Reiserfs has, in my experience, been a source of serious fileystem grief. Given that its core developer has a habit of casually losing really important things, including his wife''s corpse (no, I''m not kidding, look for hte keywords "Hans Reiser murdered wife"), I''ve been unshocked by the repeated file lossage when trying to do even modest system operations with Reiserfs. Keep it simple for reliably. Back it up and rebuild from scratch. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia wrote:> Jonny wrote: >> I am trying to resize a file based guest DomU while it is shut down. >> It seems that all the information that I can find relates to resizing >> ext3 file systems and there in no information (that works) on Reiserfs.That''s probably because these days ext3 has all the resizing capabilities that only reiserfs had before. We''ve used ext3 for a year now, and we''ve had no problems whatsoever. Enlargening a mounted filesystem works like a charm, even shrinking works well (haven''t tried it on a mounted filesystem though). /L>> The first thing that I try to do is to verify that Reiserfs tools >> work, so I execute this (hda is the domU file system file): >> >> reiserfsck --check hda >> > Don''t *EVEN* think about trying these tricks. Seriously. Back up the > partition, rebuild it from scratch, than pour the backup onto the newly > built and enlarged partition. > > Reiserfs has, in my experience, been a source of serious fileystem > grief. Given that its core developer has a habit of casually losing > really important things, including his wife''s corpse (no, I''m not > kidding, look for hte keywords "Hans Reiser murdered wife"), I''ve been > unshocked by the repeated file lossage when trying to do even modest > system operations with Reiserfs. > > Keep it simple for reliably. Back it up and rebuild from scratch. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users