cohesity_mount

command
v0.0.0-...-b79cc66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

Cohesity Mount Tool

This tool helps App developers to mount Cohesity Views onto the App containers.

Installation

go get github.com/cohesity/cohesity-appspec/tools/cohesity_mount

Build

cd $GOPATH/cohesity/cohesity-appspec/tools/cohesity_mount
go build cohesity_mount.go

Run

NFS mount

./cohesity_mount --view <view-name> --mountdir <mount> --options <options> 
--protocol nfs --namespace <view-namespace> 

SMB mount

./cohesity_mount --view <view-name> --options <options> --mountdir <mount> 
--protocol smb --namespace <view-namespace> --username  <smb-username> 
--password <smb-password>

Utility arguments:

Usage of ./cohesity_mount:
  
  --mountdir string
    	Directory on which the view is to be mounted.
  --namespace string
    	Namespace of the view that is to be mounted. (default "fs")
  --options string
    	Mount options. 
  --password string
    	Password for smb mount.
  --protocol string
    	mount protocol [nfs|smb] (default "nfs")
  --stderrthreshold value
    	logs at or above this threshold go to stderr.
  --username string
    	Username for smb mount.
  --alsologtostderr
    	log to standard error as well as files.
  --log_backtrace_at value
    	when logging hits line file:N, emit a stack trace.
  --log_dir string
    	If non-empty, write log files in this directory.
  --logtostderr
    	log to standard error instead of files.

Questions & Feedback

We would love to hear from you. Please send your questions and feedback to: developer@cohesity.com

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL