Your message dated Tue, 22 May 2007 20:47:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#409161: fixed in drbd0.7 0.7.24-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: drbd0.7-utils
Version: 0.7.21-4
I have DRBD configuration to set /dev/drbd0 for lower device /dev/hda2 of
size 20GB with metadata stored on special partition /dev/hdb1.
resource drbd0 {
protocol C;
syncer {
rate 5M;
group 1;
}
disk {
on-io-error detach;
}
on host1 {
device /dev/drbd0;
disk /dev/hda2;
address host1-IP:7788;
meta-disk /dev/hdb1[0];
}
on host2 {
device /dev/drbd0;
disk /dev/hda2;
address host2-IP:7788;
meta-disk /dev/hdb1[0];
}
}
When I resize partition hda2 to 10GB and want to use it now, drbdsetup writes
ioctl(,SET_DISK_CONFIG,) failed: Invalid argument
Low.dev. smaller than requested DRBD-dev. size.
The only solution for me is to manually write zeros (using dd) to section of
hdb1 which contains metadata for this drbd.
When I have hdb1 for metadata of more DRBD devices it is very dangerous to
write zeros by the hand IMO.
Is there any other solution how to clean metadata for specific DRBD device or
how to force start drbd device ignoring metadata information and create new
metadata? When there is no other solution than "dd", it would be fine add
another argument to drbdsetup DEV disk to ignore old metadata, overwrite old
metadata, clean old metadata or force device size. For example:
drbdsetup /dev/hdb1 metadata { --clean | --forget | --reset } 0
drbdsetup /dev/drbd0 disk /dev/hda2 /dev/hdb1 0 --force-size NEWSIZE
drbdsetup /dev/drbd0 disk /dev/hda2 /dev/hdb1 0 --update-size
drbdsetup /dev/drbd0 disk /dev/hda2 /dev/hdb1 0 --clean-old-metadata
drbdsetup /dev/drbd0 disk /dev/hda2 /dev/hdb1 0 --overwrite-metadata
drbdsetup /dev/drbd0 disk /dev/hda2 /dev/hdb1 0 --ignore-old-metadata
Running on Debian GNU/Linux 4.0 (Etch), kernel-2.6.18-3-xen-686,
libc6-2.3.6.ds1-8.
Thank you.
Regards.
Robert Wolf.
--- End Message ---
--- Begin Message ---
Source: drbd0.7
Source-Version: 0.7.24-1
We believe that the bug you reported is fixed in the latest version of
drbd0.7, which is due to be installed in the Debian FTP archive:
drbd0.7-module-source_0.7.24-1_all.deb
to pool/main/d/drbd0.7/drbd0.7-module-source_0.7.24-1_all.deb
drbd0.7-utils_0.7.24-1_i386.deb
to pool/main/d/drbd0.7/drbd0.7-utils_0.7.24-1_i386.deb
drbd0.7_0.7.24-1.diff.gz
to pool/main/d/drbd0.7/drbd0.7_0.7.24-1.diff.gz
drbd0.7_0.7.24-1.dsc
to pool/main/d/drbd0.7/drbd0.7_0.7.24-1.dsc
drbd0.7_0.7.24.orig.tar.gz
to pool/main/d/drbd0.7/drbd0.7_0.7.24.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Philipp Hug <[EMAIL PROTECTED]> (supplier of updated drbd0.7 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 22 May 2007 22:10:25 +0200
Source: drbd0.7
Binary: drbd0.7-module-source drbd0.7-utils
Architecture: source i386 all
Version: 0.7.24-1
Distribution: unstable
Urgency: low
Maintainer: Cyril Bouthors <[EMAIL PROTECTED]>
Changed-By: Philipp Hug <[EMAIL PROTECTED]>
Description:
drbd0.7-module-source - RAID 1 over tcp/ip for Linux module source
drbd0.7-utils - RAID 1 over tcp/ip for Linux utilities
Closes: 409161
Changes:
drbd0.7 (0.7.24-1) unstable; urgency=low
.
* New upstream release
* Added watch file
* Backport drbdmeta command from drbd8 (Closes: #409161)
Files:
a08950ec21af41c5c554646298ea431d 725 admin extra drbd0.7_0.7.24-1.dsc
b2c7335514a355b874a634dc12b22522 292132 admin extra drbd0.7_0.7.24.orig.tar.gz
7e0f8ca4ebae48c7fad2ae0ce0619be8 38578 admin extra drbd0.7_0.7.24-1.diff.gz
19d75eb8eb1a7aeb7a6b0fc85ce29c68 297774 admin extra
drbd0.7-utils_0.7.24-1_i386.deb
5fe885de21ad4c6967c6d81cda5adb98 145062 admin extra
drbd0.7-module-source_0.7.24-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGU1XfaZN+myf86ycRAq1YAJ0YfbyWOLfWTknh4mKkWmVVDytYYQCfet1v
kI3hPpfTNcIlYitfWY+p9NU=
=v4RY
-----END PGP SIGNATURE-----
--- End Message ---