Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757296Ab0HNPyM (ORCPT ); Sat, 14 Aug 2010 11:54:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53052 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755994Ab0HNPyL (ORCPT ); Sat, 14 Aug 2010 11:54:11 -0400 Date: Sat, 14 Aug 2010 16:54:01 +0100 From: Alasdair G Kergon To: Jeff Chua Cc: device-mapper development , lkml , lvm-devel@redhat.com Subject: Re: [dm-devel] linux-2.6.35+ causes LVM to fail with " device-mapper: version ioctl failed: Inappropriate ioctl for device" Message-ID: <20100814155401.GJ26032@agk-dp.fab.redhat.com> Mail-Followup-To: Jeff Chua , device-mapper development , lkml , lvm-devel@redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 27 On Sat, Aug 14, 2010 at 02:01:47AM +0800, Jeff Chua wrote: > It seems one of these commits in > 8357422d4bf33bc2c35884d4016c3fc9efbbc1d2 is causing LVM2 > (LVM2.2.02.72) to fail. Did you (partially) bisect that or are you just guessing? The only one there possibly relevant is 7e507eb6432afdd798d4c6dccf949b8c43ef151c. > Previously good logical volumes cannot be mounted anymore, and new one > cannot be created. All failed with the error ... > "device-mapper: version ioctl failed: Inappropriate ioctl for device" What distribution? What version of udev package? 'lvm version' output? Provide long listing of /dev/mapper and any dm/lvm devices in /dev. Add -vvvv to your lvm command for better clues. > Is there a new LVM2 for this new dm ioctl or the dm is not right? There's no new dm ioctl. Alasdair -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/