Unable to remove SLOG from pool

john1

Cadet
Joined
Jul 26, 2018
Messages
5
I have looked up older threads on this issue but it appears these solutions do not work for the latest TrueNAS Scale.
I have been testing whether I need a SLOG and now I am attempting to remove them I there is no option to remove disk.
Somehow I have managed to add the SLOG as two SSD's but they are both striped.

Version: TrueNAS-SCALE-22.12.3
RAIDZ2 x6 Drives
LOG x2 128GB SSD
vqltpflx27ab1.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
You can do that on the command line.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Find the device IDs of your log devices:
Code:
zpool status <your-pool>


Offline them:
Code:
zpool offline <your-pool> <device-id>


Remove them:
Code:
zpool remove <your-pool> <device-id>


All run as user root.
 

imxtristan

Cadet
Joined
Jul 12, 2023
Messages
2
Thank you Patrick! your advice also helped me remove an nvme cache disk from my pool. At first I was a little unclear of how to execute the commands you generously provided- but once I figured out I needed to be in the Linux Shell from the boot menu of the server, it was very straight forward.

Thanks again for sharing your knowledge with noobs like me- it is greatly appreciated.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Glad it worked for you. Next instead of using the console try ssh :wink:
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
I take this correctly writes the configuration, contrary to what the MotD says?
Yes, changes to the ZFS pool itself are persistently stored on the disks. The MOTD warning is more for configuration changes to things such as services or sysctl tunables.

The UI bug that incorrectly hid the removal option should be addressed in 22.12.4 (if I can hazard a guess, all those affected here are using a RAIDZ data layout?)
 
Top