Re: How to destroy softraid partition

2011-11-19 Thread Ivo Chutkin

On 18.11.2011 P3. 15:50 Q., Nigel Taylor wrote:

On 11/18/11 13:29, Ivo Chutkin wrote:

Hi all,

How can I destroy softraid partition on disk?
I was playing with sofraid, now I want to install fresh copy on same disk.
When I try to delete raid partition disklebel reports:

disklebel: ioctl DIOCWDINFO: Open partition would move or shrink
disklebel: unable to write lebel

How can I delete this partition?

It is snapshot from 16.11.2011. I am not able to extract dmesg, it is HP
microserver with no com port.

Thanks for the help,
Ivo



Hi,

I recently hit the same problem, when trying to change a partition. I
booted using bsd.rd then I could do what I wanted with disklabel.

Nigel



Hi guys,
Unfortunately both solutions does not help.
I booted bsd.rd and disklabel reports the same errors.

If I issue bioctl -d sd2 (which is the softraid disk made from sd0 and 
sd2) it does not find it.

In dmesg there is sd2 and softraid on it.

Any suggestions?

Thanks for the help,
Ivo



Re: How to destroy softraid partition

2011-11-19 Thread Nick Holland
On 11/19/11 07:07, Ivo Chutkin wrote:
...
 Hi guys,
 Unfortunately both solutions does not help.
 I booted bsd.rd and disklabel reports the same errors.
 
 If I issue bioctl -d sd2 (which is the softraid disk made from sd0 and 
 sd2) it does not find it.
 In dmesg there is sd2 and softraid on it.
 
 Any suggestions?
 
 Thanks for the help,
 Ivo

dd zeros over the first few MB of each softraid host partitions (use the
'rsdX' devices), reboot.  Softraid?  There ain't no softraid here!

Probably killing a fly with a rapid-action shotgun, but should work.

Unfortunately, your reports are almost completely devoid of hard info,
so its entirely possible you are doing things wrong.

Nick.



How to destroy softraid partition

2011-11-18 Thread Ivo Chutkin

Hi all,

How can I destroy softraid partition on disk?
I was playing with sofraid, now I want to install fresh copy on same disk.
When I try to delete raid partition disklebel reports:

disklebel: ioctl DIOCWDINFO: Open partition would move or shrink
disklebel: unable to write lebel

How can I delete this partition?

It is snapshot from 16.11.2011. I am not able to extract dmesg, it is HP 
microserver with no com port.


Thanks for the help,
Ivo



Re: How to destroy softraid partition

2011-11-18 Thread Kenneth R Westerback
On Fri, Nov 18, 2011 at 03:29:06PM +0200, Ivo Chutkin wrote:
 Hi all,
 
 How can I destroy softraid partition on disk?
 I was playing with sofraid, now I want to install fresh copy on same disk.
 When I try to delete raid partition disklebel reports:
 
 disklebel: ioctl DIOCWDINFO: Open partition would move or shrink
 disklebel: unable to write lebel
 
 How can I delete this partition?
 
 It is snapshot from 16.11.2011. I am not able to extract dmesg, it
 is HP microserver with no com port.
 
 Thanks for the help,
 Ivo
 

I'm guessing you need to 'bioctl -d something' so a raid volume
doesn't have the partition in question open.

 Ken



Re: How to destroy softraid partition

2011-11-18 Thread Nigel Taylor
On 11/18/11 13:29, Ivo Chutkin wrote:
 Hi all,
 
 How can I destroy softraid partition on disk?
 I was playing with sofraid, now I want to install fresh copy on same disk.
 When I try to delete raid partition disklebel reports:
 
 disklebel: ioctl DIOCWDINFO: Open partition would move or shrink
 disklebel: unable to write lebel
 
 How can I delete this partition?
 
 It is snapshot from 16.11.2011. I am not able to extract dmesg, it is HP
 microserver with no com port.
 
 Thanks for the help,
 Ivo
 
 
Hi,

I recently hit the same problem, when trying to change a partition. I
booted using bsd.rd then I could do what I wanted with disklabel.

Nigel