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:42 PM, Rasmus Abrahamsen <btrfs@xxxxxxxxxxx> wrote:
> On Sat, Jan 2, 2016, at 10:37 PM, Chris Murphy wrote:
>> 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
>>

> Do you mean that the pipe is not a bash pipe or that you executed the
> commands as written? Sounds like you had two terminals and executed the
> left side of the pipe and then the right side.

I execute those commands exactly as written, in a single shell. Each
command completes before I can execute the next one.

The part I wrote about && is about my lack of bash experience; I don't
know of a way to execute the above commands at once such that they
happen in exactly that sequence so I could walk away.






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