All of lore.kernel.org
 help / color / mirror / Atom feed
* How to get Super_num_devices in sync with num_devices again?!
@ 2017-10-05 11:38 g6094199
  2017-10-08  0:06 ` g6094199
  0 siblings, 1 reply; 2+ messages in thread
From: g6094199 @ 2017-10-05 11:38 UTC (permalink / raw)
  To: linux-btrfs

He Guys!I have an ubuntu 16.04 machine (K4.4 and K4.11, btrfs-progs v4.5.2) running / on btrfs raid1 and for somemonth (after i had to replace a / disk) super_numdevices and num_devices are out of sync peventing me to bootKernels newer than around 4.7 (ifaik), where the kernels began the be more restictive on checking valid btrfsdisks.I tried to remove the raid and converted to single with several balances after that so that there are no raidchunks left.Label: 'System'  uuid: 35fdbfd4-5809-4a30-94c1-5e3ca206ca4d    Total devices 1 FS bytes used 14.86GiB    devid    6 size 50.00GiB used 17.31GiB path /dev/nvme0n1p1Data, single: total=15.00GiB, used=13.84GiBSystem, single: total=64.00MiB, used=16.00KiBMetadata, single: total=2.25GiB, used=1.02GiBGlobalReserve, single: total=336.00MiB, used=0.00B/dev/nvme0n1p1, ID: 6   Device size:            50.00GiB   Data,single:            15.00GiB   Metadata,single:         2.25GiB   System,single:          6400MiB   Unallocated:            32.69GiBOverall:    Device size:          50.00GiB    Device allocated:          17.31GiB    Device unallocated:          32.69GiB    Device missing:             0.00B    Used:              1486GiB    Free (estimated):          33.85GiB    (min: 33.85GiB)    Data ratio:                  1.00    Metadata ratio:              1.00    Global reserve:         336.00MiB    (used: 0.00B)Data,single: Size:15.00GiB, Used:13.84GiB   /dev/nvme0n1p1      15.00GiBMetadata,single: Size:2.25GiB, Used:1.02GiB   /dev/nvme0n1p1       2.25GiBSystem,single: Size:64.00MiB, Used:1600KiB   /dev/nvme0n1p1      64.00MiBUnallocated:   /dev/nvme0n1p1      32.69GiBBut again newer kernels refuse to boot with tlling me: "BTRFS error....: super_num_devices 2 missmatchwith num_devices 1 found here".So the the two counters are alwasy off by one, dont matter what i try.Question: how do i get thouse two counters in sync again so that my system acts again as expected?!regardsSash

MIT TRAVELXTRA PROFITIEREN SIE VON 5% RÜCKVERGÜTUNG AUF DEN
REISEPREIS ? bekannte dt. Reiseanbieter und ein umfangreiches
Reiseangebot wie im Reisebüro!
https://email.freenet.de/reisen/index.html
[https://email.freenet.de/reisen/index.html?utm_medium=Text&utm_source=Footersatz&utm_campaign=Footersatz_Reisen07082017&epid=e9900000699&utm_content=Text]


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to get Super_num_devices in sync with num_devices again?!
  2017-10-05 11:38 How to get Super_num_devices in sync with num_devices again?! g6094199
@ 2017-10-08  0:06 ` g6094199
  0 siblings, 0 replies; 2+ messages in thread
From: g6094199 @ 2017-10-08  0:06 UTC (permalink / raw)
  To: linux-btrfs

He Guys!

Again now in a readable from....

I have an Ubuntu 16.04 machine (K4.4 and K4.11, btrfs-progs v4.5.2) running / on btrfs raid1 and for some
month (after i had to replace a / disk) super_numdevices and num_devices are out of sync peventing me to boot
Kernels newer than around 4.7 (afaik), where the kernels began the be more restictive on checking valid btrfs
disks.


I tried to remove the raid and converted to single with several balances after that so that there are no raid
chunks left.
Label: 'System'  uuid: 35fdbfd4-5809-4a30-94c1-5e3ca206ca4d
     Total devices 1 FS bytes used 14.86GiB
     devid    6 size 50.00GiB used 17.31GiB path /dev/nvme0n1p1


