Project

General

Profile

Bug #40744

Update new UI version of Guide to indicate destination directory will be automatically created if it does not exist when adding storage to a jail

Added by Daniel Schuler over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Timothy Moore II
Category:
Documentation
Target version:
Seen in:
Severity:
Low Medium
Reason for Closing:
Not Applicable
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Adding a mount point to a jail requires the destination directory to exist. If it does not, the jail will fail to start in the (new) UI, with an "unknown" error in the console.

On the command line, the problem is clear:

[Vignesh V /mnt/hgstpool]$ sudo iocage start flex
  • Starting flex
    + Start FAILED
    mount: /newbies: No such file or directory
    jail: /sbin/mount -t nullfs -o rw /mnt/mypool/media/newbies /newbies: failed

Destinatino directories should be created if they don't exist, and it would be convenient if the error output of "iocage start" would be shown in a dialog box.

Thanks!

JailDestDir-2018-08-24.png (61 KB) JailDestDir-2018-08-24.png Michael Reynolds, 08/24/2018 12:48 PM
25667

Related issues

Related to FreeNAS - Feature #42958: Adding storage to jail: help user in creating destination directoryClosed
Blocked by FreeNAS - Feature #41060: Improve the validation process for source and destination fields when adding storage to jails Done

History

#1 Updated by Daniel Schuler over 1 year ago

I just figured out that the destination directory isn't relative to the jail - it's relative to the host filesystem. So, give the above, the destination would need to be:

/mnt/iocage/jails/plex/root/newbies

However, the destination directory still needs to be manually created.

#2 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Release Council to Erin Clark
  • Target version changed from Backlog to 11.2-BETA3

#4 Updated by Erin Clark over 1 year ago

  • Assignee changed from Erin Clark to Lola Yang

#5 Updated by Lola Yang over 1 year ago

  • Blocked by Feature #41060: Improve the validation process for source and destination fields when adding storage to jails added

#6 Updated by Lola Yang over 1 year ago

  • Status changed from Unscreened to Blocked

#7 Updated by Dru Lavigne over 1 year ago

  • Status changed from Blocked to Not Started

#8 Updated by Lola Yang over 1 year ago

  • Status changed from Not Started to Closed
  • Reason for Closing set to Not Applicable

Middleware will automatically create the destination directory if it doesn't exist. So ui doesn't need any changes.

#9 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Jail mount point with missing destination prevents jail from starting to Update new UI version of Guide to indicate destination directory will be automatically created if it does not exist when adding storage to a jail
  • Category changed from GUI (new) to Documentation
  • Status changed from Closed to Unscreened
  • Assignee changed from Lola Yang to Timothy Moore II

#10 Updated by Timothy Moore II over 1 year ago

  • Status changed from Unscreened to In Progress
  • Severity changed from New to Low Medium

#11 Updated by Timothy Moore II over 1 year ago

  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#12 Updated by Michael Reynolds over 1 year ago

25667

Verified in the user guide that comes with the new UI

see JailDestDir-2018-08-24.png

#13 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

#14 Updated by Dru Lavigne over 1 year ago

  • Related to Feature #42958: Adding storage to jail: help user in creating destination directory added

Also available in: Atom PDF