Re: old raid0run

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

 



On Sun, 11 Feb 2007 09:59:29 +0300, Michael Tokarev wrote:

> Marco Scoffier wrote:
>> Hello all,
>> 
>> I have an old raid0 with no superblocks.
>> 

> Well, mdadm is able to assemble it.  It's called 'build' (--build) --
> 
>   mdadm --build -n 2 -c 128 -l 0 /dev/md0 /dev/hde1 /dev/hdg1
>

Thanks for the clarification Micheal.  Reading the docs, I got a little
confused about what --build was for.

>> or should I build a new raid0 and then upgrade that to a raid0 with
>> superblocks (how would I do that?)
> 
> I think the best option is to convert it to raid0-with-superblocks. For
> that, I'd go this route:
> 
>   - build the array as above
>   - fsck the filesystem on it
>   - resize the filesystem to be, say, 1Mb smaller - stop the array -
>   create new array as you've shown above with -C - and finally resize
>   the filesystem to utilize all available space
> 

Thanks for these steps.  I am running them now.

Thanks for an amazingly fast and clear response.

-- 
Marco

-
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