Hi,

On 23.05.2012 17:12, Mahmoud Alshinhab wrote:
> Dears Kindly help as I Can’t create the drbd device because of this
> error message

The full error message already contains everything. I have quoted the
relevant parts below and am going to interpret it for you:

Your disk already contains a filesystem and uses the space up to the
last bit.
If you don't want to preserve the fs, copy some random stuff or zeros to
the first couple of MB of the partition.
If you want to preserve the data and just add redundancy, shrink the
filesystem a bit to make room for drbd's internal meta data and then try
the create-md again. Or learn about and use external meta-data.

Hope that helps,

Arnold

<snip>
> Found ext3 filesystem which uses 5237156 kB
> current configuration leaves usable 5236960 kB
> 
> Device size would be truncated, which
> would corrupt data and result in
> 'access beyond end of device' errors.
> You need to either
>    * use external meta data (recommended)
>    * shrink that filesystem first
>    * zero out the device (destroy the filesystem)
> Operation refused.
> 
> Command 'drbdmeta /dev/drbd1 v08 /dev/sdb1 internal create-md'
> terminated with exit code 40
> drbdadm aborting
-- 
Dieses Email wurde elektronisch erstellt und ist ohne handschriftliche
Unterschrift gültig.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to