Public bug reported:

System Info:

lsb_release -rd
Description:    Ubuntu 22.04 LTS
Release:        22.04


1. Using an HM SMR drive (I used: ST14000NM0007-2G) create a zoned btrfs 
filesystem

sudo mkfs.btrfs -O zoned -d single -m single -f /dev/sdb -L cf1657839355
btrfs-progs v5.16.2
See http://btrfs.wiki.kernel.org for more information.

Resetting device zones /dev/sdb (52156 zones) ...
NOTE: several default settings have changed in version 5.15, please make sure
      this does not affect your deployments:
      - DUP for metadata (-m dup)
      - enabled no-holes (-O no-holes)
      - enabled free-space-tree (-R free-space-tree)

Label:              cf1657839355
UUID:               5b7d5659-0ed3-45d3-a36b-fb58eeb93f72
Node size:          16384
Sector size:        4096
Filesystem size:    12.73TiB
Block group profiles:
  Data:             single          256.00MiB
  Metadata:         single          256.00MiB
  System:           single          256.00MiB
SSD detected:       no
Zoned device:       yes
  Zone size:        256.00MiB
Incompat features:  extref, skinny-metadata, no-holes, zoned
Runtime features:   free-space-tree
Checksum:           crc32c
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1    12.73TiB  /dev/sdb

2. Try to use LABEL method to mount

sudo mount LABEL=cf1657839355 cf1657839355
mount: cf1657839355: can't find LABEL=cf1657839355.

Expected that LABEL would be found.  I suspect that libblkid is where
the issue is since this commands returns all of my other block devices
except for /dev/sdb.

sudo blkid|grep sdb


It will mount using hard coded device path

sudo mount /dev/sdb cf1657839355
df -h /dev/sdb
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb         13T  3.5M   13T   1% /cf1657839355

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1981769

Title:
  blkid fails to find btrfs zoned filesystem label or uuid

Status in util-linux package in Ubuntu:
  New

Bug description:
  System Info:

  lsb_release -rd
  Description:  Ubuntu 22.04 LTS
  Release:      22.04

  
  1. Using an HM SMR drive (I used: ST14000NM0007-2G) create a zoned btrfs 
filesystem

  sudo mkfs.btrfs -O zoned -d single -m single -f /dev/sdb -L cf1657839355
  btrfs-progs v5.16.2
  See http://btrfs.wiki.kernel.org for more information.

  Resetting device zones /dev/sdb (52156 zones) ...
  NOTE: several default settings have changed in version 5.15, please make sure
        this does not affect your deployments:
        - DUP for metadata (-m dup)
        - enabled no-holes (-O no-holes)
        - enabled free-space-tree (-R free-space-tree)

  Label:              cf1657839355
  UUID:               5b7d5659-0ed3-45d3-a36b-fb58eeb93f72
  Node size:          16384
  Sector size:        4096
  Filesystem size:    12.73TiB
  Block group profiles:
    Data:             single          256.00MiB
    Metadata:         single          256.00MiB
    System:           single          256.00MiB
  SSD detected:       no
  Zoned device:       yes
    Zone size:        256.00MiB
  Incompat features:  extref, skinny-metadata, no-holes, zoned
  Runtime features:   free-space-tree
  Checksum:           crc32c
  Number of devices:  1
  Devices:
     ID        SIZE  PATH
      1    12.73TiB  /dev/sdb

  2. Try to use LABEL method to mount

  sudo mount LABEL=cf1657839355 cf1657839355
  mount: cf1657839355: can't find LABEL=cf1657839355.

  Expected that LABEL would be found.  I suspect that libblkid is where
  the issue is since this commands returns all of my other block devices
  except for /dev/sdb.

  sudo blkid|grep sdb

  
  It will mount using hard coded device path

  sudo mount /dev/sdb cf1657839355
  df -h /dev/sdb
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sdb         13T  3.5M   13T   1% /cf1657839355

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1981769/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to