Re: mount hangs after disk crash (RAID-1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May 22, 2014, at 3:43 AM, Duncan <1i5t5.duncan@xxxxxxx> wrote:
> 
> Note that unlike md/raid1, btrfs raid1 won't mount writable with only a 
> single device.  You must have at least two devices to mount writable, tho 
> a formerly two-device raid1 with a device missing should mount read-only.

No, a single device from a two device Btrfs raid1 is normally mountable degraded,rw. I did this just a week ago when bug "kernel BUG at fs/btrfs/locking.c when mounting with previously missing device". At one point when reproducing it, I was running degraded,rw with a single device for several hours without problems.

Try -o recovery,degraded

I would drop the other options for now, since they aren't necessary to recover from a device failure.

Chris Murphy

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux