Re: linear raid space utilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the help. I used ddrescue to grab /dev/hdb and am now using
e2retrieve. I am somewhat optimistic that there will be at least
partial recovery ;). Have a great remainder of the weekend,
Andy Gajetzki

On 1/21/06, David Greaves <david@xxxxxxxxxxxx> wrote:
> 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
>
> --
>
>


--
Andrew Gajetzki  |  (403) 330-6552 | Fax: (780) 675-9402 | www.gajetzki.com
---------------------------------------------------------|------------------
XML Architect - Internet Scientific Publications LLC.    | www.ispub.com
Editor in Chief - Lethbridge Undergrad. Research Journal | www.lurj.org
Lead Developer - phirOSS Open Source Software            | www.phiross.org
Network Analyst - GSchools Inc.                          | www.gschools.com
---------------------------------------------------------|------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux