Originally I made the filesystem on the raw devide /dev/sda5 and it has been flakey. I could write about 10 megs and then the file system would turn into a read-only state. So I read here that the filesystem has to be made on /dev/drbd0.<br><br>Once I start drbd and it creates /dev/drbd0, I am unable to make a filesystem on it. It errors out with "Could not stat /dev/drbd0 --- Permission denied"<br><br>Any help is greatly appreciated!!!!!<br><br><br>[root@fcha1 /]# /etc/init.d/drbd start<br>Starting DRBD resources: [ d0 s0 n0 ].<br>.<br>[root@fcha1 /]# drbdadm primary start<br>[root@fcha1 /]# /etc/init.d/drbd status<br>drbd driver loaded OK; device status:<br>version: 0.7.18 (api:78/proto:74)<br>SVN Revision: 2176 build by root@fcha1, 2006-05-24 13:46:08<br> 0: cs:Connected st:Primary/Secondary ld:Consistent<br> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0<br><br>[root@fcha1 /]# ls -al /dev/drbd0<br>brw-r----- 1 root disk
147, 0 May 25 12:59 /dev/drbd0<br><br>[root@fcha1 /]# mkfs -t ext3 /dev/drbd0<br>mke2fs 1.37 (21-Mar-2005)<br>Could not stat /dev/drbd0 --- Permission denied<br><br>[root@fcha1 /]# dd if=/dev/zero of=/dev/drbd0 bs=1024 count=2<br>2+0 records in<br>2+0 records out<br>[root@fcha1 /]#<br><br>I do have both server instances running under vmware. could drbd be getting confused.<br><br>DRBD version: Version: 0.7.18<br>OS: Fedora Core 4<br>Server Type: VMware<br><br>Config File:<br>---------------------<br>resource r1 {<br> protocol C;<br> incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";<br> startup {<br> degr-wfc-timeout 120; # 2 minutes.<br> }<br><br> disk {<br> on-io-error detach;<br> }<br><br> net {<br> }<br><br> syncer {<br> rate
100M;<br> group 1;<br> al-extents 257;<br> }<br><br> on fcha1 {<br> device /dev/drbd0;<br> disk /dev/sda5;<br> address 192.168.100.1:7788;<br> meta-disk internal;<br> }<br><br> on fcha2 {<br> device /dev/drbd0;<br> disk /dev/sda5;<br> address 192.168.100.2:7788;<br> meta-disk internal;<br> }<br> }<br><p>
                <hr size=1>How low will we go? Check out Yahoo! Messenger�s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.<p>
                <hr size=1>Ring'em or ping'em. Make <a href="http://us.rd.yahoo.com/mail_us/taglines/postman11/*http://us.rd.yahoo.com/evt=39666/*http://voice.yahoo.com"> PC-to-phone calls as low as 1¢/min</a> with Yahoo! Messenger with Voice.