linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Which device is missing ?
@ 2018-10-08 13:49 Pierre Couderc
  2018-10-08 16:10 ` Hugo Mills
  0 siblings, 1 reply; 8+ messages in thread
From: Pierre Couderc @ 2018-10-08 13:49 UTC (permalink / raw)
  To: Btrfs BTRFS

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:~#



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

end of thread, other threads:[~2018-10-09  0:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08 13:49 Which device is missing ? Pierre Couderc
2018-10-08 16:10 ` Hugo Mills
2018-10-08 16:14   ` Hugo Mills
2018-10-08 21:01     ` Pierre Couderc
2018-10-08 21:21       ` Hugo Mills
2018-10-08 21:37         ` Pierre Couderc
2018-10-09  0:08   ` merge status of per-chunk degradable check [was Re: Which device is missing ?] Nicholas D Steeves
2018-10-09  0:16     ` Hans van Kranenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).