Teil drei der Geschichte: Migration Core nach Scale grub error

Hallo,

ich habe immernoch die alte Hardware am laufen. Um von einer internen Platte booten zu können habe ich eine zfs-Platte entfernt und eine ssd installiert. Von dort bootet aktuell Truenas Community-Edition “25.10.1” Goldeye Alles läuft stabil und läst sich auch mehrmals erfolgreich neu booten.

Die zfs-Platte könnte ich entweder per usb oder e-sata extern betreiben?

Muss ich etwas beachten beim Einbinden der Platte?

Viele Grüße und ein gutes Neues Jahr

Rolf

Inzwischen habe ich die Platte via esata angeschlossen und importiert:

root@truenas[/var/log]# sudo zpool import
  pool: Backup
    id: 9352009934464260069
 state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
	the '-f' flag.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

	Backup                                  ONLINE
	  4f1be623-5dbc-11ec-b51d-38eaa7a49f64  ONLINE
root@truenas[/var/log]# sudo zpool import Backup
cannot import 'Backup': pool was previously in use from another system.
Last accessed by truenas (hostid=7fa99fb4) at Sun Oct 19 01:29:11 2025
The pool can be imported, use 'zpool import -f' to import the pool.
root@truenas[/var/log]# sudo zpool import -f Backup
cannot mount '/Backup': failed to create mountpoint: Read-only file system
Import was successful, but unable to mount some datasets
root@truenas[/var/log]# zfs get mountpoint Backup
NAME    PROPERTY    VALUE       SOURCE
Backup  mountpoint  /Backup     default

leider habe ich den Mountpoint nicht beachtet. Im Dateisystem war nichts sichtbar, nicht einmal “/Backup”.


truenas_admin@truenas[~]$ sudo zpool status
  pool: Backup
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
	The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 01:29:08 with 0 errors on Sun Oct 19 01:29:10 2025
config:

	NAME                                    STATE     READ WRITE CKSUM
	Backup                                  ONLINE       0     0     0
	  4f1be623-5dbc-11ec-b51d-38eaa7a49f64  ONLINE       0     0     0

errors: No known data errors

  pool: ZFSVolume
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
	The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:23:11 with 0 errors on Sun Jan  4 00:23:13 2026
config:

	NAME                                      STATE     READ WRITE CKSUM
	ZFSVolume                                 ONLINE       0     0     0
	  mirror-0                                ONLINE       0     0     0
	    ee46faa0-a4fd-11e6-b27e-38eaa7a49f64  ONLINE       0     0     0
	    366256e6-98e4-11e3-8f3f-38eaa7a49f64  ONLINE       0     0     0
	  mirror-1                                ONLINE       0     0     0
	    372bae17-98e4-11e3-8f3f-38eaa7a49f64  ONLINE       0     0     0
	    1597cd55-971f-11ed-80fc-38eaa7a49f64  ONLINE       0     0     0

errors: No known data errors

  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:00:42 with 0 errors on Mon Jan 12 03:45:44 2026
config:

	NAME        STATE     READ WRITE CKSUM
	boot-pool   ONLINE       0     0     0
	  sdb3      ONLINE       0     0     0

errors: No known data errors

Also noch mal exportiert und mit

truenas_admin@truenas[/]$ sudo zpool import -R /mnt  Backup

eingebunden. Ergibt

truenas_admin@truenas[/mnt]$  ls -l
total 17
drwxrwxrwx 12 root root 14 Oct  5 11:27 Backup
drwxrwxrwx 10 root root 10 Jan  9 16:11 ZFSVolume
truenas_admin@truenas[/mnt]$  ls -l *
Backup:
total 22
drwxrwxr-x  3 root       root       3 Jul 26  2024 Berg34
drwxr-xr-x  3 root       root       3 Jan 12  2022 FF3AHP
drwxr-xr-x  3 root       root       3 Mar 15  2022 InternePlatten
drwxr-xr-x  2 root       root       3 Feb 21  2025 LenovoFF3A
-rw-r--r--  1 4294967294 root       0 Dec 17  2021 Test.txt
-rw-rw-r--  1 root       root      33 Dec 19  2021 Test2.txt
drwxr-xr-x  3 root       root       3 Jan 10  2022 cerberos
drwxr-xr-x  3 root       root       3 Jan 11  2022 cerberos1
drwxrwx--x  2 xxxxxx    xxxxxxxxx  3 Oct  5 12:04 xxxx
drwxr-xr-x 14         80        80 33 Aug 17  2015 owncloud
drwxrwx--x  5 xxxx       xxxx      17 Oct  5 10:39 xxx
drwxrwx--x  2 kodi       kodi       2 Oct  5 11:27 xxx

ZFSVolume:
total 84
drwxr-xr-x 16 root root 16 Dec 28 13:46 Jails
drwxrwx--- 12 root root 12 Apr 28  2020 SMBDataset
drwxrwx---  3 root root  3 Jan  9 16:25 VMTest
drwxrwx---  3 root root  3 Dec 28 15:55 xxxx
drwxrwx---  5   80   80  7 Oct 30  2014 files
drwxr-xr-x  9 root root 12 Dec 28 13:46 iocage
drwx------  4 root root  9 Jan 10 16:31 xxx
truenas_admin@truenas[/mnt]$ 

Die Daten sind erhalten :slight_smile:

in der Oberfläche leider unter Datasets folgender Fehler


Error Name: ENOENT
Error Code: 2
Reason: [ENOENT] Path /Backup not found
Error Class: CallError
Trace: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 360, in process_method_call
    result = await method.call(app, id_, params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 57, in call
    result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 954, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 782, 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 665, 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/api/base/decorator.py", line 116, in wrapped
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem.py", line 467, in stat
    raise CallError(f'Path {_path} not found', errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Path /Backup not found

Ebenso fehlt der Pool in Storage Dashboard siehe Bilder

Wie bekomme ich einen manuell importierten zpool in der TrueNAS 25 GUI angezeigt?

Eventuell wäre das ein Weg?Import zpool

Für Hilfe wäre ich dankbar :innocent:

[…]

Ich meine, das ich das auch schon mal hatte. Die GUI mag m. W. keine über die Shell manuell importierten Pools. Bei mir hat manuelles Exportieren und erneutes Importieren über die GUI geholfen. War damals allerdings noch entweder Core oder Scale 24

Genau so. Bei import Problemen erst auf der shell einen funktionierenden Zustand herstellen, dann von dort exportieren und per GUI importieren.

Außerdem würde ich stark empfehlen, ebenfalls per part-uuids zu importieren und einen mountpoint unter /mnt zu nutzen, da TrueNAS das ebenfalls tut und u.u. so erwartet.