Re: Snapshots in kernel 2.6.19

"Brock, Anthony - NET" <[email protected]> Wed, 18 Apr 2007 13:56:51 -0700
Newsgroups gmane.linux.evms.devel
Message-ID <7B4268E5ACB878429B58D4BE5B780E83012A6F9E@NWS-EXCH2.nws.oregonstate.edu>
I am also seeing similar behavior since upgrading from kernel version 2.6.16 to 2.6.20.6 last week:

# tail /var/log/kern.log
Apr 17 03:10:41 vs2 kernel: device-mapper: ioctl: error adding target to table
Apr 17 03:10:53 vs2 kernel: device-mapper: ioctl: unable to remove open device scg-bind-2_root
Apr 18 13:50:41 vs2 kernel: device-mapper: table: 254:65: snapshot: requires exactly 4 arguments
Apr 18 13:50:41 vs2 kernel: device-mapper: ioctl: error adding target to table
Apr 18 13:50:41 vs2 kernel: device-mapper: table: 254:65: snapshot: requires exactly 4 arguments
Apr 18 13:50:41 vs2 kernel: device-mapper: ioctl: error adding target to table
Apr 18 13:50:50 vs2 kernel: device-mapper: table: 254:65: snapshot: requires exactly 4 arguments
Apr 18 13:50:50 vs2 kernel: device-mapper: ioctl: error adding target to table
Apr 18 13:50:50 vs2 kernel: device-mapper: table: 254:65: snapshot: requires exactly 4 arguments
Apr 18 13:50:50 vs2 kernel: device-mapper: ioctl: error adding target to table
# uname -a
Linux vs2.mydomain.com 2.6.20.6-skas3-v8.2 #1 SMP Fri Apr 13 17:27:25 PDT 2007 i686 GNU/Linux
# 

I would be very interested in seeing a patch that resolves this integrated into the mainline evms utilities for Debian.

Tony

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Nuno Silva
> Sent: Tuesday, April 17, 2007 7:50 PM
> To: "Jürgen E. Fischer"
> Cc: [email protected]
> Subject: Re: [Evms-devel] Snapshots in kernel 2.6.19
> 
> Jürgen E. Fischer wrote:
> > Hi there,
> 
> Hello, Jürgen!
> 
> 
> > starting somewhere between 2.6.18 and 2.6.19 making 
> snapshots stopped
> > working.
> > 
> > The device mapper complains like this:
> > 
> > device-mapper: table: 254:52: snapshot: requires exactly 4 arguments
> > 
> > EVMS passes one argument more than expected.  Apparently 
> the evms patch
> > that actually supported the argument never made it into 
> device mapper.
> > 
> > Before 2.6.19 it was ignored, so I assume it's save to just drop it.
> > Attached a patch does that.
> 
> Very, very nice. Thank you!
> 
> I was beeing affected by that problem for a few weeks but 
> couldn't solve
> the problem (gave up after a few tries because I don't like 
> to mess with
> storage... Big responsability!). I've been testing this patch 
> in a test
> server for some days and it looks good. No problems so far. 
> Any comments?
> 
> Anyway, I'd like the core team to bless this patch and maybe 
> include it
> in a new release?
> 
> Thanks again,
> Nuno Silva
> 
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Evms-devel mailing list
> [email protected]
> To subscribe/unsubscribe, please visit:
> https://lists.sourceforge.net/lists/listinfo/evms-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel