Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

ESXI 6.0 - Can't create directory

$
0
0

Hi - I seem to be having a permissions problem when running the main backup script - it will not create the VM_BACKUP_VOLUME directory as stated in the docs.

 

I am logged in as root over SSH and installed using the VIB. Same error through WinSCP and PuTTY.

 

Any ideas?

 

 

[root@UNKNOWN:/opt/ghettovcb/bin] ./ghettoVCB.sh -m homeMedia -g /etc/ghettovcb/backup.conf -d debug
Logging output to "/tmp/ghettoVCB-2015-10-26_22-40-06-4788334.log" ...
2015-10-26 22:40:06 -- info: ============================== ghettoVCB LOG START ==============================

2015-10-26 22:40:06 -- debug: Succesfully acquired lock directory - /tmp/ghettoVCB.work

2015-10-26 22:40:06 -- debug: HOST VERSION: VMware ESXi 6.0.0 build-2494585
2015-10-26 22:40:06 -- debug: HOST LEVEL: VMware ESXi 6.0.0 GA
2015-10-26 22:40:06 -- debug: HOSTNAME: UNKNOWN

2015-10-26 22:40:06 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = /etc/ghettovcb/backup.conf
2015-10-26 22:40:06 -- info: CONFIG - VERSION = 2015_05_06_1
2015-10-26 22:40:06 -- info: CONFIG - GHETTOVCB_PID = 4788334
2015-10-26 22:40:06 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/backups
2015-10-26 22:40:06 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 2
2015-10-26 22:40:06 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2015-10-26_22-40-06
2015-10-26 22:40:06 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2015-10-26 22:40:06 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2015-10-26 22:40:06 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2015-10-26 22:40:06 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2015-10-26 22:40:06 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2015-10-26 22:40:06 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2015-10-26 22:40:06 -- info: CONFIG - LOG_LEVEL = debug
2015-10-26 22:40:06 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2015-10-26_22-40-06-4788334.log
2015-10-26 22:40:06 -- info: CONFIG - ENABLE_COMPRESSION = 0
2015-10-26 22:40:06 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2015-10-26 22:40:06 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2015-10-26 22:40:06 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0
2015-10-26 22:40:06 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2015-10-26 22:40:06 -- info: CONFIG - VM_SHUTDOWN_ORDER =
2015-10-26 22:40:06 -- info: CONFIG - VM_STARTUP_ORDER =
2015-10-26 22:40:06 -- info: CONFIG - RSYNC_LINK = 0
2015-10-26 22:40:06 -- info: CONFIG - EMAIL_LOG = 0
2015-10-26 22:40:06 -- info:
Datastore not found.

Datastore not found.

Datastore not found.

2015-10-26 22:40:08 -- debug: Storage Information before backup:
2015-10-26 22:40:08 -- debug: SRC_DATASTORE: server
2015-10-26 22:40:08 -- debug: SRC_DATASTORE_CAPACITY: 63488.0
2794.2 GB
2015-10-26 22:40:08 -- debug: SRC_DATASTORE_FREE: 2567.4 GB
2015-10-26 22:40:08 -- debug: SRC_DATASTORE_BLOCKSIZE: 1
2015-10-26 22:40:08 -- debug: SRC_DATASTORE_MAX_FILE_SIZE: 256 GB
2015-10-26 22:40:08 -- debug:
2015-10-26 22:40:08 -- debug: DST_DATASTORE: backups
2015-10-26 22:40:08 -- debug: DST_DATASTORE_CAPACITY: 0.0 GB
2015-10-26 22:40:08 -- debug: DST_DATASTORE_FREE: 0.0 GB
2015-10-26 22:40:08 -- debug: DST_DATASTORE_BLOCKSIZE: NA
2015-10-26 22:40:08 -- debug: DST_DATASTORE_MAX_FILE_SIZE: NA
2015-10-26 22:40:08 -- debug:
mkdir: can't create directory '/vmfs/volumes/backups/': Operation not permitted
2015-10-26 22:40:08 -- info: Unable to create "/vmfs/volumes/backups/homeMedia"! - Ensure VM_BACKUP_VOLUME was defined correctly


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>