From: David Greaves <david@dgreaves.com>
To: Andy Gajetzki <andy.gajetzki@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: linear raid space utilization
Date: Sat, 21 Jan 2006 08:48:08 +0000 [thread overview]
Message-ID: <43D1F548.6020407@dgreaves.com> (raw)
In-Reply-To: <cc5782160601202312y25bc339cvcb1973c24208da3@mail.gmail.com>
Andy Gajetzki wrote:
>Hi there, I recently had a disk go bad in a linear RAID built with
>mdadm. The particular disk that failed was the last device of the
>RAID. I am curious about how devices are utilized in a linear RAID.
>Would the md be filled sequentially from device 1 upto 5? In other
>words, what are the odds that the last disk was "empty" when it went
>south?
>
>Thanks for your time,
>
>
Linear raid does provide sequential blocks on disks 1...n
So as long as the filesystem you used was something like 'dd
of=/dev/md0' then you'd be OK <grin>
However if you made a 'proper' filesystem on it then the disk usage
would vary depending on whether it was ext2,ext3,xfs,jfs etc etc
If the bad disk is totally gone then you're at the mercy of fs deign and
fsck - otherwise try and use ddrescue to get an image of it (and the
other disks). Make a 'safe' image and a 'working' image of the bad disk
before attempting repair on 'working' images.
(Of course you need lots of disk space so you may need new disks -
depends how valuable your data is)
HTH
David
--
next prev parent reply other threads:[~2006-01-21 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-21 7:12 linear raid space utilization Andy Gajetzki
2006-01-21 8:48 ` David Greaves [this message]
2006-01-21 15:31 ` Andy Gajetzki
2006-01-21 10:39 ` Neil Brown
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=43D1F548.6020407@dgreaves.com \
--to=david@dgreaves.com \
--cc=andy.gajetzki@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).