On Wed, Nov 30, 2011 at 5:16 PM, Joel Sing <j...@sing.id.au> wrote: > On Wednesday 30 November 2011, Mattieu Baptiste wrote: >> Hi all, >> >> I'm trying to reassemble a softraid(4) volume, created with the 'force' >> flag. When I'm trying: >> # bioctl -C force -c C -l /dev/sd1a softraid0 >> softraid0: chunk sd1a already in use >> bioctl: ioctl: Invalid argument >> >> According to the manpage, '-c' flag only seems to create the volume, >> and not simply assemble it. I don't see anything else to reassemble a >> volume. What's the correct way, if any ? Is it supported ? > > The -c flag creates a volume - if these are chunks have no metadata then it > will create new metadata, otherwise it will reassemble the volume from the > existing metadata.
Thanks for the explanation Joel. My crypto volume was created with 'noauto' (not 'force'). I was trying to reassemble with 'force' which effectively reinitialise metadata. Now everything is ok. -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."