Error running a command device add

Brief description of the problem

error when adding 4TB disk to pool.

Detailed step by step instructions to reproduce the problem

I have previously added a 3rd disk to the pool. Now trying to add fourth.
I am not choosing to change from raid level 1.

Web-UI screenshot

RSui

Error Traceback provided on the Web-UI

Traceback (most recent call last): File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/pool.py", line 600, in put self._resize_pool_start(pool, dnames) File "/opt/rockstor/src/rockstor/storageadmin/views/pool.py", line 332, in _resize_pool_start start_resize_pool.call_local(cmd) File "/opt/rockstor/eggs/huey-2.3.0-py2.7.egg/huey/api.py", line 784, in call_local return self.func(*args, **kwargs) File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 1787, in start_resize_pool raise e CommandException: Error running a command. cmd = /usr/sbin/btrfs device add /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN2EGQN /mnt2/JimFiles. rc = 1. stdout = ['']. stderr = ['ERROR: use the -f option to force overwrite of /dev/disk/by-id/ata-ST4000DM004-2CV104_ZFN2EGQN', '']

@cr0mulent1 Welcome to the Rockstor community forum.

What version of Rockstor is this? It should say in the top right of the Web-UI.

That will help folks here help you. And did you just recently add the 3rd additional drive you mention, it can take several hours for the consequent balance to finish before you can add another disk. Our v4 is better at informing you of progress on these things.

Also we have:

Suggests this drive is already used, or already has a btrfs filesystem on it. Or may even be the one you just added that has yet to be fully intergrated due to the on-gong balance. A page refresh on the particular pool details page (as in you pic), in newer Rockstor’s, can tell you of the progress of such things.

That error is a copy of the command output after the Web-UI tried to run it, so it is a directly representation of the command used’s output, so it is canonical. And it looks like it doesnt’ want to overwrite something it things is already there. Don’t be tempted to force via the option given, as that should not be required. Be clear on if the drive has a prior filesystem or is caught in limbo of being added but not yet represented in the Web-UI. But a refresh on the Pool details page should inform you if it’s a fairly modern Rockstor.

Hope that helps.

3 Likes