apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1925284/+attachment/5490741/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1925284

Title:
  Btrfs: Disk replacement causes massive allocation of empty single
  chunks while degraded

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I experience this with Ubuntu 21.04. I've not tested on older
  releases. I have a btrfs RAID1 array and simulated a failed disk and
  then replaced it with the `btrfs replace` feature part of btrfs-progs
  after mounting the remaining disk with the degraded,noatime mount
  options.

  For clarity: The disk that is being used in btrfs replace is sda1,
  sdb1 is the existing disk with the data that is mounted degraded.

  Unfortunately, when you begin the replacement, btrfs begins slowly
  allocating new empty single chunks on the disk that was mounted
  degraded (sdb1) as soon as the btrfs replace begins, seemingly equal
  to the amount of raid1 chunks that were already allocated + 1. As the
  replace continues, this value increases:

  Data,single: Size:107.00GiB, Used:5.25MiB (0.00%)
     /dev/sdb1     107.00GiB

  ... several minutes later as btrfs replace continues to run ...

  Data,single: Size:177.00GiB, Used:5.25MiB (0.00%)
     /dev/sdb1     177.00GiB

  I have also posted this on the Btrfs kernel mailing list here for more
  details and output from commands: https://lore.kernel.org/linux-
  btrfs/cafmvigfq+xotjo_578lvsvycd3sblcv_ap6a+b0u+ybapu2...@mail.gmail.com/T/#t

  It's speculated this could be an Ubuntu specific issue. What is
  certain is I've done this process three times with this array on
  Ubuntu 21.04 and it happens every time, so I can reproduce it 100%. I
  believe this is a bug with the Ubuntu kernel, but I suppose it could
  be related to btrfs-progs. What is certain is the btrfs replace
  triggers the issue.

  I'm happy to provide any more additional details as best I can. Thanks,
  -Jonah
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 21.04
  InstallationDate: Installed on 2021-04-18 (2 days ago)
  InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210418)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-14-generic 
root=UUID=b34e7cba-e2cd-440e-ac70-479267e84867 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.11.0-14.15-generic 5.11.12
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RebootRequiredPkgs:
   linux-image-5.11.0-16-generic
   linux-base
  RelatedPackageVersions:
   linux-restricted-modules-5.11.0-14-generic N/A
   linux-backports-modules-5.11.0-14-generic  N/A
   linux-firmware                             1.197
  RfKill:
   
  Tags:  hirsute
  Uname: Linux 5.11.0-14-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 06/04/2020
  dmi.bios.release: 5.14
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P3.40
  dmi.board.name: B450 Steel Legend
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP3.40:bd06/04/2020:br5.14:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB450SteelLegend:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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

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

Reply via email to