Yes I've read the webpage and documentation I've found.<br><br>I'm a bit stumped now, trying to set it up fresh.<br><br>Some documentation says not to use meta-disk internal with a raw device,<br>other documentation says to "shrink" the file system.
<br><br>But if you're using a raw disk, there is no file system.<br><br>my drbd.conf -<br> on TEST-01 {<br> device /dev/drbd0;<br> disk /dev/cciss/c0d1;<br> address <a href="http://192.168.22.11:7788">
192.168.22.11:7788</a>;<br> meta-disk internal;<br><br>on TEST02 {<br> device /dev/drbd0;<br> disk /dev/cciss/c0d1;<br> address <a href="http://192.168.22.12:7788">192.168.22.12:7788</a>;<br> meta-disk internal;
<br><br>this is an HP proliant DL380 server with a raid controller, two drives as Raid 1 (mirrored) as /dev/cciss/c0d1<br>no partitions or filesystem setup yet.<br><br>Documentation says not to use low-level disk tools (I assumed mkfs is included in this),
<br><br>but running:<br>drbdsetup /dev/drbd0 disk /dev/cciss/c0d1 0<br>doesn't work<br><br>and the only documentation I can find suggests using:<br>drbdadm up all<br><br>this fails, Device or resource busy - terminated with exit code 20
<br><br>trying to mkfs (anyhow) results in: could not open /dev/drbd0: Read-only file system<br><br>Linux partitioner creates (automatically) a /dev/evms/cciss device, but attempting to mkfs this results in an error as well (error code 3031)
<br><br>I have a raw device /dev/cciss/c0d1 which I want drbd to use with (preferrably) it's own internal meta-disk, and automatically setup the partitions.<br><br>Or do I have to manually partition it as /dev/cciss/c0d1p1 (1gig) and c0d1p2 (the rest) and then redo this with the c0d1p1 formatted or something ?
<br><br>My head hurts trying to make sense of this. and i know its something stupid (again).<br><br>Dan.<br>