Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Data file directories on Cassandra

Solved809 views8th August 2023Cassandra
0
Min Thant Aung [SLC] [DevOps Advocate]685 11th July 2023 2 Comments

Hello,

May I know if there is a possibility to add another disk drive in data_file_directories as shown below?

If yes, may I know how Cassandra data such as keyspaces and tables are being stored/shared in disk drive as well?

Thank you for the help.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 8th August 2023
Miguel Obregon [SLC] [DevOps Catalyst] commented 11th July 2023

Hi Min,
Not a Cassandra expert, but it will be good to understand why you require two data directories? Checking this nice article:
https://thelastpickle.com/blog/2018/08/22/the-fine-print-when-using-multiple-data-directories.html
Basically they don’t recommend using this feature (or use it as temporary solution). Instead, they recommend to handle this at OS level/hardware level (for example using a LVM you can combine multiple disks).

Min Thant Aung [SLC] [DevOps Advocate] commented 13th July 2023

Hello Miguel, thank you for the info.
From my side, I just want to know if there is such a way to do it.
I have seen the customers that sometimes they don’t have enough disk space to store such large amount of alarm and trend data. So wondering if there is a quick way to solve the issue. One of the methods is to move the cassandra data table to a different disk or expand the disk space.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Saelen [SLC] [DevOps Enabler]5.70K Posted 24th July 2023 0 Comments

Hi Min,

Yes, it is possible to add another location in the data_file_directories in the YAML file. This means that ssTables will be divided over both those directories. If you ever want to return back to one location afterward, you will have some manual work. To move back to one disk location, you will need to stop Cassandra (disable the service that DM does not start it), move all the ssTables from the location you are removing to the location you want to keep (this involves quite some manual work if you have a lot of tables), change the yaml file to only point to the one location and then restart Cassandra.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 8th August 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs