Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F foris-storage-plugin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Foris
  • foris-storage-plugin
  • Issues
  • #15

Closed
Open
Created Oct 14, 2019 by Lukas Jelinek@ljelinek🗄Owner

Crash when selecting whole device

The Foris storage plugin crashes when a whole device (not a partition) is selected.

Steps to reproduce:

  1. Setup an external disk such as sda1.
  2. On the Storage page, check the disk itself (not its partition), ie. sda.
  3. Click Format & Set.

Expected results:

It should format the device and mount it to /srv. Or if this is not a desired behavior (only partitions should be mounted), disallow the possibility to check the block device itself.

Current results:

It crashes with the following error message: foris-error_1_.html

The notification message is:

Adding drive /dev/sda failed.

Technical details: /dev/sda appears to contain a partition table (dos).

ERROR: use the -f option to force overwrite of /dev/sda

Edited Oct 14, 2019 by Lukas Jelinek
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking