An open API service indexing awesome lists of open source software.

https://github.com/openebs-archive/istgt

CAS Data Engine - iSCSI Target for OpenEBS cStor
https://github.com/openebs-archive/istgt

hacktoberfest iscsi kubernetes openebs storage

Last synced: about 1 month ago
JSON representation

CAS Data Engine - iSCSI Target for OpenEBS cStor

Awesome Lists containing this project

README

        

[![Build Status](https://github.com/openebs/istgt/actions/workflows/build.yml/badge.svg)](https://github.com/openebs/istgt/actions/workflows/build.yml)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fopenebs%2Fistgt.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fopenebs%2Fistgt?ref=badge_shield)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2738/badge)](https://bestpractices.coreinfrastructure.org/projects/2738)
[![Slack](https://img.shields.io/badge/chat!!!-slack-ff1493.svg?style=flat-square)](https://kubernetes.slack.com/messages/openebs)

### Instructions to check cstyle
```sh
Checkout develop branch
Do ./cstyle.pl
```
### Building
```bash
git checkout develop
sudo apt-get install libssl-dev docker.io
sudo apt-get install autoconf
./autogen.sh
./configure --enable-replication
make cstyle
make clean
make
```
### Run target in a container on host network
Copy istgt.conf file to /tmp/cstor
```bash
sudo docker run -d --network=host -v /tmp/cstor:/tmp/cstor openebs/istgt:test /bin/bash ./init.sh volname=vol1 portal=10.128.0.2 path=/tmp/cstor size=10g externalIP=10.128.0.2
```
### Run target as a binary on host network
Update volname, size, portal and externalIP in restart.sh
```bash
sh restart.sh
```

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fopenebs%2Fistgt.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fopenebs%2Fistgt?ref=badge_large)