CelticWebs
Dabbler
- Joined
- Dec 4, 2023
- Messages
- 18
I've done a bit of searching on the forum and believe that I can actually just pull the drive and replace it. I just wanted some confirmation and direction before doing it.
I have Truenas 13 with 8GB memory and 8 x 4TB Drives in a Z3 raid, I only have 8 bays. The pool is showing as degraded. When looking at the pool, a single disk is showing as FAULTED. I've attempted to take the disk offline, unfortunately this fails with an error
I can't add any more memory and I don't have a spare slot to insert another disk to use the replace function. I've had a search across the forum and the consensus seems to be that I can just pull the faulted drive, insert a new one and then use the replace function.
The thing that concerns me is that the others with similar issue have not mentioned the memory issue, what my best course of action from here please?
I have Truenas 13 with 8GB memory and 8 x 4TB Drives in a Z3 raid, I only have 8 bays. The pool is showing as degraded. When looking at the pool, a single disk is showing as FAULTED. I've attempted to take the disk offline, unfortunately this fails with an error
Code:
[EFAULT] Command swapoff /dev/mirror/swap0.eli failed (code 1): swapoff: /dev/mirror/swap0.eli: Cannot allocate memory
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 139, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1235, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1156, in offline
await self.middleware.call('disk.swaps_remove_disks', [disk])
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1278, in call
return await self._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1235, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/service.py", line 44, in l_fn
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/disk_/swap_remove.py", line 28, in swaps_remove_disks
return await self.swaps_remove_disks_unlocked(disks, options, part_xml)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/disk_/swap_remove.py", line 56, in swaps_remove_disks_unlocked
await run('swapoff', devname)
File "/usr/local/lib/python3.9/site-packages/middlewared/utils/__init__.py", line 62, in run
cp.check_returncode()
File "/usr/local/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '('swapoff', '/dev/mirror/swap0.eli')' returned non-zero exit status 1.
I can't add any more memory and I don't have a spare slot to insert another disk to use the replace function. I've had a search across the forum and the consensus seems to be that I can just pull the faulted drive, insert a new one and then use the replace function.
The thing that concerns me is that the others with similar issue have not mentioned the memory issue, what my best course of action from here please?