LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2017, 01:14 PM   #1
briansnyder00
LQ Newbie
 
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
Help with DRBD


Hello All!

I am having a problem mounting existing data from a non-drbd to drbd environment.

I started with a iSCSI target server running linux. It was mounted and formatted by a windows server as an NTFS partition.

Then I tried to take the existing data, create a drbd replicated volume, and re-present it as an iSCSI volume to windows. The problem is, the volume shows in Windows as it should except it is unformatted. I would really hate to start over it was almost 30TB of data.

Original:
/dev/disk/by-id/something <> iscsi target
After:
/dev/disk/by-id/something <> /drbd0
/drbd0 <> /iscsi target

I did run:
drbdadm create-md r0
drbdadm up r0
drbdadm primary --force r0
on the original volume. Would this have destroyed my partition?

Thanks for any help you can provide!
Brian
 
Old 09-01-2017, 10:24 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by briansnyder00 View Post
I did run:
drbdadm create-md r0
drbdadm up r0
drbdadm primary --force r0
on the original volume. Would this have destroyed my partition?
I'm not sure. Depends on what you did afterward. Per the DRBD docs: http://docs.linbit.com/docs/users-gu...repare-storage

Quote:
It is not necessary for this storage area to be empty before you create a DRBD resource from it. In fact
it is a common use case to create a two-node cluster from a previously non-redundant single-server system
using DRBD (some caveats apply — please refer to DRBD meta data if you are planning to do this).
YMMV!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DRBD paulus89 Linux - Newbie 1 07-07-2014 11:25 PM
DRBD newFreeBSD SUSE / openSUSE 1 09-24-2013 01:42 AM
servers freeze at service drbd start / modprobe drbd Gil@LQ Linux - Networking 0 03-22-2013 02:44 PM
Help with drbd KAOZ_IT Linux - Server 1 08-29-2007 01:31 AM
Drbd vsergeev Linux - Networking 0 07-30-2007 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration