[Bug 880645] Re: "btrfs device delete /dev/sdaX /" fails with error "ERROR: error removing the device '/dev/sdaX'"
Ketil Malde
ketil at malde.org
Tue Jan 17 09:27:56 UTC 2012
I get an error when trying to remove one disk from a set of three (so metadata could still be mirrored). This is on Precise Pangolin. I also include the output of "filesystem show", as something clearly happened here, although I'm unsure how to interpret it.
% sudo btrfs fi show
Label: 'scratch' uuid: 184706ea-89f5-438a-a9f5-b5e91b3ce267
Total devices 3 FS bytes used 140.62GB
devid 1 size 2.73TB used 138.02GB path /dev/sda
devid 2 size 2.73TB used 137.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
% sudo btrfs dev del /dev/sdc /scratch
ERROR: error removing the device '/dev/sdc'
% sudo btrfs fi show
Label: 'scratch' uuid: 184706ea-89f5-438a-a9f5-b5e91b3ce267
Total devices 3 FS bytes used 141.49GB
devid 1 size 2.73TB used 75.03GB path /dev/sda
devid 2 size 2.73TB used 75.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
Btrfs Btrfs v0.19
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/880645
Title:
"btrfs device delete /dev/sdaX /" fails with error "ERROR: error
removing the device '/dev/sdaX'"
Status in “btrfs-tools” package in Ubuntu:
Confirmed
Bug description:
What I did to cause this:
Installed ubuntu using btrtfs root.
Added a device with 'btrfs device add /dev/sda9 /'
Balanced the file system with 'btrfs filesystem balance /'
Tried to remove a device with 'btrfs device delete /dev/sda9 /'. Noticed that I got the error "ERROR: error removing the device '/dev/sda9'".
(Unfortunately, I'm not sure how to get more information on the
problem.)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: btrfs-tools 0.19+20100601-3ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 24 00:44:42 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111010)
ProcEnviron:
LC_CTYPE=C
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: btrfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/880645/+subscriptions
More information about the foundations-bugs
mailing list