Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Can not resume "import disk" after reboot

Description

I was importing from NTFS to zpool.. I shutdown and restarted the system when "import disk" was in progress. I thought the importing task will resume either automatically or manually. But no matter what I did, it just won't resume. The error message told me device busy but actually there is no any device busy. It seems that partition was marked as busy permenately somewhere and restarting the "import disk" task became impossible.

The error message is following:

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
await self.future
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 397, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/pool_/import_disk.py", line 47, in import_disk
os.rmdir(src)
OSError: [Errno 16] Device busy: '/var/run/importcopy/tmpdir/dev/ada3s2'

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
February 10, 2021 at 12:41 PM

Bill Lee 
January 12, 2021 at 10:00 PM

debug uploaded now. Please let me know are you able to open it or not.

Bonnie Follweiler 
January 12, 2021 at 4:41 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?

Complete

Details

Assignee

Reporter

Labels

Impact

Affects versions

Priority

More fields

Katalon Platform

Created January 12, 2021 at 4:24 PM
Updated July 1, 2022 at 4:58 PM
Resolved February 16, 2021 at 7:36 PM