Andrew Schulman | 21 Apr 2010 15:55

EVMS replacement?

This question is directed especially to the former EVMS team at IBM, but in
general to all of us who've finally had to abandon EVMS:

Does anyone know of any other tool that's something like a replacement for
EVMS?  Something that integrates partition, logical volume, and file system
management in one interface (not to mention the three parallel interfaces
that EVMS offered)?

What software is IBM using, recommending, or providing for enterprise
storage management these days?  What other software, if any, did it have in
mind when it decided to abandon EVMS?

I've looked around quite a bit, and while the quality of the GUI tools has
improved, in general it's the same old hodgepodge that existed before
EVMS-- one tool for partition management, another for logical volume
management.

Thanks,
Andrew.

------------------------------------------------------------------------------
_______________________________________________
Evms-devel mailing list
Evms-devel@...
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel

Carruth, Rusty | 29 Sep 2009 01:40
Favicon

EVMS bug - anybody working to fix bugs any more?

We've discovered an unpleasant bug in EVMS.

Randomly it will decide that there is a raid array 255 present when we
have not created such a beast.  It has even been known to create
lower-numbered ones as well (254, 253, etc).

Evms says its command line interpreter version 2.5.3

I looked at the fix logs for 2.5.4 and 2.5.5, and do not see any
reference to this, other than something in an email from Mike Tran on
the devel list in 2006 about how evms 'handles the conflict by assigning
late arriving MD regions starting at 255 downward' (or something like
that).

But I *have* (supposedly) no late-arriving MD regions!  Where is evms
getting the idea that such a thing exists???

Has anyone seen this?  Or have any clue what I'm talking about?

Has it been fixed?

Thanks!

Rusty

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
(Continue reading)

aurfalien | 13 Sep 2009 07:11
Picon

using evms as a sort of mdadm front end

Hi,

Before I install EVMS on my Centos 5.3x64 box (unsure it will even  
install), I would like to know wether I need to even build a new  
kernel if all I desire is a GUI to create, manage, rebuild software  
Raids formatted using XFS file system.

I'm fine with mdadm cli, however I have some users that would prefer a  
GUI and have threatened me with installing OpenSolaris for its web  
front end to ZFS Raid management.

I'm sure OpenSolaris is a fine OS but would rather stick to Centos.

Thanks in advance,

- aurf

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel

Steve Dobbelstein | 28 Aug 2009 17:46
Picon
Favicon

Re: Expanding volume and xfs-filesystem

Bernward Platz <Bernward.Platz <at> clucon.de> wrote on 08/27/2009 01:40:29 AM:

> Hi Steve,
>
> thank you very much for you answer! I did the expansion in the same
> way you described. But there war something strange: During the
> expansion I have seen in the process table a
>
> fsck.ex3 and then
>
> a
>
> resize2fs
>
> I can not understand this. the emvs gui display that the plugin of
> the volume is XFS and the volume is also mounted as XFS-filesystem.
>
> Can you help?
>
> Thanks and regards
>
> Bernward

Hi, Bernward.

I, too, cannot understand that.  Looking at the code I don't see an obvious
way that the xfs plug-in would launch ext3 utilities.  You may want to
check to make sure that fsck.ex3 and resize2fs are being launched by EVMS
an not by some other process by coincidence.  If you can reproduce the
problem it would be helpful to turn on debugging and look at the log file.
(Continue reading)

Bernward Platz | 26 Aug 2009 09:16
Picon

Expanding volume and xfs-filesystem

Hello,


I have a question regarding expanding a evms-volume. Expanding a evms-volume from 4.2TB to 6.4TB was working fine, but if i want also to expand the unterlying xfs-filesystem with xfs_growfs I got a "data size 488369967 too small, old size is 1120493536". I am using evms 2.5.5 on SLES 10. Is this the right forum?


Thanks


Bernward



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
Steven | 24 Aug 2009 16:59
Picon

Please help: New system with old EVMS+BBR drives ?

Hi people

I have a broken old system with 2x 250GB drives, in raid 1, with BBR on it.
Since the old system was a very trimmed down gentoo I couldn't boot it 
on other hardware, so I tried to recover the drives with a fresh debian 
etch install.

But now I can't get it to work. I compiled my own kernel (2.6.15.7), 
patched it according to the installation instructions, but it ends 
either of 2 ways:
- If I try to activate the volumes I get an error in EVMS, and some 
notices from devicemapper, saying failed to insert target (bbr)
- Or I just can't see any SATA disks at all (system is on a IDE drive so 
that boots fine)

Can anyone tell me which distro/setup still supports EVMS+BBR ?
If not, is there another way (without evms) to recover the data from 
those disks ?  It contains my complete photo collection for almost over 
10 years, and it would be an emotional disaster to loose all those pictures.

