All of lore.kernel.org
 help / color / mirror / Atom feed
* Can't remove missing drive
@ 2010-10-30  7:37 William Uther
  2010-10-31  5:55 ` Brian Rogers
  2010-10-31 12:01 ` Chris Mason
  0 siblings, 2 replies; 5+ messages in thread
From: William Uther @ 2010-10-30  7:37 UTC (permalink / raw)
  To: linux-btrfs

Hi,
  I have a raid1 setup with a missing device.  I have added a new device and everything seems to be working fine, except I cannot remove the old, missing, device.  There is no error - but the 'some devices missing' tag doesn't go away.

root@willvo:~# btrfs filesystem show
failed to read /dev/sr0
Label: none  uuid: f929c413-01c8-443f-b4f2-86f36702f519
    Total devices 3 FS bytes used 578.39GB
    devid    1 size 931.51GB used 604.00GB path /dev/sdb1
    devid    2 size 931.51GB used 604.00GB path /dev/sdc1
    *** Some devices missing

Btrfs Btrfs v0.19
root@willvo:~# btrfs device delete missing /data
root@willvo:~# btrfs filesystem show
failed to read /dev/sr0
Label: none  uuid: f929c413-01c8-443f-b4f2-86f36702f519
    Total devices 3 FS bytes used 578.39GB
    devid    1 size 931.51GB used 604.00GB path /dev/sdb1
    devid    2 size 931.51GB used 604.00GB path /dev/sdc1
    *** Some devices missing

Btrfs Btrfs v0.19

There are a number of sub-volumes of /data that are mounted in other locations.  I'm using kernel 2.6.36 (the lucid backport of the natty kernel) and similar btrfs-tools (lucid backport of natty tools).  Interestingly looking at the output of `dh -h`, it appears that the 'missing' devices are no longer being counted in the filesystem size - there is just a phantom 'missing' tag in btrfs-show.

Is this actually a problem, or can I just keep running as is?  It seems to mount fine without -odegraded.

Any ideas how I can list the missing devices?  Any ideas on how I can remove the missing devices?

Be well,

Will        :-}


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-06  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30  7:37 Can't remove missing drive William Uther
2010-10-31  5:55 ` Brian Rogers
2010-11-01  0:36   ` William Uther
2010-11-06  7:11     ` William Uther
2010-10-31 12:01 ` Chris Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.