[Bug 1104797] [NEW] partprobe silently fails where blockdev --rereadpt succeeds

Tristan Schmelcher tristan_schmelcher at alumni.uwaterloo.ca
Fri Jan 25 06:20:19 UTC 2013


Public bug reported:

I ran shred on a hard drive (/dev/sdd) and then tried to run partprobe
to make the device node for its sole partition disappear (/dev/sdd1). It
was not mounted at the time. partprobe claimed to succeed, but in fact
it did nothing. Running "blockdev --rereadpt /dev/sdd" worked.

$ sudo partprobe
$ ls /dev/sdd*
/dev/sdd  /dev/sdd1
$ sudo partprobe /dev/sdd
$ ls /dev/sdd*
/dev/sdd  /dev/sdd1
$ sudo blockdev --rereadpt /dev/sdd
$ ls /dev/sdd*
/dev/sdd
$

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: parted 2.3-10ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Thu Jan 24 22:08:03 2013
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: parted
UpgradeStatus: Upgraded to quantal on 2012-10-28 (88 days ago)

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1104797

Title:
  partprobe silently fails where blockdev --rereadpt succeeds

Status in “parted” package in Ubuntu:
  New

Bug description:
  I ran shred on a hard drive (/dev/sdd) and then tried to run partprobe
  to make the device node for its sole partition disappear (/dev/sdd1).
  It was not mounted at the time. partprobe claimed to succeed, but in
  fact it did nothing. Running "blockdev --rereadpt /dev/sdd" worked.

  $ sudo partprobe
  $ ls /dev/sdd*
  /dev/sdd  /dev/sdd1
  $ sudo partprobe /dev/sdd
  $ ls /dev/sdd*
  /dev/sdd  /dev/sdd1
  $ sudo blockdev --rereadpt /dev/sdd
  $ ls /dev/sdd*
  /dev/sdd
  $

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: parted 2.3-10ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Thu Jan 24 22:08:03 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: parted
  UpgradeStatus: Upgraded to quantal on 2012-10-28 (88 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1104797/+subscriptions




More information about the foundations-bugs mailing list