I ma trying to make a "RAID1" with /dev/sda2 ans /dev/sdb (or similar).

But I have stranges status or errors  about "missing devices" and I do not understand the current situation :


root@server:~# btrfs fi show
Label: none  uuid: 28c2b7ab-631c-40a3-bab7-00dac5dd20eb
        Total devices 1 FS bytes used 190.91GiB
        devid    1 size 1.82TiB used 196.02GiB path /dev/sda2

warning, device 1 is missing
Label: none  uuid: 2d45149a-fb97-4c2a-bae2-4cfe4e01a8aa
        Total devices 2 FS bytes used 116.18GiB
        devid    2 size 1.82TiB used 118.03GiB path /dev/sdb
        *** Some devices missing

root@server:~# fdisk -l
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CFF97102-D6B5-4126-B2B4-FA735598D1F0

Device       Start        End    Sectors  Size Type
/dev/sda1     2048    1050623    1048576  512M EFI System
/dev/sda2  1050624 3907026943 3905976320  1.8T Linux filesystem


Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


root@server:~# btrfs fi usage /
Overall:
    Device size:                   1.82TiB
    Device allocated:            196.02GiB
    Device unallocated:            1.63TiB
    Device missing:                  0.00B
    Used:                        191.84GiB
    Free (estimated):              1.63TiB      (min: 835.27GiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              263.64MiB      (used: 0.00B)

Data,single: Size:192.01GiB, Used:189.98GiB
   /dev/sda2     192.01GiB

Metadata,DUP: Size:2.00GiB, Used:951.67MiB
   /dev/sda2       4.00GiB

System,DUP: Size:8.00MiB, Used:48.00KiB
   /dev/sda2      16.00MiB

Unallocated:
   /dev/sda2       1.63TiB
root@server:~#


Reply via email to