tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RAID on raw partitions (was: disklabel problems on 3TB disc)



Hello,

I have similar problem, recently discussed in netbsd-help.

I've read all the thread and had some experiments on 
working 6.0_BETA2/amd64 box. 

Initially task was: Make RAID1 set on 2 3TB disks. 

But I still have no luck:

wd2: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors

1) dk2 device over raid device over dk0/dk1 doesn't work. I also
beleive this setup won't autoconfig properly.

[root@crux ~]$ dkctl raid7 addwedge storage3 128 5860532703 4.2BSD
dk2 created successfully.
[root@crux ~]$ newfs -b64k -O2 /dev/rdk2 
newfs: /dev/rdk2 partition type is not `4.2BSD'

2) newfs over raid device over dk0/dk1 doesn't work either
[root@crux ~]$ newfs -b64k -O2 /dev/rraid7d 
/dev/rraid7d: 764436.3MB (1565565568 sectors) block size 65536

3) raid device over /dev/wd* give me 2TB RAID
[root@crux ~]$ gpt show raid7
       start        size  index  contents
           0           1         PMBR
           1  4294967167         

So, as I understand we got problems using *ANY* device 
ending with 'd' greater 2^32, but not with disklabel itself.
So the only working solution seems to be 
dk2 -> raid -> dk0/dk1 -> wd2/wd3
, but it dont work too.

On Sat, Jul 21, 2012 at 11:02:33PM -0600, Greg Oster wrote:
> On Sat, 21 Jul 2012 23:59:19 +0200
> Edgar Fu? <ef%math.uni-bonn.de@localhost> wrote:

-- 
Sincerelly yours


Home | Main Index | Thread Index | Old Index