Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I am able to mount the device if I mkfs /dev/drbdX, however it is not what i want. I thought DRBD works on an existing filesystem?? -----Original Message----- From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com]On Behalf Of David Huang Sent: Friday, April 15, 2005 9:54 AM To: drbd-user at lists.linbit.com Subject: RE: [DRBD-user] unable to mount DRBD device? drbdadm state all shows Primary/Secondary drbdadm cstate all shows Connected I am running out of ideas, any help and suggestion is welcome cheers David Huang -----Original Message----- From: M-Ackermann [mailto:Manfred.Ackermann at t-systems.com] Sent: Thursday, April 14, 2005 7:09 PM To: david_huang at proware.com.tw Subject: AW: [DRBD-user] unable to mount DRBD device? One of my configs is: [acki at cm1 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant) [acki at cm1 ~]$ uname -r 2.6.9-5.ELsmp [acki at cm1 ~]$ rpm -qa|grep -i lvm lvm2-2.00.31-1.0.RHEL4 [acki at cm1 ~]$ cat /etc/drbd.conf {...snip...} on some.server.de { device /dev/drbd0; disk /dev/vg0/lv0; address other.server.de:7788; meta-disk internal; } {...snip...} My kernel is a lower release ... For me all works fine. Just for info. What does drbdadm state all; drbdadm cstate all says? Mit freundlichen Grusen Manfred Ackermann T-Systems Systems Integration > Systemadministrator SSC NITS Industry Business Unit Telco T-Systems International GmbH Utbremer Strase 90, D-28217 Bremen Telefon: +49 421 3799-815 Telefax: +49 421 3799-169 E-Mail: prsm-eznord at t-systems.com Internet: http://www.t-systems.com -----Ursprungliche Nachricht----- Von: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com]Im Auftrag von David Huang Gesendet: Donnerstag, 14. April 2005 13:00 An: drbd-user at lists.linbit.com Betreff: RE: [DRBD-user] unable to mount DRBD device? thanks for the quick reply! :) Sorry I think I didn't explain the stituation clearly. I was trying to mount the primary side's device. I was wondering it happened becuase of LVM2, because I am using DRBD on top of LVM2 with kernel 2.6.10 cheers David Huang -----Original Message----- From: M-Ackermann [mailto:Manfred.Ackermann at t-systems.com] Sent: Thursday, April 14, 2005 6:55 PM To: david_huang at proware.com.tw Subject: AW: [DRBD-user] unable to mount DRBD device? > After syncing an existing filesystem to secondary, I try to mount the drbd device, > however it always shows "mount: /dev/drbd0: can't read superblock", is there > something wrong in my config file? the filesystem is using XFS and I am using > DRBD 0.7.8 Remember: Only the primary side can be mounted! You're sure you've keept that in mind? --- Manfred Ackermann T-Systems Systems Integration > Systemadministrator SSC NITS Industry Business Unit Telco T-Systems International GmbH Utbremer Strase 90, D-28217 Bremen Telefon: +49 421 3799-815 Telefax: +49 421 3799-169 E-Mail: prsm-eznord at t-systems.com Internet: http://www.t-systems.com -----Ursprungliche Nachricht----- Von: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com]Im Auftrag von David Huang Gesendet: Donnerstag, 14. April 2005 12:51 An: drbd-user at lists.linbit.com Betreff: [DRBD-user] unable to mount DRBD device? hello everyone I am experiencing some problem when I am using DRBD. After syncing an existing filesystem to secondary, I try to mount the drbd device, however it always shows "mount: /dev/drbd0: can't read superblock", is there something wrong in my config file? the filesystem is using XFS and I am using DRBD 0.7.8 the attachment is my drbd.conf cheers David Huang