Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* feature request: consider rw subvols ro for send when volume is mounted ro
@ 2014-07-23 20:10 Chris Murphy
  2014-07-23 20:47 ` Zach Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Murphy @ 2014-07-23 20:10 UTC (permalink / raw)
  To: Btrfs BTRFS

The use case is when it's possible to mount a Btrfs volume ro, but not rw. Example, a situation where

# mount -o degraded /dev/sdb /mnt
[   71.064352] BTRFS info (device sdb): allowing degraded mounts
[   71.064812] BTRFS info (device sdb): enabling auto recovery
[   71.065210] BTRFS info (device sdb): disk space caching is enabled
[   71.072068] BTRFS warning (device sdb): devid 2 missing
[   71.097320] BTRFS: too many missing devices, writeable mount is not allowed
[   71.116616] BTRFS: open_ctree failed

Yet this works:
# mount -o degraded,ro /dev/sdb /mnt

It would be great if it were possible to send/receive subvolumes to a different btrfs volume. Currently it's not possible because those subvols aren't ro, and because the mount is ro I can't make ro snapshots first.


Chris Murphy

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

end of thread, other threads:[~2014-07-24 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 20:10 feature request: consider rw subvols ro for send when volume is mounted ro Chris Murphy
2014-07-23 20:47 ` Zach Brown
2014-07-24  1:38   ` Duncan
2014-07-24 10:47   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox