Package: parted Version: 2.3-9.1 Severity: normal When using parted on a drbd device as follows:
/sbin/parted --script /dev/drbd0 mktable msdos /sbin/parted --script /dev/drbd0 -- mkpart primary 8192s -1 I receive this: Error: Error informing the kernel about modifications to partition /dev/drbd0p1 -- Invalid argument. This means Linux won't know about any changes you made to /dev/drbd0p1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting. Error: Failed to add partition 1 (Invalid argument) It seems like parted is trying to get the kernel to acknowledge the new partition, which isn't something I care about with drbd, and I don't want a non-zero error code as a result. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages parted depends on: ii libblkid1 2.20.1-4 ii libc6 2.13-31 ii libdevmapper1.02.1 2:1.02.67-2 ii libparted0debian1 2.3-9.1 ii libreadline6 6.2-8 ii libtinfo5 5.9-6 ii libuuid1 2.20.1-4 parted recommends no packages. Versions of packages parted suggests: pn parted-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org