You are not logged in.

#1 2022-05-19 11:55:45

init.6
Member
Registered: 2022-02-06
Posts: 4

Btrfs Raid10

Moring,

I'm wanting to make a raid10 and sub vols.  I created the mount point but I get an error making the array that the space is too small to create a filesystem.  I have 4 disks each 20G each.  This is all being done from the latest arch iso via ssh.

I'm assuming that the mount point is from the live ISO and such that it just doesn't have enough room for the creation of the array.  So, how is it done? 

Thanks,

Offline

#2 2022-05-19 12:04:48

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Btrfs Raid10

Mounting comes after creating the filesystem(s). What exactly did you do: https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#3 2022-05-19 16:56:24

init.6
Member
Registered: 2022-02-06
Posts: 4

Re: Btrfs Raid10

Raynman wrote:

Mounting comes after creating the filesystem(s). What exactly did you do: https://bbs.archlinux.org/viewtopic.php?id=57855

Thanks.  Found I was adding the mount point to the command that I ran.


 mkfs.btrfs -L Sys0 -d raid10 -m raid10 -f /dev/vda /dev/vdb /dev/vdc /dev/vd 
btrfs-progs v5.17 
See http://btrfs.wiki.kernel.org for more information.

Performing full device TRIM /dev/vda (20.00GiB) ...
NOTE: several default settings have changed in version 5.15, please make sure
      this does not affect your deployments:
      - DUP for metadata (-m dup)
      - enabled no-holes (-O no-holes)
      - enabled free-space-tree (-R free-space-tree)

Performing full device TRIM /dev/vdb (20.00GiB) ...
Performing full device TRIM /dev/vdc (20.00GiB) ...
Performing full device TRIM /dev/vdd (20.00GiB) ...
Label:              Sys0
UUID:               22fe6ebf-4363-4f6d-ad94-d91a346d3798
Node size:          16384
Sector size:        4096
Filesystem size:    80.00GiB
Block group profiles:
  Data:             RAID10            2.00GiB
  Metadata:         RAID10          512.00MiB
  System:           RAID10           16.00MiB
SSD detected:       no
Zoned device:       no
Incompat features:  extref, skinny-metadata, no-holes
Runtime features:   free-space-tree
Checksum:           crc32c
Number of devices:  4
Devices:
   ID        SIZE  PATH
    1    20.00GiB  /dev/vda
    2    20.00GiB  /dev/vdb
    3    20.00GiB  /dev/vdc
    4    20.00GiB  /dev/vdd

Offline

Board footer

Powered by FluxBB