All of lore.kernel.org
 help / color / mirror / Atom feed
* Fixing a degraded RAID
@ 2014-04-19  2:36 Michael Welsh Duggan
  2014-04-19  2:49 ` Chris Murphy
  2014-04-19  3:23 ` Michael Welsh Duggan
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Welsh Duggan @ 2014-04-19  2:36 UTC (permalink / raw)
  To: linux-btrfs

I had a disk in my RAID0 die:

  root@maru2:~# /usr/local/src/btrfs-progs/btrfs fi show 8c530f6f-7592-4d57-854d-1fae33ae7cb6
  Label: none  uuid: 8c530f6f-7592-4d57-854d-1fae33ae7cb6
          Total devices 3 FS bytes used 329.66GiB
          devid    1 size 1.79TiB used 357.03GiB path /dev/sdd1
          devid    3 size 931.51GiB used 178.00GiB path /dev/sdf
          *** Some devices missing
  
  Btrfs v3.12-43-gc2081e2-dirty

So, I try to mount it with -o degraded.  That fails, implying that a
degraded mount needs to be read-only.  So I successfully mount it read
only.  Then I want to add a new disk to replace the missing one:

  root@maru2:~# /usr/local/src/btrfs-progs/btrfs dev add /dev/sdg /mnt/
  ERROR: error adding the device '/dev/sdg' - Read-only file system

So I can't add a disk if it's mounted read-only, and can't mount it
read-write?  What am I missing?  What's my way around this?

-- 
Michael Welsh Duggan
(md5i@md5i.com)


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

end of thread, other threads:[~2014-04-19 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-19  2:36 Fixing a degraded RAID Michael Welsh Duggan
2014-04-19  2:49 ` Chris Murphy
2014-04-19  2:58   ` Michael Welsh Duggan
2014-04-19  3:23 ` Michael Welsh Duggan
2014-04-19  4:54   ` Chris Murphy
2014-04-19 11:23   ` Xavier Bassery
2014-04-19 15:31     ` Michael Welsh Duggan

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.