Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, dear friends, http://www.drbd.org/users-guide-emb/s-first-time-up.html >From above page, I know that to enable our resource at first time, needs to issue below command: Create device metadata. This step must be completed only on initial device creation. It initializes DRBD's metadata: drbdadm create-md resource v08 Magic number not found Writing meta data... initialising activity log NOT initialized bitmap New drbd meta data block sucessfully created. success Attach to backing device. This step associates the DRBD resource with its backing device: drbdadm attach resource Set synchronization parameters. This step sets synchronization parameters for the DRBD resource: drbdadm syncer resource Connect to peer. This step connects the DRBD resource with its counterpart on the peer node: drbdadm connect resource For drbd-8.3.0 , I meet below problem: when command "drbdadm attach r0" issued, it reported error: drbd not loaded; but after I issued command "/etc/init.d/drbd start", it reports "(124) Device is attached to a disk (use detach first)". The detailed information is described below. +++++++++++++++++++++++++++++++++++++++++++++ linux-10:/etc # /etc/init.d/drbd stop Stopping all DRBD resources. linux-10:/etc # linux-10:/etc # linux-10:/etc # linux-10:/etc # drbdadm attach r0 Could not stat("/proc/drbd"): No such file or directory do you need to load the module? try: modprobe drbd Command 'drbdsetup /dev/drbd0 disk /dev/sda10 /dev/sda10 internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 20 drbdadm attach r0: exited with code 20 linux-10:/etc # linux-10:/etc # /etc/init.d/drbd start Starting DRBD resources: [ d(r0) d(r1) d(r2) s(r0) s(r1) s(r2) n(r0) n(r1) n(r2) ]. ..linux-10:/etc # linux-10:/etc # linux-10:/etc # drbdadm attach r0 /dev/drbd0: Failure: (124) Device is attached to a disk (use detach first) Command 'drbdsetup /dev/drbd0 disk /dev/sda10 /dev/sda10 internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 10 linux-10:/etc # ++++++++++++++++++++++++++++++++++++++++++++++ Would you help to explain this? Best regards, Edward _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090219/fa6c3f42/attachment.htm>