Skip to contentSkip to conversation

btrfs filesystem show confused when label is same as mountpoint

DISCUSSION Anand Jain 2 participants 2 messages Jun 13, 2015 Btrfs file system

lore
Share & tools
lore

Anand Jain

author
#0 lore raw

I don't see that in 4.0, could you upgrade/try. thanks

---------------
mount /dev/sdf /data/Multimedia

btrfs fi show /data/Multimedia
Label: 'MULTIMEDIA' uuid: 9b49bcc9-66d9-4f76-a57a-a60e2a16f15d
Total devices 1 FS bytes used 192.00KiB
devid 1 size 2.90GiB used 333.12MiB path /dev/sdf

btrfs-progs v4.0.1-2-ge8ceb61

btrfs fi show MULTIMEDIA
Label: 'MULTIMEDIA' uuid: 9b49bcc9-66d9-4f76-a57a-a60e2a16f15d
Total devices 1 FS bytes used 192.00KiB
devid 1 size 2.90GiB used 333.12MiB path /dev/sdf

btrfs-progs v4.0.1-2-ge8ceb61
---------------

Anand

On 06/13/2015 03:20 PM, Sjoerd wrote:> Hi,

Quoted 35 lines

I've a btrfs partition with label 'MULTIMEDIA' (all capitals) and mounted it on /data/Multimedia (only M capital) and see the following when doing a btrfs fi show:

for mountpoint:
btrfs fi show /data/Multimedia
Btrfs v3.17

versus for label:
btrfs fi show MULTIMEDIA
Label: 'MULTIMEDIA' uuid: ce5d23cd-73a4-4f7c-83cd-2c40d12f6697
Total devices 4 FS bytes used 5.04TiB
devid 1 size 1.48TiB used 1.26TiB path /dev/sda2
devid 2 size 1.48TiB used 1.26TiB path /dev/sdc2
devid 3 size 1.48TiB used 1.26TiB path /dev/sdd2
devid 4 size 1.48TiB used 1.26TiB path /dev/sde2

So in the latter case I get the results I was looking for.

It's not realy a question, but I couldn't find anything on the bugtracker (if it's a bug in the first place) or a known something, so just to let you know,cause I took me awhile to figure out why I didn't get results for this particular mountpoint, while for others I did ;)

Cheers,
Sjoerd

--
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

#1 lore raw
Quoted 2 lines · On Saturday 13 June 2015 17:50:05 Anand Jain wrote:

I don't see that in 4.0, could you upgrade/try. thanks

That works fine indeed! Thanks....Could have thought to try that first myself ;)

Quoted 68 lines

---------------
mount /dev/sdf /data/Multimedia

btrfs fi show /data/Multimedia
Label: 'MULTIMEDIA' uuid: 9b49bcc9-66d9-4f76-a57a-a60e2a16f15d
Total devices 1 FS bytes used 192.00KiB
devid 1 size 2.90GiB used 333.12MiB path /dev/sdf

btrfs-progs v4.0.1-2-ge8ceb61

btrfs fi show MULTIMEDIA
Label: 'MULTIMEDIA' uuid: 9b49bcc9-66d9-4f76-a57a-a60e2a16f15d
Total devices 1 FS bytes used 192.00KiB
devid 1 size 2.90GiB used 333.12MiB path /dev/sdf

btrfs-progs v4.0.1-2-ge8ceb61
---------------

Anand

On 06/13/2015 03:20 PM, Sjoerd wrote:> Hi,

Quoted 1 line

I've a btrfs partition with label 'MULTIMEDIA' (all capitals) and

mounted it

Quoted 1 line

on /data/Multimedia (only M capital) and see the following when doing

a btrfs

Quoted 16 lines

fi show:

for mountpoint:
btrfs fi show /data/Multimedia
Btrfs v3.17

versus for label:
btrfs fi show MULTIMEDIA
Label: 'MULTIMEDIA' uuid: ce5d23cd-73a4-4f7c-83cd-2c40d12f6697

Total devices 4 FS bytes used 5.04TiB
devid 1 size 1.48TiB used 1.26TiB path /dev/sda2
devid 2 size 1.48TiB used 1.26TiB path /dev/sdc2
devid 3 size 1.48TiB used 1.26TiB path /dev/sdd2
devid 4 size 1.48TiB used 1.26TiB path /dev/sde2

Quoted 4 lines

So in the latter case I get the results I was looking for.

It's not realy a question, but I couldn't find anything on the

bugtracker (if

Quoted 2 lines

it's a bug in the first place) or a known something, so just to let you know,cause I took me awhile to figure out why I didn't get results

for this

Quoted 9 lines

particular mountpoint, while for others I did ;)

Cheers,
Sjoerd

--
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