Userspace utilities to manage btrfs filesystems
Go to file
Li Zefan d260078696 Fix missing entries in listing of subvolumes
Stephane Chazelas <stephane.chazelas@gmail.com> writes:
> I've got a btrfs FS with 84 subvolumes in it (some created with
> "btrfs sub create", some with "btrfs sub snap" of the other
> ones). There's no nesting of subvolumes at all (all direct children
> of the root subvolume).
>
> The "btrfs subvolume list" is only showing 80 subvolumes. The 4
> missing ones (1 original volume, 3 snapshots) do exist on disk and
> files in there have different st_devs from any other subvolume.
>
> I found
> http://thread.gmane.org/gmane.comp.file-systems.btrfs/8123/focus=8208
>
> which looks like the same issue, with Li Zefan saying he had a
> fix, but I couldn't find any mention that it was actually fixed.

Li Zefan <lizf@cn.fujitsu.com> replied:
> After that, I posted a patch to fix btrfs-progs, which Chris aggreed
> on:
>
> http://marc.info/?l=linux-btrfs&m=129238454714319&w=2

So this btrfs-progs patch should fix missing subvolumes in the output of
"subvolume list":

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
2011-11-02 11:36:30 -04:00
man Scan the devices listed in /proc/partitions 2011-10-25 09:19:00 -04:00
.gitignore btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
.hgignore
.hgtags
COPYING
INSTALL btrfs-progs-unstable: replace debug-tree to btrfs-debug-tree in INSTALL 2011-10-25 09:18:59 -04:00
Makefile btrfs-progs: add a utility to corrupt a single block 2011-10-27 22:38:02 -04:00
bcp Btrfs-progs: Correct path munging in bcp 2011-10-25 09:18:58 -04:00
bit-radix.c
bit-radix.h
btrfs-corrupt-block.c btrfs-progs: add a utility to corrupt a single block 2011-10-27 22:38:02 -04:00
btrfs-defrag.c new util: 'btrfs' 2010-03-11 13:45:47 -05:00
btrfs-image.c Mixed back reference (FORWARD ROLLING FORMAT CHANGE) 2009-06-08 13:30:36 -04:00
btrfs-list.c Fix missing entries in listing of subvolumes 2011-11-02 11:36:30 -04:00
btrfs-map-logical.c btrfs-map-logical: segfaults when no output file is given 2011-10-25 09:18:58 -04:00
btrfs-select-super.c btrfsck: decode error properly 2011-10-25 09:18:59 -04:00
btrfs-show.c Deprecate btrfsctl, btrfs-show, btrfs-vol 2011-10-25 09:18:31 -04:00
btrfs-vol.c Deprecate btrfsctl, btrfs-show, btrfs-vol 2011-10-25 09:18:31 -04:00
btrfs-zero-log.c btrfsck: decode error properly 2011-10-25 09:18:59 -04:00
btrfs.c Scan the devices listed in /proc/partitions 2011-10-25 09:19:00 -04:00
btrfs_cmds.c Btrfs-progs: make btrfs df report profiles for mixed block groups 2011-10-25 09:19:00 -04:00
btrfs_cmds.h Btrfs-progs: add "btrfs subvolume get-default" subcommand 2011-10-25 09:18:59 -04:00
btrfsck.c btrfsck: decode error properly 2011-10-25 09:18:59 -04:00
btrfsctl.c btrfs-progs: cast u64 to long long to avoid printf warnings 2011-10-25 09:18:57 -04:00
btrfslabel.c Add the "btrfs filesystem label" command 2011-10-25 09:18:31 -04:00
btrfslabel.h Add the "btrfs filesystem label" command 2011-10-25 09:18:31 -04:00
btrfstune.c
calc-size.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
convert.c btrfs-convert: fix typo: 'all inode' -> 'all inodes' 2011-10-25 09:18:58 -04:00
crc32c.c
crc32c.h Mixed back reference (FORWARD ROLLING FORMAT CHANGE) 2009-06-08 13:30:36 -04:00
ctree.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
ctree.h btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
debug-tree.c btrfs-debug-tree: add -r option to print only the roots 2011-10-27 17:42:26 -04:00
dir-item.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
dir-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
disk-io.c btrfs-progs: remove old debugging statement 2011-10-27 23:48:47 -04:00
disk-io.h btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
extent-cache.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
extent-cache.h
extent-tree.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
extent_io.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
extent_io.h
file-item.c btrfs-progs: Improvement for making btrfs image from source directory. 2011-10-25 09:19:00 -04:00
find-root.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
hash.h
hasher.c
inode-item.c
inode-map.c
ioctl-test.c Test the additional ioctl. 2011-10-25 09:18:58 -04:00
ioctl.h btrfs-progs: scrub ioctls 2011-10-25 09:18:59 -04:00
kerncompat.h multidevice support for check_mounted 2010-09-23 20:26:49 -04:00
list.h
mkfs.c btrfs-progs: Improvement for making btrfs image from source directory. 2011-10-25 09:19:00 -04:00
print-tree.c Print the root generation in btrfs-debug-tree 2011-10-27 11:44:54 -04:00
print-tree.h Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
quick-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
radix-tree.c
radix-tree.h
random-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
rbtree.c
rbtree.h
restore.c restore: deal with holes and set i_size correctly 2011-10-27 16:25:12 -04:00
root-tree.c
scrub.c btrfs-progs: scrub userland implementation 2011-10-25 09:18:59 -04:00
show-blocks Fix showblocks to display different colors for different metadata roots 2009-03-09 13:00:44 -04:00
transaction.h
utils.c btrfs-progs: fixup is_mounted checks 2011-10-27 16:23:14 -04:00
utils.h Scan the devices listed in /proc/partitions 2011-10-25 09:19:00 -04:00
version.sh btrfs-progs v0.19 2009-06-11 12:56:15 -04:00
volumes.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
volumes.h btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00