I hope someone reads this and maybe can help me.
Thanks in advance :-)

Steven

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel

David | 5 Aug 2009 16:23
Picon

Gentoo

Hi,

Noticed that the "Gentoo" link on this page is broken.   Just FYI.

(slightly off-topic, would be neat if EVMS supported the BTRFS filesystem).

-David

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
Nils Kalchhauser | 18 Jun 2009 20:36
Picon

problem with LVM2 container not finding PV 0

Hi!

I have a setup with three software RAID arrays, which have been
combined into one LVM2 container in EVMS. I had some trouble with
harddisks in one of the RAID arrays, but I'm pretty sure that the
data in the array is fine.

When I boot a Live CD without EVMS and issue a 'vgdisplay --verbose'
I get the following:

  --- Volume group ---
  VG Name               datacontainer1
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  27
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               2.66 TB
  PE Size               32.00 MB
  Total PE              87150
  Alloc PE / Size       87150 / 2.66 TB
  Free  PE / Size       0 / 0   
  VG UUID               y1wkSA-Mp1z-3oRj-3fTU-9aVA-ZIQN-llWqUP

  --- Logical volume ---
  LV Name                /dev/datacontainer1/dataregion
  VG Name                datacontainer1
  LV UUID                RnmAbY-2fD6-serM-0X6g-hQVf-Vo1F-FLZhDR
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                2.66 TB
  Current LE             87150
  Segments               5
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Physical volumes ---
  PV Name               /dev/md3     
  PV UUID               gsyju6-kCtO-0ut2-rQxb-Jj56-jQJf-WtPnKn
  PV Status             allocatable
  Total PE / Free PE    35770 / 0

  PV Name               /dev/md1     
  PV UUID               P0nWTm-7clc-Fr8n-p2Ph-UmAE-VrqD-fEqTZ0
  PV Status             allocatable
  Total PE / Free PE    29808 / 0

  PV Name               /dev/md125     
  PV UUID               HjSvH5-7zK1-udaX-CoD3-qWak-PYAv-XNtaPi
  PV Status             allocatable
  Total PE / Free PE    21572 / 0

So I assumed that the PV on /dev/md3 is working. But back in the
installed OS EVMS tells me this:

LVM2: The PV with index 0 was not found when discovering container
lvm2/datacontainer1. An "error" object will be created in it's
place. Any regions in this container that map to this PV will return
I/O errors if they attempt to read or write to this PV. Regions that
don't map to this PV will work normally.

and thus I cannot mount the volume either. So, is /dev/md3 probably
broken even though lvdisplay list it? I do have dd-copies of the
RAID5 elements and maybe I have assembled the RAID array in the
wrong order..?

Any help is appreciated, thanks.

Nils

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel

Steve Dobbelstein | 20 Apr 2009 20:33
Picon
Favicon

Fw: [Evms-cluster] Expanding OCFS2 Partition after LUN has been increased in size

Sorry, Jason. I didn't mean to call you Jim. I don't know where that came from. My apologies.

Steve D.

----- Forwarded by Steve Dobbelstein/Austin/IBM on 04/20/2009 01:32 PM -----

Steve Dobbelstein/Austin/IBM wrote on 04/20/2009 12:50:12 PM:

> Steve Dobbelstein/Austin/IBM
> 04/20/2009 12:50 PM
>
> To
>
> "Jason Ngim" <jason_ngim <at> osedge.com>
>
> cc
>
> evms-cluster <at> lists.sourceforge.net, evms-devel <at> lists.sourceforge.net
>
> Subject
>
> Re: [Evms-cluster] Expanding OCFS2 Partition after LUN has been
> increased in size
>
> "Jason Ngim" <jason_ngim <at> osedge.com> wrote on 04/13/2009 07:01:37 AM:
>
> > "Jason Ngim" <jason_ngim <at> osedge.com>
> > 04/13/2009 07:01 AM
> >
> > To
> >
> > <evms-cluster <at> lists.sourceforge.net>
> >
> > cc
> >
> > Subject
> >
> > [Evms-cluster] Expanding OCFS2 Partition after LUN has been
> increased in size
> >
> > Dear Gurus
> >
> > I have a SAN storage connected to 2 servers using Fibre Optics.
> >
> > In it i have created 4 LUNs. for future expansions, the LUNS will be
> > resized to be bigger, and the OCFS2 partition will also be expanded.
> > Please tell me how i can achieve it using EVMS.
> >
> > example:
> >
> > before
> > /dev/sdb  50GB
> >    /dev/sdb1 50GB  (formated using OCFS2)
> >
> > after
> > /dev/sdb  100GB
> >   /dev/sdb1 100GB (size is also expanded not creating another
> > logical partition)
> >
> > i would like to know how i can configure so that the /dev/sdb1 can
> > be logically expanded to the new size.
> > Thank you very much!!
> >

