From: Michael Ole Olsen <gnu@gmx.net>
To: linux-raid@vger.kernel.org
Subject: Re: mdadm+lvm2: ioctl error and cannot mount the device nodes?
Date: Thu, 02 Jul 2009 23:55:36 +0200 [thread overview]
Message-ID: <4A4D2CD8.8060705@gmx.net> (raw)
In-Reply-To: <4A4D1478.7010501@gmx.net>
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
>
next prev parent reply other threads:[~2009-07-02 21:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-07-03 6:27 ` Luca Berra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A4D2CD8.8060705@gmx.net \
--to=gnu@gmx.net \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.