Re: can't create softraid crypto volume

2010-12-11 Thread Nick Holland
On 12/11/10 21:37, Jonathan Thornburg wrote:
> I'm trying to set up a softraid crypto volume on top of a disk partition
> /dev/wd0j (on an i386 laptop running 4.8-release).  I'm using
>   # bioctl -c C -r 10 -l /dev/wd0j softraid0
> to try to initially create the softraid volume.  I expected this to
> prompt me (twice) for a passphrase, then give me a softraid0 device
> somehow accessible as /dev/sd0 or suchlike.  Instead, it complains
>   bioctl: ioctl: Invalid argument
> while my console window says
>   softraid0: Invalid metadata format
> 
> What am I doing wrong?  What's the right way to initially create a
> softraid crypto volume on top of a disk partition?  Is there a FM I
> should R to be enlighted (beyond softraid(4) and bioctl(8) which I've
> already read)?
> 
> thanks, ciao,
> 

Sounds like bioctl is seeing something that looks like a softraid
partition already in place.  Easy to do, 'specially in the learning
phase (create, change...ashes left behind).  Did you zero the start of
your wd0j partition?  is wd0j of fstype RAID in disklabel?

Nick.



can't create softraid crypto volume

2010-12-11 Thread Jonathan Thornburg
I'm trying to set up a softraid crypto volume on top of a disk partition
/dev/wd0j (on an i386 laptop running 4.8-release).  I'm using
  # bioctl -c C -r 10 -l /dev/wd0j softraid0
to try to initially create the softraid volume.  I expected this to
prompt me (twice) for a passphrase, then give me a softraid0 device
somehow accessible as /dev/sd0 or suchlike.  Instead, it complains
  bioctl: ioctl: Invalid argument
while my console window says
  softraid0: Invalid metadata format

What am I doing wrong?  What's the right way to initially create a
softraid crypto volume on top of a disk partition?  Is there a FM I
should R to be enlighted (beyond softraid(4) and bioctl(8) which I've
already read)?

thanks, ciao,

-- 
-- "Jonathan Thornburg [remove -animal to reply]" 

   Dept of Astronomy, Indiana University, Bloomington, Indiana, USA
   "Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral."
  -- quote by Freire / poster by Oxfam