[DRBD-user] Multi-disk devices possible?

Sebastian spa at syntec.co.uk
Fri Jun 3 11:50:17 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Thanks David.
BTW, for some reason your message was not archived at
http://lists.linbit.com/pipermail/drbd-user/2011-June/thread.html.

Kind regards, 

Sebastian  
  

  _____  

From: David Go [mailto:davidgo at ipayroll.co.nz] 
Sent: 02 June 2011 20:58
To: Sebastian; drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] Multi-disk devices possible?



I don't think what you are trying to do is possible.  I believe that an
appropriate way to do this would be to set up LVM instead of using the
underlying block device.   (Have a look at
http://www.howtoforge.com/linux_lvm) This can have an added advantage of
allowing you to do snapshot backups of the block device.  

Cheers, 
David 

On Thu, 2 Jun 2011 15:57:23 +0100, Sebastian wrote 
> Hello list!  First post, so treat me gently, please! ;) 
>   
> Is it possible to have more than 1 'disk' (i.e. as listed in the example
config below) for each device?  The manual
(http://www.drbd..org/users-guide/re-drbdconf.html
<http://www.drbd.org/users-guide/re-drbdconf.html> ) is not explicit on this
point...  If it is possible, what is the correct syntax?  I have several
disks, but wish them presented as a single /dev/drbd device...  Finally, if
possible, can the extra disk(s) be added if I already have a resource
working with 2 nodes with 1 disk on each?  I don't mind taking down 1 node
if necessary, but I would rather not delete the resource and start again... 
>   
> *node1 /etc/drbd.conf: 
> global { usage-count yes; } 
> common { syncer { rate 10M; } } 
> resource rA { 
>     protocol C; 
>      meta-disk internal; 
>   
>     on node1 { 
>         address 10.0.0.1:7789; 
>         device /dev/drbd0 
>         disk /dev/sda; 
>     } 
>     on node2 { 
>         address 10.0.0.10:7789; 
>         device /dev/drbd0 
>         disk /dev/sda; 
>     } 
> } 
>   
> Many thanks and kind regards, 
> Sebastian 
>   


David Go 
for iPayroll Ltd 
---- 
iPayroll 
Phone:     +64 9 377-1517 
Fax:     +64 9 377-1529 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110603/11ac9830/attachment.htm>


More information about the drbd-user mailing list