[prev in list] [next in list] [prev in thread] [next in thread] 

List:       evms-devel
Subject:    Re: [Evms-devel] [MAILER-DAEMON@csh.rit.edu: Undelivered Mail Returned to
From:       Steve Dobbelstein <steved () us ! ibm ! com>
Date:       2003-10-22 14:34:10
[Download RAW message or body]


Matt Zimmerman wrote:
> evms-devel: I received this bug report from an EVMS user.  From a brief
scan
> of the log, it looks like the engine segfaulted after resizing the device
> and before resizing the filesystem.
>
> Ross: can you send the output from:
>
> dpkg -l '*evms*'
>
> and:
>
> ls -l /lib/evms
>
> to ensure that you have no plugins installed other than the ones included
> with EVMS itself?
>
> ----- Forwarded message from Ross Boylan <ross@biostat.ucsf.edu> -----
>
> Date: Thu, 16 Oct 2003 14:36:24 -0700
> From: Ross Boylan <ross@biostat.ucsf.edu>
> Resent-From: Ross Boylan <ross@biostat.ucsf.edu>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: Bug#216156: evms: Expand volume fails to grow underlying Reiser
FS (segfault)
>
> Package: evms
> Version: 2.1.1-3
> Severity: normal
>
> I attempted to expand a volume with Reiser FS from the evms-gui.  It
> appears that the underlying volume has been expanded, but the file
> system has not.  It was online at the time.  Since I suspect the
> problem is with the underlying evms libraries/engine, I am reporting
> this against evms; please reclassify if appropriate.  The engine log
> shows a segmentation fault.

Unfortunately, the Engine log doesn't provide any additional information
about where the segfault occurred.  If the problem is reproducible, then
run "evmsgui -d everything" to set the logging debug level to log
everything.  In the log from that run the log statements before the
segfault statements will give a clue as to what code was running when the
segfault occurred.  Often that is enough to track down the cause of the
segfault.

> I have a SCSI disk with a large segment dedicate to an evms container.
> This included a 4G region I wanted to expand to 6G; there was about
> 5.4G of freespace.  I selected the region and went through the
> expansion steps for the GUI specified in the EVMS User Guide,
> selection 2000 Mb expansion.  Then I hit save.  The interface then
> disappeared; I thought it was just closing after completion, but
> discovered later it crashed (see logs below).
>
> When I restarted emvs-gui, it showed the volume was 6.0G.  However, df
> shows the corresponding partition is 4.0G, and the GUI detailed info
> option shows the file system size if 4.0G.  Note that the manual says
>
> "G.4. Expanding ReiserFS file systems
>
> A ReiserFS file system is automatically expanded when its volume is
> expanded. ReiserFS file systems can be expanded if the volume is
> mounted or unmounted. "
>
> The file system (my /var) was online and mounted at the time I did
> this.
>
> There does not appear to have been any data loss, and my system
> continues to operate normally (well, except that /var has filled up,
> which is why I started this....).
>
> I recall that there are several versions of reiser tools for Debian;
> is it possible I have the wrong one?
>
> ii  libreiserfs0.3 0.3.0.4-1      ReiserFS filesystem access and
manipulation
> ii  reiserfsprogs  3.6.11-1       User-level tools for ReiserFS
filesystems
>
> Clearly, a more graceful failure would be good even if the tools are
wrong :)

Yes.  EVMS tries to handle errors when possible.  It's hard to recover
gracefully from a segfault.

> I would appreciate any guidance about how to proceed.  Though I seem
> OK now, I am reluctant to attempt further operations on the volume or
> its filesystem without knowing exactly what state it is in.

To expand a reiserfs file system, the reiserfs EVMS plug-in forks and execs
the command "resize_reiserfs /dev/evms/var".  You should be able to run
"resize_reiserfs /dev/evms/var" by hand to get the file system expanded to
the new size of the volume.

Steve D.



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic