Code Monkey home page Code Monkey logo

Comments (4)

ryannix123 avatar ryannix123 commented on June 12, 2024

There is a createPV.sh in /tmp. I did run it, although claiming them seems to fail.

`#!/bin/bash

for i in seq 1 100;
do
DIRNAME="vol$i"
mkdir -p /mnt/data/$DIRNAME
chcon -Rt svirt_sandbox_file_t /mnt/data/$DIRNAME
sleep 5
sed -i "s/name: volexpr $i - 1/name: vol$i/g" vol.yaml
sed -i "s/path: /mnt/data/volexpr $i - 1/path: /mnt/data/vol$i/g" vol.yaml
oc create -f vol.yaml
echo "created volume $i"
done`

from installcentos.

karvox avatar karvox commented on June 12, 2024

Hi,

After I install OpenShift all persistent volume that I create never finish, always pending state. What is wrong on my installation? I'm beginner on PaaS technologie.

from installcentos.

Enrico204 avatar Enrico204 commented on June 12, 2024

@karvox If you're creating "Persistent Volume Claims" by using the console, this is normal: from the "user" side you need to "ask" for a volume of that size, then the system will match a volume which is of the same size (or above) from "Persistent Volumes". So, you need to create a Persistent Volume in order to make things work.

To create persistent volumes, you can refer to this part of the manual: https://docs.openshift.org/3.9/install_config/persistent_storage/index.html

from installcentos.

karvox avatar karvox commented on June 12, 2024

@Enrico204 I will try this settings. Thanks.

from installcentos.

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.