Re: Drop softraid(4) volume?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marco Peereboom <slash@...>
Cc: OpenBSD Misc <misc@...>
Date: Wednesday, April 30, 2008 - 6:24 pm

I thought 'noauto' only was for ignoring the volume upon reboot. What I
want to accomplish is to delete a current volume, e.g. sd2 below.
But I tested anyway, and this is the, perhaps not too surprisingly, result:

# bioctl -i softraid0
Volume Status Size Device
softraid0 0 Online 10813440 sd3 RAID1
0 Online 10813440 0:0.0 noencl
1 Online 10813440 0:1.0 noencl
softraid0 1 Online 21562368 sd2 RAID0
0 Online 10781184 1:0.0 noencl
1 Online 10781184 1:1.0 noencl
# bioctl -C noauto -c 0 -l /dev/sd0a,/dev/sd1a softraid0

bioctl: BIOCCREATERAID: Invalid argument
# bioctl -C noauto -C force -c 0 -l /dev/sd0a,/dev/sd1a softraid0
# bioctl -i softraid0
Volume Status Size Device
softraid0 0 Online 10813440 sd3 RAID1
0 Online 10813440 0:0.0 noencl
1 Online 10813440 0:1.0 noencl
softraid0 1 Online 21562368 sd2 RAID0
0 Online 10781184 1:0.0 noencl
1 Online 10781184 1:1.0 noencl
softraid0 2 Online 21562368 sd4 RAID0
0 Online 10781184 2:0.0 noencl
1 Online 10781184 2:1.0 noencl

/Markus

Marco Peereboom wrote:

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Drop softraid(4) volume?, Markus Bergkvist, (Tue Apr 29, 5:37 pm)
Re: Drop softraid(4) volume?, Marco Peereboom, (Tue Apr 29, 8:13 pm)
Re: Drop softraid(4) volume?, Markus Bergkvist, (Wed Apr 30, 6:24 pm)