Christopher Thorjussen
2013-Jan-31 15:39 UTC
btrfs subvolume list - with three subvolumes, the second is missing/not showing
I''ve created a large btrfs volume out of two large raid-60 devices. On there I''ve created three subvolumes. When I do a list of those the 2nd isn''t displayed. If I however add a fouth subvol they all gets listed. This is on a HP DL360 running RHEL6.3 with a P411 SAS Raid controller connected to a HP MD600 (70 x 2TB NL-SAS). I''ve installed kernel-ml v3.7.4 from elrepo and also installed btrfs-progs-0.19-12.el6.x86_64 root@data01:/opt/data# btrfs fi sh failed to read /dev/sr0 Label: none uuid: 786684d1-95fa-4809-8fca-e17e37a79999 Total devices 2 FS bytes used 816.00KB devid 1 size 54.58TB used 2.03GB path /dev/sdb devid 2 size 54.58TB used 2.01GB path /dev/sdc Btrfs Btrfs v0.19 root@data01:/opt/data# ls -l total 0 drwxr-xr-x 1 root root 0 Jan 31 15:55 buffer drwxr-xr-x 1 root root 0 Jan 31 15:55 consolidated drwxr-xr-x 1 root root 0 Jan 31 15:55 staging root@data01:/opt/data# btrfs subvolume list . ID 265 top level 5 path consolidated ID 267 top level 5 path buffer root@data01:/opt/data# btrfs subvolume create 4thsubvol Create subvolume ''./4thsubvol'' root@data01:/opt/data# btrfs subvolume list . ID 265 top level 5 path consolidated ID 266 top level 5 path staging ID 267 top level 5 path buffer ID 272 top level 5 path 4thsubvol root@data01:/opt/data# rpm -qa | grep btrfs btrfs-progs-0.19-12.el6.x86_64 It surely is a bug, but has it been reported and/or fixed? I wasn''t able to find out by googling just now. Med vennlig hilsen / kind regards Christopher Thorjussen System Administrator, VCP4/VCP5 The Online Backup Company AS http://www.onlinebackupcompany.no "Backup isn''t the real concern. Restoring normal business is." -- 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
Hugo Mills
2013-Jan-31 22:00 UTC
Re: btrfs subvolume list - with three subvolumes, the second is missing/not showing
On Thu, Jan 31, 2013 at 04:39:52PM +0100, Christopher Thorjussen wrote:> I''ve created a large btrfs volume out of two large raid-60 devices. On > there I''ve created three subvolumes. When I do a list of those the 2nd > isn''t displayed. If I however add a fouth subvol they all gets listed.This is (probably) a known bug in the userspace tools. It should be fixed in David Sterba''s integration branch: git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130130 Hugo.> This is on a HP DL360 running RHEL6.3 with a P411 SAS Raid controller > connected to a HP MD600 (70 x 2TB NL-SAS). > I''ve installed kernel-ml v3.7.4 from elrepo and also installed > btrfs-progs-0.19-12.el6.x86_64 > > root@data01:/opt/data# btrfs fi sh > failed to read /dev/sr0 > Label: none uuid: 786684d1-95fa-4809-8fca-e17e37a79999 > Total devices 2 FS bytes used 816.00KB > devid 1 size 54.58TB used 2.03GB path /dev/sdb > devid 2 size 54.58TB used 2.01GB path /dev/sdc > > Btrfs Btrfs v0.19 > > root@data01:/opt/data# ls -l > total 0 > drwxr-xr-x 1 root root 0 Jan 31 15:55 buffer > drwxr-xr-x 1 root root 0 Jan 31 15:55 consolidated > drwxr-xr-x 1 root root 0 Jan 31 15:55 staging > > root@data01:/opt/data# btrfs subvolume list . > ID 265 top level 5 path consolidated > ID 267 top level 5 path buffer > > root@data01:/opt/data# btrfs subvolume create 4thsubvol > Create subvolume ''./4thsubvol'' > > root@data01:/opt/data# btrfs subvolume list . > ID 265 top level 5 path consolidated > ID 266 top level 5 path staging > ID 267 top level 5 path buffer > ID 272 top level 5 path 4thsubvol > > root@data01:/opt/data# rpm -qa | grep btrfs > btrfs-progs-0.19-12.el6.x86_64 > > It surely is a bug, but has it been reported and/or fixed? I wasn''t > able to find out by googling just now. > > > > Med vennlig hilsen / kind regards > > Christopher Thorjussen > System Administrator, VCP4/VCP5 > The Online Backup Company AS > http://www.onlinebackupcompany.no > > "Backup isn''t the real concern. Restoring normal business is."-- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- What do you give the man who has everything? -- Penicillin is --- a good start...
Christopher Thorjussen
2013-Jan-31 22:59 UTC
Re: btrfs subvolume list - with three subvolumes, the second is missing/not showing
On Thu, Jan 31, 2013 at 11:00 PM, Hugo Mills <hugo@carfax.org.uk> wrote:> On Thu, Jan 31, 2013 at 04:39:52PM +0100, Christopher Thorjussen wrote: >> I''ve created a large btrfs volume out of two large raid-60 devices. On >> there I''ve created three subvolumes. When I do a list of those the 2nd >> isn''t displayed. If I however add a fouth subvol they all gets listed. > > This is (probably) a known bug in the userspace tools. It should be > fixed in David Sterba''s integration branch: > > git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130130 > Hugo. >Thanks. Will have a look. For now I just created a "hidden" subvolume with .HiddenName as name. That gives me four subvol and all are listed. /Christopher -- 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