Data, single: total=15.00GiB, used=13.84GiB
System, single: total=64.00MiB, used=16.00KiB
Metadata, single: total=2.25GiB, used=1.02GiB
GlobalReserve, single: total=336.00MiB, used=0.00B


/dev/nvme0n1p1, ID: 6
    Device size:            50.00GiB
    Data,single:            15.00GiB
    Metadata,single:         2.25GiB
    System,single:          64.00MiB
    Unallocated:            32.69GiB
Overall:
     Device size:          50.00GiB
     Device allocated:          17.31GiB
     Device unallocated:          32.69GiB
     Device missing:             0.00B
     Used:              14.86GiB
     Free (estimated):          33.85GiB    (min: 33.85GiB)
     Data ratio:                  1.00
     Metadata ratio:              1.00
     Global reserve:         336.00MiB    (used: 0.00B)

Data,single: Size:15.00GiB, Used:13.84GiB
    /dev/nvme0n1p1      15.00GiB

Metadata,single: Size:2.25GiB, Used:1.02GiB
    /dev/nvme0n1p1       2.25GiB

System,single: Size:64.00MiB, Used:16.00KiB
    /dev/nvme0n1p1      64.00MiB

Unallocated:
    /dev/nvme0n1p1      32.69GiB


But again newer kernels refuse to boot with tlling me: "BTRFS error.....: super_num_devices 2 missmatch
with num_devices 1 found here".
So the the two counters are alwasy off by one, dont matter what i try.


Question: how do i get thouse two counters in sync again so that my system acts again as expected?!


regards
Sash


Am 05.10.2017 um 13:38 schrieb g6094199@freenet.de:
> He Guys!I have an ubuntu 16.04 machine (K4.4 and K4.11, btrfs-progs v4.5.2) running / on btrfs raid1 and for somemonth (after i had to replace a / disk) super_numdevices and num_devices are out of sync peventing me to bootKernels newer than around 4.7 (ifaik), where the kernels began the be more restictive on checking valid btrfsdisks.I tried to remove the raid and converted to single with several balances after that so that there are no raidchunks left.Label: 'System'  uuid: 35fdbfd4-5809-4a30-94c1-5e3ca206ca4d    Total devices 1 FS bytes used 14.86GiB    devid    6 size 50.00GiB used 17.31GiB path /dev/nvme0n1p1Data, single: total=15.00GiB, used=13.84GiBSystem, single: total=64.00MiB, used=16.00KiBMetadata, single: total=2.25GiB, used=1.02GiBGlobalReserve, single: total=336.00MiB, used=0.00B/dev/nvme0n1p1, ID: 6   Device size:            50.00GiB   Data,single:            15.00GiB   Metadata,single:         2.25GiB   System,single:          6400MiB   Unallocated:            32.69GiBOverall:    Device size:          50.00GiB    Device allocated:          17.31GiB    Device unallocated:          32.69GiB    Device missing:             0.00B    Used:              1486GiB    Free (estimated):          33.85GiB    (min: 33.85GiB)    Data ratio:                  1.00    Metadata ratio:              1.00    Global reserve:         336.00MiB    (used: 0.00B)Data,single: Size:15.00GiB, Used:13.84GiB   /dev/nvme0n1p1      15.00GiBMetadata,single: Size:2.25GiB, Used:1.02GiB   /dev/nvme0n1p1       2.25GiBSystem,single: Size:64.00MiB, Used:1600KiB   /dev/nvme0n1p1      64.00MiBUnallocated:   /dev/nvme0n1p1      32.69GiBBut again newer kernels refuse to boot with tlling me: "BTRFS error....: super_num_devices 2 missmatchwith num_devices 1 found here".So the the two counters are alwasy off by one, dont matter what i try.Question: how do i get thouse two counters in sync again so that my system acts again as expected?!regardsSash




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-08  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05 11:38 How to get Super_num_devices in sync with num_devices again?! g6094199
2017-10-08  0:06 ` g6094199

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.