Git Product home page Git Product logo

Comments (5)

salzig avatar salzig commented on August 30, 2024 1

@chihyuwu

  1. Mount doesn't show any mounted volumes, but fdisk -l shows the availability.
  2. Yes.
  3. https://github.com/SynologyOpenSource/synology-csi/blob/main/deploy/helm/templates/storageclass.yaml

Edit: 1) any other beside nvme0n1 and tmpfs/overlay/etc for k8s workloads.

from synology-csi.

chihyuwu avatar chihyuwu commented on August 30, 2024

Hi @salzig,
Could you provide more information for us to investigate? Thank you.

  1. output of mount or mount | grep sda on your machine
  2. Is this LUN new created by CSI?
  3. The cofig of the StorageClass synology-csi-retain

from synology-csi.

salzig avatar salzig commented on August 30, 2024

@chihyuwu Looks like a Volume size of 320GB ends up in a timeout. Using a 30GB it worked just fine. Monitoring the Synology SAN Manager I can see that the 320GB thin provisioned volume gets utilised ("used") gigabyte by gigabyte. At around ~80GB k8s fails with a timeout. Looks like the ext4 (default) fs creation takes to long.

from synology-csi.

chihyuwu avatar chihyuwu commented on August 30, 2024

Hi @salzig,
The timeout issue of formatting filesystem was resolved in PR #49.
Please pull the latest CSI: synology/synology-csi:latest (note that version 1.1.2 doesn't include this fix),
and configure your StorageClass with additional parameter formatOptions as shown below to skip discarding blocks:

For ext4 fs:

parameters:
  fsType: 'ext4'
  formatOptions: "-E nodiscard"
  protocol: 'iscsi'

For btrfs fs:

parameters:
  fsType: 'btrfs'
  formatOptions: "--nodiscard"
  protocol: 'iscsi'

from synology-csi.

salzig avatar salzig commented on August 30, 2024

Sorry for the late response: Yes, this works. Meanwhile I migrated away from iSCSI, as this prevents auto updates on symbology.

from synology-csi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.