mrelephant
Cadet
- Joined
- Dec 12, 2021
- Messages
- 3
Trying to import a disk that has a lot of existing files I want to copy over. I have a pool already created using a separate disk that I hope to copy the files too. However I'm getting an error while trying to import the disk using the UI.
More info...
I used "gpart show" to verify it is indeed ada1p3
I'm not sure if this is a bug or if I'm doing something wrong, any help is greatly appreciated.
Mount failed (exit code 1): mount: /dev/ada1p3: Invalid argument
More info...
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in run
await self.future
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 403, in __run_body
rv = await self.method(*([self] + 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_/import_disk.py", line 54, in import_disk
async with await self.middleware.call('pool.import_disk_mount_fs_context_manager', device, src,
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool_/import_disk_freebsd.py", line 96, in __aenter__
await mount(self.device, self.path, *self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool_/import_disk_freebsd.py", line 54, in mount
raise ValueError("Mount failed (exit code {0}):\n{1}{2}" .format(
ValueError: Mount failed (exit code 1):
mount: /dev/ada1p3: Invalid argument
I used "gpart show" to verify it is indeed ada1p3
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 9763346696 2 freebsd-zfs (4.5T)
I'm not sure if this is a bug or if I'm doing something wrong, any help is greatly appreciated.