Hi All,
I'm brand new to both FreeBSD and FreeNAS and most of the concepts are pretty alien to me. With that said I'm fairly tech savvy and I'm picking stuff up well.
I just have a couple of questions as I want to ensure I've understood things correctly and I'm facing an issue creating jails.
I have repurposed a Dell T130 server to run freenas. The build is:
Intel(R) Pentium(R) CPU G4500 @ 3.50GHz (2 cores)
16GiB RAM
2xGb LOM controllers (I believe it's a broadcom chipset)
Dell H730 RAID controller
32GiB internal USB stick with FreeNAS installation
2x WD Red 6TB
2x 2TB (i don't know what disks they are)
I have successfully installed FreeNAS and created 1 zpool with a dataset.
Currently the zpool has 1 vdev which contains 1 WD Red. The other disk is currenly sitting in my very old Synology NAS in degraded RAID so I can migrate my data accross.
Once I've migrated the data, can I add the remaining disk into the current vdev and create a mirror?
Can I then extend the pool to have another vdev which will contain the 2x2TB disks in mirror? (I've seen this questions asked and answered a lot on the forum and I keep finding conflicting answers).
Onto the jails:
I'm trying to create a jail in the current zpool, but I am getting the following error message:
I am able to ping download.freenas.org from the shell.
Any help is greatly appreciated. Thanks!
I'm brand new to both FreeBSD and FreeNAS and most of the concepts are pretty alien to me. With that said I'm fairly tech savvy and I'm picking stuff up well.
I just have a couple of questions as I want to ensure I've understood things correctly and I'm facing an issue creating jails.
I have repurposed a Dell T130 server to run freenas. The build is:
Intel(R) Pentium(R) CPU G4500 @ 3.50GHz (2 cores)
16GiB RAM
2xGb LOM controllers (I believe it's a broadcom chipset)
Dell H730 RAID controller
32GiB internal USB stick with FreeNAS installation
2x WD Red 6TB
2x 2TB (i don't know what disks they are)
I have successfully installed FreeNAS and created 1 zpool with a dataset.
Currently the zpool has 1 vdev which contains 1 WD Red. The other disk is currenly sitting in my very old Synology NAS in degraded RAID so I can migrate my data accross.
Once I've migrated the data, can I add the remaining disk into the current vdev and create a mirror?
Can I then extend the pool to have another vdev which will contain the 2x2TB disks in mirror? (I've seen this questions asked and answered a lot on the forum and I keep finding conflicting answers).
Onto the jails:
I'm trying to create a jail in the current zpool, but I am getting the following error message:
[SIZE=7][B] Error: Fetching remote release choices failed.[/B][/SIZE]
('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
Code:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 133, in main_worker
res = loop.run_until_complete(coro)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 93, in _run
return await self._call(name, serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 592, in list_resource
resource_list = iocage.fetch(list=True, remote=remote, http=True)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 961, in fetch
_list=True)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_fetch.py", line 232, in fetch_release
rel = self.fetch_http_release(eol, _list=_list)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_fetch.py", line 428, in fetch_http_release
req = requests.get(f"{self.server}/{self.root_dir}")
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 490, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1107, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1052, in _call
return await self._call_worker(name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1072, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 995, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 971, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))I am able to ping download.freenas.org from the shell.
Any help is greatly appreciated. Thanks!