Project

General

Profile

Umbrella #55899

Prevent Cloud Sync Tasks from overflowing /mnt

Added by Caleb St. John 9 months ago. Updated 8 months ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Due date:
Reason for Closing:
Reason for Blocked:
Needs Doc:
No
Needs Automation:
No

Description

Configuring a cloud sync task has the potential to fill the /mnt directory, therefore disallowing the ability to import your zpools.


Subtasks

Bug #55908: stop running cron jobs on passive controllerClosedRelease Council
Bug #55923: Make Services -> S3 -> Disks a required fieldDoneWaqar Ahmed
Bug #56121: S3 service will recursively wipe all permissions starting at /mnt directoryDoneWaqar Ahmed
Bug #60462: Make Services -> S3 -> Disks a required fieldDoneWaqar Ahmed

Related issues

Related to FreeNAS - Bug #28182: Do not run cron jobs on TrueNAS passive controllersDone
Has duplicate FreeNAS - Bug #55905: /mnt can fill up when using cloud syncClosed
Copied to FreeNAS - Umbrella #56070: /mnt becomes full with cloud sync tasksClosed
Copied to FreeNAS - Umbrella #56079: Prevent Cloud Sync Tasks from overflowing /mntDone
Copied to FreeNAS - Bug #60471: Prevent Cloud Sync Tasks from overflowing /mntDone

History

#1 Updated by Dru Lavigne 9 months ago

  • Assignee changed from Release Council to William Grzybowski

#2 Updated by Dru Lavigne 9 months ago

  • Related to Bug #28182: Do not run cron jobs on TrueNAS passive controllers added

#4 Updated by William Grzybowski 9 months ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko

Vladimir, we need to fix cloud sync tasks to make sure /mnt/$FOO exists before going through with it. Or it will create the directories and fill up /mnt which is a tmpfs.

#5 Updated by Bug Clerk 9 months ago

  • Status changed from Blocks Until Resolved to In Progress

#7 Updated by Bug Clerk 9 months ago

#8 Updated by Bug Clerk 9 months ago

  • Copied to Umbrella #56079: Prevent Cloud Sync Tasks from overflowing /mnt added

#9 Updated by Vladimir Vinogradenko 9 months ago

Acceptance Criteria

Create pool /mnt/tank. Create a PULL cloud sync, run it. It should run OK.

Destroy pool /mnt/tank. There should be no directory /mnt/tank. Run cloud sync. It should say "directory does not exist"

Run mkdir /mnt/tank (but do not create pool). Run cloud sync. It should say "directory must reside within volume mount point"

#10 Updated by Vladimir Vinogradenko 8 months ago

  • Has duplicate Bug #55905: /mnt can fill up when using cloud sync added

#11 Updated by Dru Lavigne 8 months ago

  • Subject changed from /mnt becomes full with cloud sync tasks to Prevent Cloud Sync Tasks from overflowing /mnt

#12 Updated by Dru Lavigne 8 months ago

  • Status changed from In Progress to Done

#14 Updated by Dru Lavigne 8 months ago

  • Copied to Bug #60471: Prevent Cloud Sync Tasks from overflowing /mnt added

Also available in: Atom PDF