> > Best Regards
> > Jason

> Hi, Jim.
>
> Sorry for the late reply.
>
> The normal way you would go about expanding a volume is to target/
> select the volume for expansion rather than the segment.  That is,
> one might initially think of expanding the segment, e.g., /dev/sdb1,
> first.  However, since EVMS coordinates the expansion of the segment
> with the expansion of the volume, it needs to know the volume that
> is being expanded.  After all, that is what you want in the end is a
> bigger volume.
>
> After that explanation, here is the bad news.  Looking at the source
> code for the OCFS2 plug-in for EVMS, I see that it does not support
> expanding or shrinking a volume.  :(  I assume that at the time the
> author wrote the plug-in that OCFS2 did not support changing the
> size of a volume.  Looking on the web I see that the tune.ocfs2
> utility is supposed to allow you to change the volume size, among
> other things.  For now, you will have to expand the volume by hand
> -- use fdisk to expand /dev/sdb1 and then use tune.ocfs2 to expand
> the OCFS2 volume.  You will have to do that outside of EVMS, i.e.,
> don't be running EVMS at the same time you do the expansion.  EVMS
> will not pick up the changes if you do.  EVMS should pick up the
> changes from your manual expansion the next time it is started.  
> This will work if you did a mkfs of OCFS2 on the "compatibility
> volume" /dev/evms/sdb1.  That is, you did not make an "EVMS volume"
> from /dev/sdb1 and then put OCFS2 on the EVMS volume.
>
> If you made /dev/sdb1 into an EVMS volume then the procedure gets
> more complicated.  The metadata for the EVMS volume will need to be
> migrated for the new volume size.  (EVMS volume metadata appears at
> the end of the device.)  If you are OK with backing up and restoring
> your data, the simplest thing to do would be:
> 1. Backup the data.
> 2. Delete the OCFS2 volume.
> 3. Expand /dev/sdb1.
> 4. Recreate the EVMS volume from /dev sdb1.
> 5. Put OCFS2 on the volume.
> 6. Restore your data.
>
> If you need to leave your data intact, the following procedure
> should work (off the top of my head, no testing, no guarantees):
> 1. Backup the data, just in case.
> 2. With EVMS not running, use fdisk to expand /dev/sdb1.
> 3. Temporarily move /lib/evms/<evms-version>/ocfs2* out of the /lib/
> evms/<evms-version>/ directory so that EVMS will not load the plug-
> in adn therefore will not be able to recognize /dev/sdb1 as an OCFS2 volume.
> 4. Start EVMS.
> 5. Recreate the EVMS volume from /dev/sdb1.  This will put the EVMS
> volume metadata at the end of /dev/sdb1.
> 6. Save the changes.  You will now have a volume /dev/evms/<name>.
> 7. Run tune.ocfs2 on /dev/evms/<name> to set the new size.  Do not
> run tune.ocfs2 on /dev/sdb1 or it will most likely blow away the
> EVMS volume metadata at the end of /dev/sdb1.
> 8. Move the OCFS2 plug-in back into the /lib/evms/<evms-version>/ directory.
> 9. Now when you start EVMS again you should see the OCFS2 volume
> with the new size.
>
> Your other option is to write up a patch for the OCFS2 plug-in to
> give it the ability to resize OCFS2 volumes. :)
>
> Hope this helps.
>
> Steve D.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
Steve Dobbelstein | 20 Apr 2009 19:50
Picon
Favicon

Re: [Evms-cluster] Expanding OCFS2 Partition after LUN has been increased in size

"Jason Ngim" <jason_ngim <at> osedge.com> wrote on 04/13/2009 07:01:37 AM:

> "Jason Ngim" <jason_ngim <at> osedge.com>
> 04/13/2009 07:01 AM
>
> To
>
> <evms-cluster <at> lists.sourceforge.net>
>
> cc
>
> Subject
>
> [Evms-cluster] Expanding OCFS2 Partition after LUN has been increased in size
>
> Dear Gurus
>
> I have a SAN storage connected to 2 servers using Fibre Optics.
>
> In it i have created 4 LUNs. for future expansions, the LUNS will be
> resized to be bigger, and the OCFS2 partition will also be expanded.
> Please tell me how i can achieve it using EVMS.
>
> example:
>
> before
> /dev/sdb  50GB
>    /dev/sdb1 50GB  (formated using OCFS2)
>
> after
> /dev/sdb  100GB
>   /dev/sdb1 100GB (size is also expanded not creating another
> logical partition)
>
> i would like to know how i can configure so that the /dev/sdb1 can
> be logically expanded to the new size.
> Thank you very much!!
>

