All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: Neil Brown <neilb@suse.de>
Cc: Janos Haar <djani22@netcenter.hu>,
	David Greaves <david@dgreaves.com>,
	linux-raid@vger.kernel.org
Subject: [OT] Re: questions about softraid limitations
Date: Fri, 16 May 2008 08:05:31 +0200	[thread overview]
Message-ID: <482D242B.7060908@rabbit.us> (raw)
In-Reply-To: <18476.58840.602946.872085@notabene.brown>

Neil Brown wrote:
> On Thursday May 15, djani22@netcenter.hu wrote:
>> I only want to help for some people to get back the data.
>> I only need to build, not to create.
> 
> And this you can do ... but not with mdadm at the moment
> unfortunately.
> 
> What carefully :-)
> --------------------------------------------------------------
> /tmp# cd /sys/block/md0/md
> /sys/block/md0/md# echo 65536 > chunk_size 
> /sys/block/md0/md# echo 2 > layout 
> /sys/block/md0/md# echo raid5  > level 
> /sys/block/md0/md# echo none > metadata_version 
> /sys/block/md0/md# echo 5 > raid_disks 
> /sys/block/md0/md# ls -l /dev/sdb
> brw-rw---- 1 root disk 8, 16 2008-05-16 11:13 /dev/sdb
> /sys/block/md0/md# ls -l /dev/sdc
> brw-rw---- 1 root disk 8, 32 2008-05-16 11:13 /dev/sdc
> /sys/block/md0/md# echo 8:16 > new_dev 
> /sys/block/md0/md# echo 8:32 > new_dev 
> /sys/block/md0/md# echo 8:48 > new_dev 
> /sys/block/md0/md# echo 8:64 > new_dev 
> /sys/block/md0/md# echo 8:80 > new_dev 
> /sys/block/md0/md# echo 0 > dev-sdb/slot 
> /sys/block/md0/md# echo 1 > dev-sdc/slot 
> /sys/block/md0/md# echo 2 > dev-sdd/slot 
> /sys/block/md0/md# echo 3 > dev-sde/slot 
> /sys/block/md0/md# echo 4 > dev-sdf/slot 
> /sys/block/md0/md# echo 156250000 > dev-sdb/size 
> /sys/block/md0/md# echo 156250000 > dev-sdc/size 
> /sys/block/md0/md# echo 156250000 > dev-sdd/size 
> /sys/block/md0/md# echo 156250000 > dev-sde/size 
> /sys/block/md0/md# echo 156250000 > dev-sdf/size 
> /sys/block/md0/md# echo readonly > array_state 
> /sys/block/md0/md# cat /proc/mdstat 
> Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] 
> md0 : active (read-only) raid5 sdf[4] sde[3] sdd[2] sdc[1] sdb[0]
>       624999936 blocks super non-persistent level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
>       
> unused devices: <none>
> ----------------------------------------------------------

Wow, this is big :) Is it correct to state that today most of mdadm's tasks 
can be carried out by toying with sysfs? Fascinating!

  reply	other threads:[~2008-05-16  6:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  0:34 questions about softraid limitations Janos Haar
2008-05-14 10:45 ` David Greaves
2008-05-14 23:29   ` Janos Haar
2008-05-16  1:39     ` Neil Brown
2008-05-16  6:05       ` Peter Rabbitson [this message]
2008-05-18 23:52         ` [OT] " Neil Brown
2008-05-16 10:00       ` Janos Haar
2008-05-16  8:36     ` David Greaves
2008-05-16  9:18       ` David Greaves
2008-05-16  9:28       ` Janos Haar
2008-05-18  9:11         ` David Greaves
2008-05-18 11:11           ` Janos Haar
2008-05-18 13:00             ` David Greaves
2008-05-18 21:51               ` Janos Haar
2008-05-18 19:36           ` David Lethe
2008-05-18 22:23             ` David Greaves
2008-05-18 22:38               ` Janos Haar

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=482D242B.7060908@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --cc=david@dgreaves.com \
    --cc=djani22@netcenter.hu \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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.