[DRBD-user] Re: DRBD - Read-only mode file system after failure

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Oct 17 19:23:33 CEST 2005

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


/ 2005-10-17 16:54:34 +0000
\ Tom Gissel:
> Lars Ellenberg <Lars.Ellenberg at ...> writes:
> > 
> > have a look into syslog.
> > 
> > did you by any chance use internal meta data, but created the file
> > system on the underlying block device, instead of on /dev/drbd ?
> > 
> > do you use a buggy kernel (bio_clone)?
> > 
> 
> 
> 
> Thanks Lars.  Indeed I did "use internal meta data, but created the file system 
> on the underlying block device". I created the fs on /dev/hda5, but will now try 
> creating the fs on /dev/nbX.  
> 
> Relatedly, if the underlying block device, e.g. /dev/hda3, already has a 
> filesystem do I have to delete it before creating the overlayed fs on drbd?  

if it supports it (likely) you can resize it, e.g. use resize2fs for ext3.

> Should I copy the files off the existing filesystem then create the filesystem 
> on drbd and copy the data back over?

that of course works as well, and in some cases (really huge file system,
but not much data on it) might be faster than resizing.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list