Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: DRBD and GFS2 Issues
PostPosted: Wed Jan 29, 2014 5:13 am 
Offline

Joined: Wed Jan 29, 2014 5:06 am
Posts: 1
I am using DRBD and I just synced 40GB between 2 nodes for the last 3 days and I am using GFS2 without LVM, I formatted the partition just fine but now I can't mount it

Code:
    /sbin/mount.gfs2: invalid device path "/dev/drbd1"
    none: No such file or directory


and this is how I formatted my drbd1

Code:
mkfs.gfs2 -p lock_dlm -t cluster-setup:res0 /dev/drbd1 -j 2


and this is my /etc/drbd.conf
Code:
    global { usage-count yes; }
    common { syncer { rate 100M; } }
    resource res0 {
      protocol C;
      startup {
        wfc-timeout 20;
        degr-wfc-timeout 10;
        # we will keep this commented until tested successfully:
        # become-primary-on both;
      }
      net {
        # the encryption part can be omitted when using a dedicated link for DRBD only:
        # cram-hmac-alg sha1;
        # shared-secret anysecrethere123;
        allow-two-primaries;
      }
      on node1 {
        device /dev/drbd1;
        disk /dev/xvdb1;
        address 10.21.127.51:7789;
        meta-disk internal;
      }
      on node2 {
        device /dev/drbd1;
        disk /dev/xvdb1;
        address 10.21.127.52:7789;
        meta-disk internal;
      }
      disk {
        fencing resource-and-stonith;
      }
      handlers {
        #outdate-peer "/sbin/handler";
      }
    }


and this is my mount line in /etc/fstab

Code:
/dev/drbd1       /drbd         gfs2    defaults,noatime,nodiratime  0 0


and I even tried to mount using the UUID but I get the same error, also I am facing problem with res name which comes out as not found, any suggestions?

Code:
"1:??not-found??" SyncSource Primary/Primary UpToDate/UpToDate C r----"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group