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 g6094...@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



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to