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

Bug#663067: marked as done (btrfs: filenames collide with snapshot/subvolume names)



Your message dated Wed, 23 Oct 2013 14:59:18 +0100
with message-id <1382536758.6315.34.camel@deadeye.wl.decadent.org.uk>
and subject line Re: btrfs: filenames collide with snapshot/subvolume names
has caused the Debian Bug report #663067,
regarding btrfs: filenames collide with snapshot/subvolume names
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
663067: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663067
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: btrfs-tools
Version: 0.19+20111105-2
Severity: normal
File: /sbin/btrfs

Dear Maintainer,
I found a behavior which looks like a bug.
Namely, being inside a snapshot directory, I can't create a file/directory
with the name of the snapshot directory.

For example, inside /mnt/aSnap, I can't create a file named 'aSnap', so I'm
filling this bug report.

Below follows full reproduction of this behavior:

aris tmp # dd if=/dev/zero of=FILE bs=4k seek=`echo 5*1024*1024 | bc` count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 1.8695e-05 s, 219 MB/s
aris tmp # losetup /dev/loop0 FILE 
aris tmp # losetup -a
/dev/loop0: [fe01]:263872 (/tmp/FILE)
aris tmp # mkfs.btrfs -Ltest /dev/loop0

WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using

fs created label test on /dev/loop0
        nodesize 4096 leafsize 4096 sectorsize 4096 size 20.00GB
Btrfs Btrfs v0.19
aris tmp # mount /dev/loop0 /mnt/
aris tmp # cd /mnt
aris mnt # ls -la
total 8
dr-xr-xr-x  1 root root    0 Mar  8 12:07 .
drwxr-xr-x 24 root root 4096 Mar  8 11:41 ..
aris mnt # mkdir dir1
aris mnt # mkdir dir2
aris mnt # mkdir dir3
aris mnt # l
total 0
drwxr-xr-x 1 root root 0 Mar  8 12:08 dir1
drwxr-xr-x 1 root root 0 Mar  8 12:08 dir2
drwxr-xr-x 1 root root 0 Mar  8 12:08 dir3
aris mnt # btrfs subvolume snapshot /mnt/ /mnt/aSnap
Create a snapshot of '/mnt/' in '/mnt/aSnap'
aris mnt # cd /mnt/aSnap/
aris aSnap # ls -la
total 8
dr-xr-xr-x 1 root root 34 Mar  8 12:08 .
dr-xr-xr-x 1 root root 34 Mar  8 12:08 ..
drwxr-xr-x 1 root root  0 Mar  8 12:08 dir1
drwxr-xr-x 1 root root  0 Mar  8 12:08 dir2
drwxr-xr-x 1 root root  0 Mar  8 12:08 dir3
aris aSnap # date > aSnap
bash: aSnap: Is a directory
aris aSnap # ??????????????????

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages btrfs-tools depends on:
ii  e2fslibs    1.42-1
ii  libc6       2.13-26
ii  libcomerr2  1.42-1
ii  libuuid1    2.20.1-1.2
ii  zlib1g      1:1.2.6.dfsg-1

btrfs-tools recommends no packages.

btrfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 3.7.1-1~experimental.1

Fix was committed and included in v3.7-rc3:

commit 42874b3db7817f662b1d7c6e32f8b63638fa0321
Author: Miao Xie <miaox@cn.fujitsu.com>
Date:   Thu Sep 6 04:03:32 2012 -0600

    Btrfs: fix the snapshot that should not exist

Ben.

-- 
Ben Hutchings
friends: People who know you well, but like you anyway.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: