I am trying to create a RAID1 with two new disks on IBM x3250 M5 (10.0-RELEASE does not have a driver for the existing RAID controller) with no success. There are errors which I don't know how to deal with. And this is critical. So please help. The steps I have done so far as described in the manual:
I disabled the soft journaling with tunefs in single user mode.
The two disks are ada0 and ada1
The operating system installed cleanly with BSD labels on ada0.
So far so good.
And this is the point where I am stuck. I deleted the content of mirror/gm0 and tried again and received the same error. How can I get over this error?
Thank you for your help in advance.
I disabled the soft journaling with tunefs in single user mode.
The two disks are ada0 and ada1
The operating system installed cleanly with BSD labels on ada0.
Code:
gmirror load
diskinfo -v ada0 | head -n3
ada0
512 # sectorsize
1000204886016 # mediasize in bytes (932G)
Code:
gpart show ada0
=> 0 1953525168 ada0 BSD (932G)
0 8388608 1 freebsd-ufs (4.0G)
8388608 8388608 2 freebsd-swap (4.0G)
16777216 2097152 4 freebsd-ufs (1.0G)
18874368 16777216 5 freebsd-ufs (8.0G)
35651584 1917873583 6 freebsd-ufs (915G)
1953525167 1 - free - (512B)
Code:
geom zero load
gnop create -s 1000204886016 gzero
# sysctl kern.geom.debugflags=16
# gmirror label -v gm0 gzero.nop ada1
# gmirror forget gm0
gpart backup ada0 > table.ada0
So far so good.
Code:
#gpart restore mirror/gm0 < table.ada0
gpart: geom 'mirror/gm0': File exists
Thank you for your help in advance.