public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: question about creating a raid10
@ 2019-01-17 23:28 Tomasz Chmielewski
  2019-01-19  2:12 ` Chris Murphy
  0 siblings, 1 reply; 12+ messages in thread
From: Tomasz Chmielewski @ 2019-01-17 23:28 UTC (permalink / raw)
  To: linux-btrfs

> It is actually more like RAID-1E which is supported by some hardware
> RAID HBA. The difference is that RAID-1E is usually using strict
> sequential block placement algorithm and assumes disks of equal size,
> while btrfs raid10 is more flexible in selecting where next mirror pair
> is allocated.

s/flexible/random/

In sense, with btrfs, you can't really choose where the blocks are 
allocated, that's not really the definition of "flexible"?

^ permalink raw reply	[flat|nested] 12+ messages in thread
* question about creating a raid10
@ 2019-01-16 14:36 Stefan K
  2019-01-16 14:42 ` Hugo Mills
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan K @ 2019-01-16 14:36 UTC (permalink / raw)
  To: Linux Btrfs

Hello,

if I create a raid10 it looks like that:
mkfs.btrfs -m raid10 -d raid10 /dev/sdb /dev/sdc /dev/sdd /dev/sde

but if I've different jbods and I want that every mirror of a raid10 is on a different jbod how can I archive that? in zfs it looks like that:
zpool create -o ashift=12 nc_storage mirror j1d03-hdd j2d03-hdd mirror j1d04-hdd j2d04-hdd

zpool status
[sudo] password for skrueger:                                                                                                                                                                                                                                                                                                
  pool: nc_storage                                                                                                                                                                                                                                                                                                           
 state: ONLINE                                                                                                                                                                                                                                                                                                               
  scan: scrub repaired 0B in 1h23m with 0 errors on Tue Jan 15 05:38:54 2019                                                                                                                                                                                                                                                 
config:                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                             
        NAME           STATE     READ WRITE CKSUM                                                                                                                                                                                                                                                                            
        nc_storage     ONLINE       0     0     0                                                                                                                                                                                                                                                                            
          mirror-0     ONLINE       0     0     0                                                                                                                                                                                                                                                                            
            j1d03-hdd  ONLINE       0     0     0                                                                                                                                                                                                                                                                            
            j2d03-hdd  ONLINE       0     0     0                                                                                                                                                                                                                                                                            
          mirror-1     ONLINE       0     0     0                                                                                                                                                                                                                                                                            
            j1d04-hdd  ONLINE       0     0     0                                                                                                                                                                                                                                                                            
            j2d04-hdd  ONLINE       0     0     0 


how can I be sure that is btrfs the same?

best regards 
Stefan

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

end of thread, other threads:[~2019-01-19  2:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 23:28 question about creating a raid10 Tomasz Chmielewski
2019-01-19  2:12 ` Chris Murphy
  -- strict thread matches above, loose matches on Subject: below --
2019-01-16 14:36 Stefan K
2019-01-16 14:42 ` Hugo Mills
2019-01-16 14:58   ` Stefan K
2019-01-16 18:15     ` Chris Murphy
2019-01-17  0:59       ` Paul Jones
2019-01-17 12:33       ` Austin S. Hemmelgarn
2019-01-17 19:17       ` Andrei Borzenkov
2019-01-18  7:02       ` Stefan K
2019-01-18 13:30         ` Jukka Larja
2019-01-19  2:43         ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox