Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

Creating a drbd1 device....

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


robert at estrell

Jan 25, 2005, 10:16 PM

Post #1 of 3 (992 views)
Permalink
Creating a drbd1 device....

I am using drbd 0.7.2 for a while now and it was running pretty
good...
until I decided to add another Hardrive, hdb1. It is just a 200G
Hardrive.

I fdisked the hard drive using fdisk /dev/hdb
then I created one partition.../dev/hdb1 for the whole intire
disk...

after the partition was created, I did a mkfs -t ext3 /dev/hdb1

then here is the part I am not sure about...
I created the /dev/drbd1 by using

drbdsetup /dev/drbd1 disk /dev/hdb1 internal -1

I have seen this before on some post but couldn't find the
explanation
about the "-1" thing..

After I have done that..I made the /dev/drbd1 and mounted it...
The problem I have is that when the disk /dev/drbd1 is being filled
up with data, when it has about 99GB of data, it wouldn't allow me to
write anymore to the disk! I read somewhere that well, maybe
the /dev/drbd1
has a different size than the /dev/hdb1 etc etc...

what is the step by step in creating a proper /dev/hdb1 and the
proper /dev/drbd1?

thanks,


Robert



_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


lmb at suse

Jan 26, 2005, 12:53 AM

Post #2 of 3 (942 views)
Permalink
Re: Creating a drbd1 device.... [In reply to]

On 2005-01-26T06:16:26, Robert <robert [at] estrell> wrote:

> after the partition was created, I did a mkfs -t ext3 /dev/hdb1
>
> then here is the part I am not sure about...
> I created the /dev/drbd1 by using
>
> drbdsetup /dev/drbd1 disk /dev/hdb1 internal -1

This is already the wrong order. You should have run mkfs.ext3 on the
/dev/drbd1 device, not on the raw physical disk.


Sincerely,
Lars Marowsky-Brée <lmb [at] suse>

--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business

_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


robert at estrell

Jan 26, 2005, 7:15 AM

Post #3 of 3 (963 views)
Permalink
Re: Creating a drbd1 device.... [In reply to]

Lars Marowsky-Bree <lmb@...> writes:

> This is already the wrong order. You should have run mkfs.ext3 on the
> /dev/drbd1 device, not on the raw physical disk.
>
> Sincerely,
> Lars Marowsky-Brée <lmb@...>
>


Lars,

Yo the man! it works now!
Thanks.


Robert



_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.