Boa noite ...

Estou tendo s�rios problemas ao implementar a solu��o de replica��o de
discos com o DRBD. A mensagem de erro � a abaixo:

root@alpha init.d]# /etc/ha.d/resource.d/datadisk start
Becoming primary on DRBD resource drbd0...                 [  OK  ]
performing fsck on drbd0                                   [  OK  ]
reiserfs_read_super: unable to read superblock on dev 2b:00
reiserfs_read_super: try to find super block in old location
reiserfs_read_super: unable to read superblock on dev 2b:00
mount: tipo de sistema de arquivos incorreto, op��o inv�lida, superbloco
inv�lido em /dev/nb0,
       ou n�mero excessivo de sistemas de arquivos montados
Mounting shared device on /dev/nb0...                      [FALHOU]
Becoming secondary on DRBD resource drbd0...               [  OK  ]

[root@alpha init.d]# mount
/dev/hda1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda2 on /usr type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
[root@alpha init.d]#

O m�dulo drbd.o est� carregado. Abaixo est� o meu /etc/fstab:

/dev/hda1        /                ext2       defaults         1  1
/dev/hda2        /usr             ext2       defaults         1  2
/dev/hda5        swap             swap       defaults         0  0
#/dev/hda6        /dados           ext2       defaults         1  3
#/dev/hda4        /teste           reiserfs   defaults         0  0
/dev/nb0        /teste           reiserfs   noauto,sync         0  0
/dev/fd0         /mnt/floppy      auto       user,noauto      0  0
/dev/cdrom       /mnt/cdrom       iso9660    user,noauto,ro   0  0
none             /proc            proc       defaults         0  0
none             /dev/pts         devpts     gid=5,mode=620   0  0

e este abaixo � o meu /etc/sysconfig/drbd/drbd0

# master and slave addr addr[:port]
# default port: 7788
# Important: don't use domain names here, only the hostnames
# as reported by hostname -s
MASTER_NODE="admin:7788"
SLAVE_NODE="alpha:7788"


# If you have machines with multiple NICs, you may want to specify
# the interface by it's IP address here.
#
# If you machines only have one NIC do not set these, BY LEAVING
# THEM WITH EMPTY QUOTES. Otherwise you will confuse init.d/drbd.
# That means, DO NOT COMMENT THEM OUT! :)
#
# If you use these fields, put any port identifies (:[0-9]+) here, you
# do not need to specify them at the *_NODE entries.
MASTER_IF=""
SLAVE_IF=""

# Options:
#       -t --timeout  val
#          If communication blocks for val * 1/10 seconds,
#          drbd falls back into unconnected operation.
#          Default: 30 = 3 sec.
#
#       -r --sync-rate val
#          The synchronisations sends up to val KB per sec.
#          Default: 250 = 250 KB/sec
#
#       -k --skip-sync
#          Instruct drbd not to do synchronisation.
#
#       -s --tl-size val
#          Sets the size of the transfer log(=TL). The TL is
#          is used for dependency analysis. For long latency
#          high bandwith links it might be necessary to set
#          the size bigger than 256.#          You will see error messages
in the system log

#          if the TL is too small.
#          Default: 256 entries
#
#       -d --disk-size val
#          Sets drbd's size. When set to 0 drbd negotiates the
#          size with the remote node.
#          A value different from 0 will allow drbd to operate even without
#          a connection to the other node. Make sure sizes match!
#          Default: 0 KB.
#
#       -p --do-panic
#          drbd will trigger a kernel panic if there is an
#          IO error on the lower_device. May be usefull when
#          drbd is used in a HA cluster.
OPTIONS=""

# Protocol used for this device
# protocol may be A, B or C.
PROTOCOL="B"

# Devices used in master and slave (may be different on each machine)
MASTER_DEVICE="/dev/nb0"
SLAVE_DEVICE="/dev/nb0"

# Partitions for drbd (can be a different partition on each machine)
MASTER_PARTITION="/dev/hda6"
SLAVE_PARTITION="/dev/hda4"

# fsck command (ALWAYS keep the -p for automatic error correction)
MASTER_FSCK="fsck -p -y"
SLAVE_FSCK="fsck -p -y"


Algu�m poderia me dar uma ajuda, j� li a documenta��o no site de quem
desenvolveu e a da Conectiva
(Manual do servidor), � qual na minha "humilde opini�o" nesta parte do
manual faltam dados
importantes.

Obrigado e desculpem o mail longoooooooo. :-)

Andr� Gaio



Assinantes em 22/05/2001: 2282
Mensagens recebidas desde 07/01/1999: 114604
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a