Skip to contentSkip to conversation

snapshot issues

DISCUSSION Jim 2 participants 3 messages Oct 14, 2011 Btrfs file system

lore
Share & tools
lore

Jim

author
#0 lore raw

Good afternoon btrfs,
I have been having issues with snapshots not reading the whole file tree below them. I have installed new btrfs-progs from

git://git.darksatanic.net/repo/btrfs-progs-unstable.git

made and installed them. My tree is: /Btrfs |

                                              |__ nfs1 |
                                                       |__ data |
                                                                |__ sites |
                                                                          |__ 00xx |
                                                                                   |__ email@address

If I use btrfsctl -s (btrfs sub snapshot isn't working) snappath-name /btrfs/nfs1 I get a mountable snapshot of nfs1
but data is all that I can see below it. If I btrfsctl -s snappath-name /btrfs/nfs1/data/sites/0000 I can mount /0000 and
get a full list of email@address accounts but none of the files below them. I should have stated earlier, everything down
to and including /email@address are subvolumes. Below /email@address directories and files were rsync'd into the subvol from
an nfs mount. Finally if I snapshot /email@address I have access to all directories and files below them. Because of this I
believe that the issue is with snapshots of subvolumes. I thought I just couldn't see subvols above the snapshot level and was able to see subvols below. Am I confused or is this a real problem. I am using kernel 3.1.0-rc4 and will be happy to trace anything you need if you can tell me how to get what you need. Thanks for your help. Jim

#1 lore raw
Quoted 15 lines · Jim

Good afternoon btrfs,
I have been having issues with snapshots not reading the whole file tree below them. I have installed new btrfs-progs from

git://git.darksatanic.net/repo/btrfs-progs-unstable.git

made and installed them. My tree is: /Btrfs |

                                              |__ nfs1 |
                                                       |__ data |
                                                                |__ 
sites |

|__ 00xx |

|__ email@address

Quoted 12 lines

If I use btrfsctl -s (btrfs sub snapshot isn't working) snappath-name /btrfs/nfs1 I get a mountable snapshot of nfs1
but data is all that I can see below it. If I btrfsctl -s snappath-name /btrfs/nfs1/data/sites/0000 I can mount /0000 and
get a full list of email@address accounts but none of the files below them. I should have stated earlier, everything down
to and including /email@address are subvolumes. Below /email@address directories and files were rsync'd into the subvol from
an nfs mount. Finally if I snapshot /email@address I have access to all directories and files below them. Because of this I
believe that the issue is with snapshots of subvolumes. I thought I just couldn't see subvols above the snapshot level and was able to see subvols below. Am I confused or is this a real problem. I am using kernel 3.1.0-rc4 and will be happy to trace anything you need if you can tell me how to get what you need. Thanks for your help. Jim

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

yaarg -- resend w/list included -- changed clients recently (tbird) and cant figure out how to default to replay-all ...

i believe this is expected behavior as of now -- there are a couple threads mentioning recursive snapshotting, check those out. AFAIK a snapshot will not traverse beyond it's own boundaries.

Signature · 1 line
C Anthony Risinger
author
#2 lore raw

Thank you for that info Anthony, I just wanted to know the expected behavior. In that same vein, when I use btrfs sub list it lists all subvols regardless of whether or not it is given a path argument. Is this current behavior as well. Thanks again. Jim

Quoted 33 lines · C Anthony Risinger
Quoted 15 lines · Jim

Good afternoon btrfs,
I have been having issues with snapshots not reading the whole file tree below them. I have installed new btrfs-progs from

git://git.darksatanic.net/repo/btrfs-progs-unstable.git

made and installed them. My tree is: /Btrfs |

                                              |__ nfs1 |
                                                       |__ data |
                                                                |__ 
sites |

|__ 00xx |

|__ email@address

Quoted 12 lines

If I use btrfsctl -s (btrfs sub snapshot isn't working) snappath-name /btrfs/nfs1 I get a mountable snapshot of nfs1
but data is all that I can see below it. If I btrfsctl -s snappath-name /btrfs/nfs1/data/sites/0000 I can mount /0000 and
get a full list of email@address accounts but none of the files below them. I should have stated earlier, everything down
to and including /email@address are subvolumes. Below /email@address directories and files were rsync'd into the subvol from
an nfs mount. Finally if I snapshot /email@address I have access to all directories and files below them. Because of this I
believe that the issue is with snapshots of subvolumes. I thought I just couldn't see subvols above the snapshot level and was able to see subvols below. Am I confused or is this a real problem. I am using kernel 3.1.0-rc4 and will be happy to trace anything you need if you can tell me how to get what you need. Thanks for your help. Jim

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

yaarg -- resend w/list included -- changed clients recently (tbird) and cant figure out how to default to replay-all ...

i believe this is expected behavior as of now -- there are a couple threads mentioning recursive snapshotting, check those out. AFAIK a snapshot will not traverse beyond it's own boundaries.