All of lore.kernel.org
 help / color / mirror / Atom feed
* mkfs.btrfs(8) --data outdated?
@ 2015-09-27 20:33 Juan Francisco Cantero Hurtado
  2015-09-28  1:22 ` Qu Wenruo
  2015-09-28  2:19 ` Duncan
  0 siblings, 2 replies; 5+ messages in thread
From: Juan Francisco Cantero Hurtado @ 2015-09-27 20:33 UTC (permalink / raw)
  To: linux-btrfs

kernel: 4.1.7
btrfs-progs: 4.2

mkfs.btrfs(8) man page says:
-d|--data <type>
     Specify how the data must be spanned across the devices
     specified. Valid values are raid0, raid1, raid5, raid6,
     raid10 or single.

$ sudo mkfs.btrfs -d dup -m dup -M -O no-holes -f /dev/sdb1
SMALL VOLUME: forcing mixed metadata/data groups
btrfs-progs v4.2
See http://btrfs.wiki.kernel.org for more information.

Label:              (null)
UUID:               29de8c3e-92da-4fe1-aa31-830c1068f532
Node size:          4096
Sector size:        4096
Filesystem size:    3.00GiB
Block group profiles:
   Data+Metadata:    DUP             161.56MiB
   System:           DUP              12.00MiB
SSD detected:       no
Incompat features:  mixed-bg, extref, skinny-metadata, no-holes
Number of devices:  1
Devices:
    ID        SIZE  PATH
     1     3.00GiB  /dev/sdb1


The man page doesn't mention the option "-d dup". Am I missing something 
or the man page is outdated?. The partition will contain two copies of 
the data blocks?


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

end of thread, other threads:[~2015-09-29 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-27 20:33 mkfs.btrfs(8) --data outdated? Juan Francisco Cantero Hurtado
2015-09-28  1:22 ` Qu Wenruo
2015-09-29 11:40   ` David Sterba
2015-09-28  2:19 ` Duncan
2015-09-28 21:53   ` Juan Francisco Cantero Hurtado

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.