
Re: GParted 0.8 and software raid (dmraid)
To solve the problem i create symbolic links to dm devices with names used by GParted.
I use the links created in /dev/disk/by-id to get correct names.
Here is a little shell to do this :
Code:
#!/bin/sh
#
# Configure dmraid devices for gparted
#
# retrieve RAID volume(s)
# create symbolic links to block devices compatible with gparted
dir=$PWD
cd /dev/disk/by-id
ls -l --time-style=long-iso dm-name-* | awk '{
i=0
do { j += i; i=index(substr($10,j),"/") } while (i > 0)
filename = substr($10,j)
command = "ln -s /dev/" filename " /dev/mapper/" substr($8,9)
print command
system( command)
}'
After calling this shell Gparted found my raid disk and all it's partitions.
That works with sysrescuecd 2.1.1 and 2.2.0.