* mdadm+lvm2: ioctl error and cannot mount the device nodes?
@ 2009-07-02 20:11 Michael Ole Olsen
2009-07-02 21:55 ` Michael Ole Olsen
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ole Olsen @ 2009-07-02 20:11 UTC (permalink / raw)
To: linux-raid
i keep getting
[1]
device-mapper: table: device 9:0 too small for target
device-mapper: table: 254:11: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
with a cleanly installed system (debian lenny netinstall)
my raid is a raid5 reshaped to raid6 with 2.6.30 by echoing into /sys
(all Q blocks on the last disk)
i can see all device nodes in /dev/mapper but just not mount them
if i try to mount it just says:
mount: you must specify the filesystem type
and the dmesg output as in [1]
these are the modules in my initramfs:
xfs
ext3
dm-mod
md
raid0
raid1
raid10
raid456
raid6_pq
linear
# usb-storage deps
usbcore
usbhid
libata
scsi_transport_spi
usb-storage
scsi_mod
sg
sd_mod
sbp2
Any idea what I am doing wrong? I thought the problem [1] would
be because of a misconfigured kernel with no
devicemapper support, but I think have compiled everything in?
I cannot use any other kernels than 2.6.30 or it will not assemble
the raid6 (mdadm) so I dont think i have another option than
compiling it myself, apt has only 2.6.22 or such
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdadm+lvm2: ioctl error and cannot mount the device nodes?
2009-07-02 20:11 mdadm+lvm2: ioctl error and cannot mount the device nodes? Michael Ole Olsen
@ 2009-07-02 21:55 ` Michael Ole Olsen
2009-07-03 6:27 ` Luca Berra
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ole Olsen @ 2009-07-02 21:55 UTC (permalink / raw)
To: linux-raid
I think the mdadm was uncleanly shut down
the rootfs was on nfs and the nfs server halted and was taken off.
mdadm thinks the array is clean, how to i check if its unclean without
risking my data
could this unclean shutdown result in device mapper errors like this?
best regards
Michael Ole Olsen
Michael Ole Olsen wrote:
> i keep getting
>
> [1]
> device-mapper: table: device 9:0 too small for target
> device-mapper: table: 254:11: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
>
> with a cleanly installed system (debian lenny netinstall)
>
> my raid is a raid5 reshaped to raid6 with 2.6.30 by echoing into /sys
> (all Q blocks on the last disk)
>
> i can see all device nodes in /dev/mapper but just not mount them
>
> if i try to mount it just says:
> mount: you must specify the filesystem type
> and the dmesg output as in [1]
>
> these are the modules in my initramfs:
>
> xfs
> ext3
> dm-mod
> md
> raid0
> raid1
> raid10
> raid456
> raid6_pq
> linear
>
> # usb-storage deps
> usbcore
> usbhid
> libata
> scsi_transport_spi
> usb-storage
> scsi_mod
> sg
> sd_mod
> sbp2
>
>
> Any idea what I am doing wrong? I thought the problem [1] would
> be because of a misconfigured kernel with no
> devicemapper support, but I think have compiled everything in?
>
> I cannot use any other kernels than 2.6.30 or it will not assemble
> the raid6 (mdadm) so I dont think i have another option than
> compiling it myself, apt has only 2.6.22 or such
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdadm+lvm2: ioctl error and cannot mount the device nodes?
2009-07-02 21:55 ` Michael Ole Olsen
@ 2009-07-03 6:27 ` Luca Berra
0 siblings, 0 replies; 3+ messages in thread
From: Luca Berra @ 2009-07-03 6:27 UTC (permalink / raw)
To: linux-raid
On Thu, Jul 02, 2009 at 11:55:36PM +0200, Michael Ole Olsen wrote:
> I think the mdadm was uncleanly shut down
>
> the rootfs was on nfs and the nfs server halted and was taken off.
>
> mdadm thinks the array is clean, how to i check if its unclean without
> risking my data
>
> could this unclean shutdown result in device mapper errors like this?
who knows? you are providing no useful data at all.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-03 6:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 20:11 mdadm+lvm2: ioctl error and cannot mount the device nodes? Michael Ole Olsen
2009-07-02 21:55 ` Michael Ole Olsen
2009-07-03 6:27 ` Luca Berra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).