Scale pool no mounting

Hi all, after a reboot yesterday, one of the pools in my scale system isn’t mounting correctly. The pool fails to import at boot, when I eventually get to the web-ui it’s stuck trying to import the pool with the following tasks:

image

When I SSH in and try to manually import the pool, including trying to overwrite the read-only status, I get the following:

cannot mount '/ssd': failed to create mountpoint: Read-only file system
Import was successful, but unable to mount some datasets

Once imported through command line, the pool shows up in the scale ui as do the datasets, but trying to look at the details of them results in errors:

 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 198, in call_method
    result = await self.middleware.call_with_audit(message['method'], serviceobj, methodobj, params, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1466, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1428, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1321, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 191, in nf
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 53, in nf
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem.py", line 430, in stat
    raise CallError(f'Path {_path} not found', errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Path /ssd/apps not found

I ran a scrub on the pool and that’s come back with no errors. The pool is an SSD mirror and both drives appear to be healthy.

zpool status ssd                                                                                                                                                                                     
  pool: ssd                                                                                                                                                                                                                    
 state: ONLINE                                                                                                                                                                                                                 
  scan: scrub repaired 0B in 00:04:19 with 0 errors on Mon Nov  4 09:15:58 2024                                                                                                                                                
config:                                                                                                                                                                                                                        
                                                                                                                                                                                                                               
        NAME                                      STATE     READ WRITE CKSUM                                                                                                                                                   
        ssd                                       ONLINE       0     0     0                                                                                                                                                   
          mirror-0                                ONLINE       0     0     0                                                                                                                                                   
            17f52ff9-6ac2-4f1c-8ee6-2bc722fc180a  ONLINE       0     0     0                                                                                                                                                   
            542085f4-905c-4154-979b-c0cbcd2c27a4  ONLINE       0     0     0                                                                                                                                                   
                                                                                                                                                                                                                               
errors: No known data errors

Any ideas?

My guess is corrupted pool, try importing from the command line and see if there is a more detailed error message.

That is the error message from a command line import.

Weirdly after a couple of reboots and exporting/importing the pool both via commandline and the web ui it seems to be working now… Scrub still comes back clean

Seems to have survived another reboot so not entirely sure what happened there… Will update if it happens again

1 Like