VMware 6.7 ESXI 6.7
Trying to move my Syslog.global.logDir to another Datastore
I have it currently located on an internal SSD drive I need the SSD drive to build my VSAN datastore
So I have a USB Datastore and NFS datastores.
But when I select the new datastore I get this error. A general system error occurred: Internal error
I tried using esxcli coomands
esxcli system syslog config set --logdir=/TGCSESXI-17-USB-Datastore/Logfiles
Logdir must exist and be a directory.
Both NFS and USB datastore give the same error
Currently in the GUI advanced settings syslog
[] /scratch/log
Hi,
Check if this procedure can be useful:
Manually Configure ESXi Syslog Location - VirtuBytes
ARomeo
Moderator: Moved to ESXi
Hi,
Check if this procedure can be useful:
Manually Configure ESXi Syslog Location - VirtuBytes
ARomeo
Thank you for the link
I got it to work via command line
esxcli system syslog config set --logdir=/vmfs/volumes/TGCSESXI-17-USB-Datastore
esxcli system syslog reload
esxcli system syslog config get
Check Certificate Revocation: false
Default Network Retry Timeout: 180
Dropped Log File Rotation Size: 100
Dropped Log File Rotations: 10
Enforce SSLCertificates: true
Local Log Output: /vmfs/volumes/TGCSESXI-17-USB-Datastore
Local Log Output Is Configured: true
Local Log Output Is Persistent: true
Local Logging Default Rotation Size: 1024
Local Logging Default Rotations: 8
Log To Unique Subdirectory: false
Message Queue Drop Mark: 90
Remote Host: <none>
Strict X509Compliance: false
I had to copy and paste the name from my ls /vmfs/volumes command typing it in did not work.
Thanks
Now I need to restart the host so the SSD will free up.
Hi,
Great! I'm glad you solved it.
ARomeo
AlessandroRomeo68
My next host getting something different
[root@TGCSESXI-18:~] esxcli system syslog config set –logdir=/vmfs/volumes/[TGCSESXI-18-USB-Datastore]
Error: Unknown command or namespace system syslog config set –logdir=/vmfs/volumes/[TGCSESXI-18-USB-Datastore]
[root@TGCSESXI-18:~] esxcli system syslog config set –logdir=/vmfs/volumes/USB-Datastore
Error: Unknown command or namespace system syslog config set –logdir=/vmfs/volumes/USB-Datastore
[root@TGCSESXI-18:~] esxcli system syslog config set –logdir=/vmfs/volumes/[USB-Datastore]
Error: Unknown command or namespace system syslog config set –logdir=/vmfs/volumes/[USB-Datastore]
[root@TGCSESXI-18:~] ls /vmfs/volumes
00f6aae3-16bdb241-4af7-f741b3be14db 518b2637-cee13546 5e716118-3fba0a6e-767d-001018f511a0 93398fe1-1471c9aa-45c2-199fd975426f NFS02 NFS05 USB-Datastore
0668a372-cdaec12f 5d3e68a3-2a4fbc4c-77a0-001018f511a0 764ff06c-085795c5 9922a901-2086921c NFS03 NFS06
1dbbd8ff-2e72b64c 5d5df28c-5d3e0d52-52b4-001018f511a0 83be3709-4b2fe0e8 NFS01 NFS04 TGCSESXI-18-Datastore-SSD
Any ideas
Hi,
I tried in PowerCLI, it looks like you haven't put a double dash on the command "–logdir = ....."
it should be so:
esxcli system syslog config set --logdir=......
ARomeo
Yes I saw that late last night got it working thanks