> Best Regards
> Jason

Hi, Jim.

Sorry for the late reply.

The normal way you would go about expanding a volume is to target/select the volume for expansion rather than the segment.  That is, one might initially think of expanding the segment, e.g., /dev/sdb1, first.  However, since EVMS coordinates the expansion of the segment with the expansion of the volume, it needs to know the volume that is being expanded.  After all, that is what you want in the end is a bigger volume.

After that explanation, here is the bad news.  Looking at the source code for the OCFS2 plug-in for EVMS, I see that it does not support expanding or shrinking a volume.  :(  I assume that at the time the author wrote the plug-in that OCFS2 did not support changing the size of a volume.  Looking on the web I see that the tune.ocfs2 utility is supposed to allow you to change the volume size, among other things.  For now, you will have to expand the volume by hand -- use fdisk to expand /dev/sdb1 and then use tune.ocfs2 to expand the OCFS2 volume.  You will have to do that outside of EVMS, i.e., don't be running EVMS at the same time you do the expansion.  EVMS will not pick up the changes if you do.  EVMS should pick up the changes from your manual expansion the next time it is started.  This will work if you did a mkfs of OCFS2 on the "compatibility volume" /dev/evms/sdb1.  That is, you did not make an "EVMS volume" from /dev/sdb1 and then put OCFS2 on the EVMS volume.

If you made /dev/sdb1 into an EVMS volume then the procedure gets more complicated.  The metadata for the EVMS volume will need to be migrated for the new volume size.  (EVMS volume metadata appears at the end of the device.)  If you are OK with backing up and restoring your data, the simplest thing to do would be:
1. Backup the data.
2. Delete the OCFS2 volume.
3. Expand /dev/sdb1.
4. Recreate the EVMS volume from /dev sdb1.
5. Put OCFS2 on the volume.
6. Restore your data.

If you need to leave your data intact, the following procedure should work (off the top of my head, no testing, no guarantees):
1. Backup the data, just in case.
2. With EVMS not running, use fdisk to expand /dev/sdb1.
3. Temporarily move /lib/evms/<evms-version>/ocfs2* out of the /lib/evms/<evms-version>/ directory so that EVMS will not load the plug-in adn therefore will not be able to recognize /dev/sdb1 as an OCFS2 volume.
4. Start EVMS.
5. Recreate the EVMS volume from /dev/sdb1.  This will put the EVMS volume metadata at the end of /dev/sdb1.
6. Save the changes.  You will now have a volume /dev/evms/<name>.
7. Run tune.ocfs2 on /dev/evms/<name> to set the new size.  Do not run tune.ocfs2 on /dev/sdb1 or it will most likely blow away the EVMS volume metadata at the end of /dev/sdb1.
8. Move the OCFS2 plug-in back into the /lib/evms/<evms-version>/ directory.
9. Now when you start EVMS again you should see the OCFS2 volume with the new size.

Your other option is to write up a patch for the OCFS2 plug-in to give it the ability to resize OCFS2 volumes. :)

Hope this helps.

Steve D.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Evms-devel mailing list
Evms-devel <at> lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
Andrew Schulman | 20 Apr 2009 08:54

"array md0 already has disks" with kernel 2.6.29

I've been running EVMS 2.5.5 for years.  I have a hand-built initrd that calls
evms_activate (I know, old school).  I have two MD/RAID1 regions: md0 mounted on
/boot, and md1 mounted on /.

This setup has worked fine up through kernel 2.6.26.  Now when I try to upgrade
to kernel 2.6.29, boot halts after running evms_activate.  The console shows a
bunch of the following messages:

md: array md0 already has disks!
md: array md1 already has disks!

I'll try to get a more detailed log and comparison-- unfortunately I have to
write it all down by hand.

Google shows a lot of confusion about the cause of this problem.  Some people
report that it occurs randomly due to a change in the order of naming the disk
devices.  Others report it when the MD array is degraded.  Neither of these is
true in my case:  it occurs every time with kernel 2.6.29 and never with 2.6.26,
and when I do boot into 2.6.26, EVMS shows that the MD array is operating
normally.

It does seem likely that a change in boot device order is to blame here, but I'm
not sure how to diagnose it when I can't boot.  The /linuxrc script in my initrd
tries to drop me into a shell when it can't mount the root FS, but with 2.6.29
the shell is unresponsive-- no input or output.

Anyone else have this problem?  Suggestions?

Thanks,
Andrew.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Evms-devel mailing list
Evms-devel@...
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel


Gmane