[DRBD-user] Installing drbd-8.2.6-3.2.x86_64.rpm on SLES 10 SP2

LLLActive at GMX.Net LLLActive at GMX.Net
Wed Jan 21 18:10:47 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi all,

I am installing drbd-8.2.6-3.2.x86_64.rpm on SLES 10 SP2.

First I installed the rpm. It installed without errors. I configured and
prepared the resource without a problem.

#### BUT ####
modprobe -l drbd
FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep:
No such file or directory



_My installation - step-by-step_

I then used the installation procedures on www.drbd.org. drbd does not run:

Step 1. Chapter 3. Installing pre-built DRBD binary packages.

################################################################
SLE10:~/Local-Data/Downloads/drbd-8.2.6-3.2.x86_64 # rpm -iv
drbd-8.2.6-3.2.x86_64.rpm
warning: drbd-8.2.6-3.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key
ID d5e55652
Preparing packages for installation...
drbd-8.2.6-3.2
################################################################

Step 2: Chapter 5. Configuring DRBD
Step 3: Chapter 5. Preparing your lower-level storage

######################################
SLE10:~/DRBD # dd if=/dev/zero of=/dev/sdb1 bs=10M count=1
1+0 records in
1+0 records out
10485760 bytes (10 MB) copied, 2.20914 seconds, 4.7 MB/s
######################################

Step 4: Chapter 5. Configuring your resource

drbd.conf:
####

resource r0 {

  protocol C;
  startup {

    wfc-timeout  60;

    degr-wfc-timeout 60;    # 1 minute.
  }

  disk {

    on-io-error   detach;

  }

  }

  syncer {

    rate 700000;
    al-extents 257;
  }

    #***************************
    # Edited - Al
    #
    # disk       /dev/sdb1;
    # address    10.9.8.4:7788;
    #****************************

  on SLE10-4 {
    device     /dev/drbd0;
    disk       /dev/sdb1;
    address    10.9.8.4:7788;
    meta-disk  internal;

  }

    #***************************
    # Edited - Al
    #
    # disk      /dev/sdb1;
    # address   10.9.8.3:7788;
    #***************************

  on SLE10-3 {
    device    /dev/drbd0;
    disk      /dev/sdb1;
    address   10.9.8.3:7788;
    meta-disk internal;
  }
}



#*************************
# Skipping the rest - Al *
#*************************

skip {
...
}
####

Step 5: Chapter 5. Enabling your resource for the first time
            
################################################################

SLE10:~/DRBD # dd if=/dev/zero of=/dev/sdb1 bs=10M count=1
1+0 records in
1+0 records out
10485760 bytes (10 MB) copied, 2.20914 seconds, 4.7 MB/s

Step 6: Create device metadata

####
SLE10:~/DRBD # drbdadm create-md r0
v08 Magic number not found
v07 Magic number not found
v07 Magic number not found
v08 Magic number not found
Writing meta data...
initialising activity log
NOT initialized bitmap
New drbd meta data block sucessfully created.

                --== Creating metadata ==--
As with nodes, we count the total number of devices mirrored by DRBD at
at http://usage.drbd.org.

The counter works anonymously. It creates a random number to identify
the device and sends that random number, along with
DRBD's version number, to usage.drbd.org.

http://usage.drbd.org/cgi-bin/insert_usage.pl?nu=11061201859283332014&ru=2090950355613862885&rs=15003
15715584

* If you wish to opt out entirely, simply enter 'no'.
* To continue, just press [RETURN]

success
####

Step 7. Attach to backing device

####*
*drbdadm attach r0
No response from the DRBD driver! Is the module loaded?
Command 'drbdsetup /dev/drbd0 disk /dev/sdb1 /dev/sdb1 internal
--set-defaults --create-device --on-io-error=detach' terminated with
exit code 20
drbdadm aborting
####

Step 8. Checking if drbd is running:

LE10:~/Local-Data/Downloads/drbd-8.2.6-3.2.x86_64 # modprobe -l drbd
FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep:
No such file or directory

#### NOT RUNNING ####

Step 8. Maybe installation did not work properly on x86_64 system ??

SLE10:~~/drbd-8.2.6-3.2.x86_64 # rpm -iv --replacepkgs
drbd-8.2.6-3.2.x86_64.rpm
warning: drbd-8.2.6-3.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key
ID d5e55652
Preparing packages for installation...
drbd-8.2.6-3.2

modprobe -s drbd

Log in Syslog:
modprobe: FATAL: Could not load
/lib/modules/2.6.16.60-0.21-default/modules.dep: No such file or directory

Any Ideas?

TIA

:-) Al



More information about the drbd-user mailing list