All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Buhren <robert@robertbuhren.de>
To: Alex Lyakas <alex.bolshoy.btrfs@gmail.com>
Cc: Jan Schmidt <list.btrfs@jan-o-sch.net>,
	linux-btrfs@vger.kernel.org,
	Alexander Block <ablock84@googlemail.com>,
	Arne Jansen <sensille@gmx.net>
Subject: Re: [PATCH] Btrfs-progs: replace find_mount_root from send code
Date: Mon, 27 Aug 2012 20:37:15 +0200	[thread overview]
Message-ID: <503BBE5B.806@robertbuhren.de> (raw)
In-Reply-To: <CAHf9xvZ-VRx7yWZoqp-NMwzwmxHsjhBDS6agJfcY+3VcwjsA2g@mail.gmail.com>

Hi Alex,

i've made a list of all commands i executed for this test. You can find 
it here:

http://pastebin.com/y8PBgmMZ


> Hi Robert,
> do you think you can make the "root_snap_send" file of yours available
> anywhere (not sure how big it is)?
I'm afraid i've already delete it :/ sry. But in the pastebin there 
should be all the commands
you need to execute to reproduce my setup.
>
> Also, I am not sure I understand how you btrfs tree looks like WRT to
> where all subvolumes are mounted (but all others seem to understand
> well).
>
> You mentioned:
>> /dev/loop0 on /mnt/TEST_ROOT type btrfs (rw,relatime,compress=lzo,space_cache)  # default-subvolume
>> /dev/loop0 on /mnt/TEST_ROOT/root_volid0 type btrfs (rw,relatime,compress=lzo,space_cache) # subvolid= 0
>> /dev/loop1 on /mnt/TEST_ROOT/backup_volid0 type btrfs (rw,relatime,compress=lzo,space_cache)
>> btrfs subvolume snapshot -r /mnt/TEST_ROOT/root_volid0/root/ /mnt/TEST_ROOT/root_volid0/root_snap
> Are you trying to snapshot a directory here? I.e., what is "root"
> within "root_volid0"?
root is a subvolume inside the /dev/loop0 fs. It is set as the default 
subvolume.
I mounted /dev/loop0 at /mnt/TEST_ROOT and inside that i mounted 
/dev/loop0 again,
but this time with subvolid=0. So "/mnt/TEST_ROOT/root_volid0/root" is 
actually a subvolume
which is also mounted at "/mnt/TEST_ROOT".
> Can you pls list all subvolumes you have on your source filesystem
> (the one you are trying to backup), and where each one is mounted?
> Again, looks like I'm the only one confused about this, so apologies.
>
> You can also possibly use the "tree" utility to better visualize your
> fs tree, like:
> tree -A  --inodes --noreport /mnt/TEST_ROOT
>
> Jan, David, hope it's ok with you if I'll try to debug this.
>
> Thanks,
> Alex.
>
I'm kinda in a hurry now because i'm leaving for Holidays soon and i 
still have to finish my bachelor thesis :P

I hope with the the commands from the pastebin you have everything you 
need. I can answer emails until Friday morning.

Regards,

Robert


>
>
>
>
> On Sat, Aug 25, 2012 at 11:24 AM, Robert Buhren <robert@robertbuhren.de> wrote:
>> On 24.08.2012 15:33, David Sterba wrote:
>>> On Thu, Aug 23, 2012 at 10:54:54AM +0200, Robert Buhren wrote:
>>>> I'm on linux-3.6-rc2 and btrfs-progs from git.
>>> Please try it with Chris' for-linus branch, it contains a fair portion
>>> of send-related fixes and from brief look they may be related to the
>>> errors you see.
>>>
>>> david
>> Hi David,
>>
>> i just tried it with a kernel from the "for-linus" branch. But i still get
>> the same error.
>> Just to be sure:
>> You ment this branch:
>> http://git.kernel.org/?p=linux/kernel/git/mason/linux-btrfs.git;a=shortlog;h=refs/heads/for-linus
>>
>> right?
>>
>>
>> Regards,
>>
>> Robert
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2012-08-27 18:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 10:22 Testing new send/receive: "ERROR: could not resolve root_id for" Robert Buhren
2012-08-19 14:59 ` Arne Jansen
2012-08-20 11:57 ` [PATCH] Btrfs-progs: replace find_mount_root from send code Jan Schmidt
2012-08-23  8:54   ` Robert Buhren
2012-08-24 13:33     ` David Sterba
2012-08-25  8:24       ` Robert Buhren
2012-08-27  9:16         ` Alex Lyakas
2012-08-27 18:37           ` Robert Buhren [this message]
2012-08-28  8:27             ` Alex Lyakas
2012-08-28 17:26               ` Alex Lyakas
2012-09-24 17:18                 ` David Sterba
2012-10-03 13:01   ` Alex Lyakas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503BBE5B.806@robertbuhren.de \
    --to=robert@robertbuhren.de \
    --cc=ablock84@googlemail.com \
    --cc=alex.bolshoy.btrfs@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=list.btrfs@jan-o-sch.net \
    --cc=sensille@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.