All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: rol@as2917.net
Cc: dm-devel@redhat.com, 'LKML' <linux-kernel@vger.kernel.org>
Subject: Re: Strange problem with Device Mapper
Date: Thu, 26 Apr 2007 21:04:55 -0700	[thread overview]
Message-ID: <20070426210455.05400edf.akpm@linux-foundation.org> (raw)
In-Reply-To: <006001c78826$13f50cf0$4b00a8c0@donald>

On Thu, 26 Apr 2007 19:12:27 +0200 "Paul Rolland" <rol@as2917.net> wrote:

> Hello,
> 
> I've a machine that has been installed with Intel Soft Raid on top
> of 2 SATA disks.
> I'm trying to have this work as a RAID-1 array. 
> Bios configuration has been done, using 128K chunk, and the kernel
> (2.6.20.7) sees perfectly /dev/mapper/isw_xxxxxxxx_RAID1
> 
> But, I'm facing two problems :
> 1 - If i try to create partitions on this device, it does fail (the 
>     values are not interpreted correctly)
> 
> 2 - To avoid 1), I stop the RAID array (dmraid -an), then I do create
>     exactly the same partition set on /dev/sda, and /dev/sdb, and
>     then I reactivate RAID (dmraid -ay).
>     This allows me to see all the /dev/mapper/isw_xxxxxxx_RAID1p1, p2, ...
>     But, running fsck -t ext2 /dev/mapper/isw_xxxxxxx_RAID1p1
>     ends in a lock when the partition is larger than 10Go (well, it is
>     Ok on the 10Go one, and it locks on the 100Go).
>     Not a real hardlock, I still can switch to a new VC, but it's not
>     more possible to start a new command or to stop fsck.
> 
> Should I do everything on the physical disks before activating RAID ?
> Is it a normal behavior ?
> 
> BTW, I also noticed that such a device doesn't support BLKRRPART ioctl...
> So it is possible that what I'm doing is wrong...
> 
> Any idea ?
> 

cc added.

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: <rol@as2917.net>
Cc: "'LKML'" <linux-kernel@vger.kernel.org>, dm-devel@redhat.com
Subject: Re: Strange problem with Device Mapper
Date: Thu, 26 Apr 2007 21:04:55 -0700	[thread overview]
Message-ID: <20070426210455.05400edf.akpm@linux-foundation.org> (raw)
In-Reply-To: <006001c78826$13f50cf0$4b00a8c0@donald>

On Thu, 26 Apr 2007 19:12:27 +0200 "Paul Rolland" <rol@as2917.net> wrote:

> Hello,
> 
> I've a machine that has been installed with Intel Soft Raid on top
> of 2 SATA disks.
> I'm trying to have this work as a RAID-1 array. 
> Bios configuration has been done, using 128K chunk, and the kernel
> (2.6.20.7) sees perfectly /dev/mapper/isw_xxxxxxxx_RAID1
> 
> But, I'm facing two problems :
> 1 - If i try to create partitions on this device, it does fail (the 
>     values are not interpreted correctly)
> 
> 2 - To avoid 1), I stop the RAID array (dmraid -an), then I do create
>     exactly the same partition set on /dev/sda, and /dev/sdb, and
>     then I reactivate RAID (dmraid -ay).
>     This allows me to see all the /dev/mapper/isw_xxxxxxx_RAID1p1, p2, ...
>     But, running fsck -t ext2 /dev/mapper/isw_xxxxxxx_RAID1p1
>     ends in a lock when the partition is larger than 10Go (well, it is
>     Ok on the 10Go one, and it locks on the 100Go).
>     Not a real hardlock, I still can switch to a new VC, but it's not
>     more possible to start a new command or to stop fsck.
> 
> Should I do everything on the physical disks before activating RAID ?
> Is it a normal behavior ?
> 
> BTW, I also noticed that such a device doesn't support BLKRRPART ioctl...
> So it is possible that what I'm doing is wrong...
> 
> Any idea ?
> 

cc added.

  reply	other threads:[~2007-04-27  4:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 17:12 Strange problem with Device Mapper Paul Rolland
2007-04-27  4:04 ` Andrew Morton [this message]
2007-04-27  4:04   ` Andrew Morton

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=20070426210455.05400edf.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    /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.