linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixed: Part of output missing during RAID creation
@ 2011-09-20 15:21 Lukasz Orlowski
  2011-09-20 15:21 ` Lukasz Orlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Lukasz Orlowski @ 2011-09-20 15:21 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid

    Fixed: Part of output missing during RAID creation
    
    Having a container created consisting of 2 disks, when one tried to create
    two volumes of the same RAID level, after attempt of creating the second
    one, part of the message was missing:
    
    #mdadm -C /dev/md/imsm0 -amd -e imsm -n 2 /dev/sda /dev/sdb -R
    #mdadm -C /dev/md/MyVolume1 -amd -l0 -c128 -n 2 /dev/sda /dev/sdb -R
    #mdadm -C /dev/md/MyVolume2 -amd -l0 -c128 -n 2 /dev/sda /dev/sdb -R
    
    After calling the last command, the output was:
    mdadm: create aborted
    
    Now it's:
    mdadm: device /dev/sdb not suitable for this style of array
    mdadm: create aborted
    
    Removed a piece of code attempting to exclusively open a file just to
    check whether it's possible. The reason is that that check was performed
    when it was already determined that a volume cannot be created. Put
    a prompt about the device not being suitable instead.
    
    Signed-off-by: Lukasz Orlowski <lukasz.orlowski@intel.com>

---

Lukasz Orlowski (1):
      Fixed: Part of output missing during RAID creation


 Create.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

-- 
Signature
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk

Sad Rejonowy Gdansk Polnoc w Gdansku, 
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego, 
numer KRS 101882

NIP 957-07-52-316
Kapital zakladowy 200.000 zl

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-21  4:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 15:21 [PATCH] Fixed: Part of output missing during RAID creation Lukasz Orlowski
2011-09-20 15:21 ` Lukasz Orlowski
2011-09-21  4:40   ` NeilBrown

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).