Re: snapshots changed behavior

2011-10-21 Thread Jim
Goffredo, Here is ls -li of /sites: [root@btrfs ~]# ls -li /btrfs/test/data total 0 256 drwx-- 1 root root 8 Oct 21 06:21 sites It is a subvolume but it contains directories and files below it. The file tree is /btrfs (the mounted btrfs) /test (a subvolume), /data (a subvolume), /sites (a s

Re: snapshots changed behavior

2011-10-21 Thread Goffredo Baroncelli
On Friday, 21 October, 2011 14:29:11 Jim wrote: > Goffredo, > Thank you very much for your reply. That was the information I needed > to understand the behavior I was observing. Just to be sure that I > understand correctly, you wrote: > > I am quite sure that the snapshot is NOT recursive. If

Re: snapshots changed behavior

2011-10-21 Thread Jim
Goffredo, Thank you very much for your reply. That was the information I needed to understand the behavior I was observing. Just to be sure that I understand correctly, you wrote: I am quite sure that the snapshot is NOT recursive. If a subvolume contains another subvolume, and you snapshot

Re: snapshots changed behavior

2011-10-21 Thread Goffredo Baroncelli
On Friday, 21 October, 2011 12:31:34 Jim wrote: > Good afternoon btrfs list, Hi Jim > about a month ago, when testing btrfs, I could create a snapshot with > btrfs snap create and be able to drill down in the snapshot to find > subvols and files below the snapshot level. I currently need to use

Avoid error message during a scan of a static /dev directory

2011-10-21 Thread Goffredo Baroncelli
Hi all, as highlighted by Helmut (see "Re: btrfs still looks for not existing devices"), some btrfs tools (like mkfs.btrfs, btrfsck, btrfs-image, btrfs- label...) have the habit to scan the /dev directories looking for a valid block device in order to assemble all the devices of a btrfs filesyst

snapshots changed behavior

2011-10-21 Thread Jim
Good afternoon btrfs list, about a month ago, when testing btrfs, I could create a snapshot with btrfs snap create and be able to drill down in the snapshot to find subvols and files below the snapshot level. I currently need to use btrfsctl -s to create snapshots and can no longer drill down

Re: How to know the origin of a snapshot

2011-10-21 Thread Ryota Ozaki
Hi Jan. Thank your for answering. On Fri, Oct 21, 2011 at 8:54 PM, Jan Schmidt wrote: > Hi, > > On 21.10.2011 13:02, Ryota Ozaki wrote: >> Is there a way to know relations between subvolume and snapshot? >> For example, can we know a subvolume from a given snapshot which >> stems from it? For an

Re: [PATCH 3/3] Add snappy interface to crypto API

2011-10-21 Thread Herbert Xu
Andi Kleen wrote: > From: Andi Kleen > > Mainly so that ubifs can use it. > > Snappy is a better compressor in the same niche as LZO. > > Only lightly tested so far. Experiences welcome. > > Cc: herb...@gondor.apana.org.au > Cc: dedeki...@gmail.com > Cc: adrian.hun...@intel.com > Signed-off-b

Re: How to know the origin of a snapshot

2011-10-21 Thread Jan Schmidt
Hi, On 21.10.2011 13:02, Ryota Ozaki wrote: > Is there a way to know relations between subvolume and snapshot? > For example, can we know a subvolume from a given snapshot which > stems from it? For another example, can we get a list of snapshots > from a subvolume? Currently, there's no such rel

Re: BTRFS thinks that a device is mounted

2011-10-21 Thread Stephane CHAZELAS
2011-10-21, 00:39(+03), Nikos Voutsinas: [...] > ## Comment: Of course /dev/sdh is not mounted. > mount |grep /dev/sdh > root@lxc:~# [...] Note that mount(8) uses /etc/mtab to find out what is mounted. And if that file is not a symlink to /proc/mounts, the information is not necessarily correct.

How to know the origin of a snapshot

2011-10-21 Thread Ryota Ozaki
Hi. Is there a way to know relations between subvolume and snapshot? For example, can we know a subvolume from a given snapshot which stems from it? For another example, can we get a list of snapshots from a subvolume? Thanks in advance. ozaki-r -- To unsubscribe from this list: send the line "

Re: read error: how to fix?

2011-10-21 Thread Helmut Hullen
essages). Trying to play an *.mpg: nothing. Shit. Some error messages. Next adventure: Removed the good disk, plugged the bad disk. Extracted the bad sectors (for baddisk = sdd) with grep 'I/O error' /var/log/warn | grep 'dev sdd' | \ cut -d' ' -f11- | sort -u &

Re: btrfs still looks for not existing devices

2011-10-21 Thread Helmut Hullen
Hallo, Hugo, Du meintest am 14.10.11: >> btrfs filesystem show >> >> On my system (Slackware 13.37, self made, without "udev") it still >> shows a lot of non existent devices (I have shortened the list ...): >This is not a kernel issue, it's a purely userspace issue. Try the > latest