On February 26, [EMAIL PROTECTED] wrote:
> I'm currently running a standard v2.2.17 kernel w/ the 'accompanying'
> raid system (linear).
>
> Having the following /etc/mdtab file:
> /dev/md0 linear,4k,0,75f3bcd8 /dev/sdb1 /dev/sdc1 /dev/sdd10 /dev/sde1
>/dev/sdf1 /dev/sdg1
>
> And converted this to a newer /etc/raidtab:
> raiddev /dev/md0
> raid-level linear
> nr-raid-disks 6
> persistent-superblock 1
"old" style linear arrays don't have a super block, so this should
read:
persistent-superblock 0
Given this, you should be able to run mkraid with complete safety as
is doesn't actually write anything to any drive.
You might be more comfortable running "raid0run" instead of "mkraid".
It is the same program, but when called as raid0run, it checks that
your configuration matches an old style raid0/linear setup.
> device /dev/sdb1
> raid-disk 0
> device /dev/sdc1
> raid-disk 1
> device /dev/sdd10
> raid-disk 2
> device /dev/sde1
> raid-disk 3
> device /dev/sdf1
> raid-disk 4
> device /dev/sdg1
> raid-disk 5
>
> And this is what cfdisk tells me about the partitions:
> sdb1 Primary Linux raid autodetect 6310.74
> sdc1 Primary Linux raid autodetect 1059.07
> sdd10 Logical Linux raid autodetect 2549.84
> sde1 Primary Linux raid autodetect 9138.29
> sdf1 Primary Linux raid autodetect 18350.60
> sdg1 Primary Linux raid autodetect 16697.32
>
Autodetect cannot work with old-style arrays that don't have
superblocks. If you want autodetect, you will need to copy the data
somewhere, create a new array, and copy it all back.
NeilBrown
>
> But when I start the new kernel, it won't start the raidsystem...
> I tried the 'mkraid --upgrade' command, but that says something about
> no superblock stuff... Can't remember exactly what it says, but...
>
> And I'm to afraid to just execute 'mkraid' to create the array. I have
> over 50Gb of data that I can't backup somewhere...
>
>
> What can I do to keep the old data, but convert the array to the new
> raid system?
>
> --
> Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just
> ^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are
> / / | | '_ \| | | \ \/ / Debian Certified Linux Developer
> _ /// / /__| | | | | |_| |> < Turbo Fredriksson [EMAIL PROTECTED]
> \\\/ \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden
> --
> Iran domestic disruption Treasury Panama assassination cracking
> genetic Albanian jihad president Noriega AK-47 Khaddafi ammonium DES
> [See http://www.aclu.org/echelonwatch/index.html for more about this]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]