Re: Add big device, remove small device, read-only

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

 



On Sat, Jan 2, 2016 at 2:30 PM, Rasmus Abrahamsen <btrfs@xxxxxxxxxxx> wrote:
> Okay, I will rebuild it then. Thank you.
>
> Where do I add -p?

OK for me, I have these ro snapshots:
drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150403
drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150404
drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150412
drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150922

# btrfs send everything-20150403 | btrfs receive /mnt/new
# btrfs send -p everything-20150403 everything-20150404 | btrfs receive /mnt/new
# btrfs send -p everything-20150404 everything-20150412 | btrfs receive /mnt/new
# btrfs send -p everything-20150412 everything-20150922 | btrfs receive /mnt/new

I have not tried to use && in between those, instead of just
separately issuing the commands.

It's valid to always use the same first subvolume as -p, but the
increments are then larger so even though it succeeds, it's also
inefficient.

-- 
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