From: david@lang.hm
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: partition detection problem on 2.6.29.1 and 2.6.30
Date: Wed, 8 Jul 2009 18:05:06 -0700 (PDT) [thread overview]
Message-ID: <alpine.DEB.1.10.0907081759550.9159@asgard> (raw)
In-Reply-To: <alpine.DEB.1.10.0907081424140.9159@asgard>
I managed to track the problem down.
it turns out that at some point someone created a md array using the raw
devices instead of the partitions. it looks like the kernel autodetection
for raid kicked in prior to the partition detection and after it claimed
the drives the partition detection was never given a chance to do so.
this is logical, but it makes the dmesg output that appears to be
identifying the paritions _very_ misleading.
David Lang
On Wed, 8 Jul 2009, david@lang.hm wrote:
> Date: Wed, 8 Jul 2009 14:35:41 -0700 (PDT)
> From: david@lang.hm
> To: linux-kernel <linux-kernel@vger.kernel.org>
> Subject: partition detection problem on 2.6.29.1 and 2.6.30
>
> I have a system that has a large number of drives in it (45), and it's had a
> problem with banks of disks getting disconnected from it.
>
> however, when I started looking into it today (after another sysadmin worked
> on it for a while), I found that the system is not able to access the
> partitions on the drives.
>
> if I am reading dmesg correctly it is seeing the partitions during boot, and
> if I do 'fdisk -l' it lists all the paritions correctly, but if I try to do a
>
> dd if=/dev/sdb1 of=/dev/null count=1
>
> I get the error "dd: opening `/dev/sdb1': No such device or address"
>
> #ls -l /dev/sdb1
> brw-rw---- 1 root disk 8, 17 Nov 7 2006 /dev/sdb1
>
> I removed udev and setup nodes manually to eliminate any possibility that it
> was a problem there.
>
> the attachment partitions.missing.partitions is a cat of /proc/partitions
>
> sysfs shows all the drives but none of the partitions.
>
> if I run fdisk and do a write (which runs the ioctl to re-read the parition
> table) the system detects the partition and is able to access it until the
> next reboot.
>
> what is going on here?
>
> David Lang
parent reply other threads:[~2009-07-09 1:05 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <alpine.DEB.1.10.0907081424140.9159@asgard>]
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=alpine.DEB.1.10.0907081759550.9159@asgard \
--to=david@lang.hm \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox