Issue changing from raid1 to raid0

hi i get an error message when i try to change a pool from raid1 to raid0.

Error running a command. cmd = btrfs balance start -mconvert=raid0 -dconvert=raid0 /mnt2/Cloudpool. rc = 1. stdout = [’’]. stderr = [“ERROR: error during balancing ‘/mnt2/Cloudpool’: Invalid argument”, ‘There may be more info in syslog - try dmesg | tail’, ‘’]

im a noob and i was actually trying to change the hard drive i have nextcloud on because i see that i might need more space. so i fucked around with stuff i dont know enough about. i tried to include the new drive in the pool via raid0 and delete the original drive from the pool but got tons of errors. then decided to get them into raid1 before googling if that would work… now i cant get them back to raid0.

please help. tips about how to move all my nextcloud stuff to a new drive properly would also be nice.

@Jonas_Vinge Hello again.

Yes you should be able to change between the various btrfs raid levels but it can take quite some time for this to happen. And from the sound of it some stuff may have already been potentially half done. So first off we need to establish the current state of your pool/pools. Can your give us the output of the following commands:

yum info rockstor

To get the version of Rockstor actually running.
And the following btrfs commands:

btrfs fi show

and using the name of your presumably single data pool the following command:

btrfs balance status /mnt2/pool-name-here

and to get an overview of the usage to date re various raid levels:

btrfs fi us /mnt2/pool-name-here

Hopefully that will help others help you here. If only to get an initial overview of what the current state is.

1 Like

here is my results.

Installed Packages
Name : rockstor
Arch : x86_64
Version : 3.9.1
Release : 16
Size : 85 M
Repo : installed
From repo : Rockstor-Testing
Summary : RockStor – Store Smartly
License : GPL
Description : RockStor – Store Smartly

[root@rockstore3 ~]# btrfs fi show
Label: ‘rockstor_rockstor’ uuid: bc8e8562-37f3-4027-98
44-6390110a91e4
Total devices 1 FS bytes used 6.79GiB
devid 1 size 228.52GiB used 8.06GiB path /de
v/mapper/luks-a0646fcc-1fa7-426e-9f76-eba69875c7b2

006d847’Cloudpool’ uuid: b33a20f8-ba5e-485d-9d7a-2aeae

    Total devices 2 FS bytes used 135.56GiB        

dev/sdb devid 1 size 465.76GiB used 137.03GiB path /

    devid    2 size 3.64TiB used 137.03GiB path /de

v/sda

[root@rockstore3 ~]# btrfs balance status /mnt2/Cloudpo
No balance found on ‘/mnt2/Cloudpool’

[root@rockstore3 ~]# btrfs fi us /mnt2/Cloudpool
Device size: 4.09TiB

Device allocated:            274.06GiB             
Device missing:ted:              0.00B             
                                                   
Used:                        271.13GiB             

.91TiB)e (estimated): 1.91TiB (min: 1

Metadata ratio:                   2.00             
                                                   
Global reserve:              145.78MiB      (used: 

0.00B)

Data,RAID1: Size:136.00GiB, Used:135.37GiB
/dev/sdb 136.00GiB

/dev/sdaID1: 1.00GiBiB, Used:201.28MiB

/dev/sdb 1.00GiB
System,RAID1: Size:32.00MiB, Used:48.00KiB

/dev/sda 32.00MiB
/dev/sdb 32.00MiB

Unallocated:
/dev/sdb 328.73GiB

it fails when it tries to balance(and i get the errormessage from my first post) when i change the raid level.

thank you very much for replying, its so nice for a noob to get some help.