Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk C:\Windows\Logs does not exist... #170

Closed
RonaldPopken opened this issue Jan 3, 2020 · 19 comments
Closed

Disk C:\Windows\Logs does not exist... #170

RonaldPopken opened this issue Jan 3, 2020 · 19 comments
Assignees
Projects

Comments

@RonaldPopken
Copy link

@RonaldPopken RonaldPopken commented Jan 3, 2020

When we try to execute the PrepareBaseImage.cmd script (as admin) the script stops with the error; the disk c:\windows\logs does not exist, please create a disk with enough space, assign drive letter
c:\windows\logs and run this script again...

Desktop:
OS: Windows 10 Enterprise Build 1909
on VMware 6.5.0 client

Software: BIS-F 7.1912.0
disk c-windows-logs-error

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

@RonaldPopken

This comment has been minimized.

Copy link
Author

@RonaldPopken RonaldPopken commented Jan 3, 2020

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

@RonaldPopken

This comment has been minimized.

Copy link
Author

@RonaldPopken RonaldPopken commented Jan 3, 2020

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

@RonaldPopken please upload the log file directly in github here, responding via e-mail doesn't upload the file

@RonaldPopken

This comment has been minimized.

@tariklehaine

This comment has been minimized.

Copy link

@tariklehaine tariklehaine commented Jan 3, 2020

I am getting exact the same error as @RonaldPopken with the same environment.

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

The default settings are wrong, if the GPO is not configured no redirection or any MCS IO action must take place

@awelcker

This comment has been minimized.

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

same issue on Server 2019 not on server 2016 or windows 10 from other user reported, attached the logs

Server 2016 MCS
PERS_BISF_MASTER-W2K16_20191231-142823.log
PREP_BISF_MASTER-W2K16_20191231-145455.log

Server 2016 PVS
PERS_BISF_PVSMASTERW2K16_20200102-112605.log
PREP_BISF_PVSMASTERW2K16_20200102-112702.log

31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_POL_MCSCfg=1
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSCfg=YES
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSIODriveLetter=D:
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSIONumberOfPartitions=2
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable

On Server 2016 MCS you have an additional PVS Config, please remove it and test again if the same issue appears on Server 2016 MCS

31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_PVSCfg=YES
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_WCD=D:
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_PT=P2PVS
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_PT_FT=VHDX
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_P2V_PT=1
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_P2V_PT_CUS=\\vm-ps-01\Master
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_P2V_ARGS=C:
31.12.2019 14:55:01 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
31.12.2019 14:55:01 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_NumberOfPartitions=2

Server 2019 MCS
PERS_BISF_MASTER-W2K19_20191231-172511.log
PREP_BISF_MASTER-W2K19_20200101-124500.log

01.01.2020 12:45:06 | torsten | INFORMATION... | Define new global variable LIC_BISF_POL_MCSCfg=1
01.01.2020 12:45:06 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
01.01.2020 12:45:06 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSCfg=YES
01.01.2020 12:45:06 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
01.01.2020 12:45:06 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSIODriveLetter=D:
01.01.2020 12:45:06 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
01.01.2020 12:45:06 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSIONumberOfPartitions=2
01.01.2020 12:45:14 | torsten | INFORMATION... | Processing function Use-BISFMCSConfig
01.01.2020 12:45:14 | torsten | INFORMATION... | Check if redirection of Files to MCSIO CacheDisk is possible
01.01.2020 12:45:14 | torsten | INFORMATION... | enable redirection - Code MCS-NoAppLay-Prep
01.01.2020 12:45:14 | torsten | INFORMATION... | Redirection is enabled with Code MCS-NoAppLay-Prep, configure it now
01.01.2020 12:45:14 | torsten | INFORMATION... | Processing function Test-BISFWriteCacheDiskDriveLetter
01.01.2020 12:45:14 | torsten | INFORMATION... | Processing function Test-BISFWriteCacheDisk
01.01.2020 12:45:14 | torsten | ERROR............... | Disk C:\Windows\Logs not exist. Please create a local new harddrive with enough space, assign driveletter C:\Windows\Logs and run this script again..!!
01.01.2020 12:45:44 | torsten | INFORMATION... | =========================== FINISH SCRIPT ===========================
01.01.2020 12:45:44 | torsten | INFORMATION... | Processing function Invoke-BISFFolderScripts
01.01.2020 12:45:44 | torsten | INFORMATION... | Loading Scripts from C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation\Custom
01.01.2020 12:45:44 | torsten | INFORMATION... | =========================== FINISH SCRIPT ===========================
01.01.2020 12:45:44 | torsten | INFORMATION... | Processing function Invoke-BISFFolderScripts
01.01.2020 12:45:44 | torsten | INFORMATION... | Loading Scripts from C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation
01.01.2020 12:45:44 | torsten | WARNING......... | Check Logfile \\vm-fs-01\Logs\BIS-F\MASTER-W2K19\PREP_BISF_MASTER-W2K19_20200101-124500.log for further informations !!
01.01.2020 12:45:44 | torsten | INFORMATION... | Script exiting !!
01.01.2020 12:45:49 | torsten | INFORMATION... | - - - End Of Script - - - 

@thorsten: Server 2019 MCS does not have the PVS Config instead of Server 2016, I think this is the issue why this doesn't happen on Server 2016, can you reproduce it please

01.01.2020 12:45:06 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_PVSCfg=NO
01.01.2020 12:45:06 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable

Issue on Server 2019 MCS is same like the initial one

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

issue is in BISF.psm1 -> function test-writecachedisk

existing code:

IF ($returnTestPVSSoftware) {
$Global:PVSDiskDrive = $LIC_BISF_CLI_WCD
} ELSE {
IF (($MCSIO) -and ($LIC_BISF_POL_MCSCfg -eq "YES")) {
$Global:PVSDiskDrive = $LIC_BISF_CLI_MCSIODriveLetter
}
}
Write-BISFFunctionName2Log -FunctionName ($MyInvocation.MyCommand | ForEach-Object { $
.Name }) #must be added at the begin to each function
$CacheDisk = Get-CimInstance -Query "SELECT * from win32_logicaldisk where DriveType = 3 and DeviceID = ""$PVSDiskDrive"""
IF ($CacheDisk -eq $null) {
write-BISFlog -Msg "Disk $PVSDiskDrive not exist. Please create a local new harddrive with enough space, assign driveletter $PVSDiskDrive and run this script again..!!" -Type E -SubMsg
return $false
}
ELSE {
write-BISFlog -Msg "Check WriteCache Disk $PVSDiskDrive"
return $true
}_

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

@RonaldPopken can you grab a copy of the https://github.com/EUCweb/BIS-F/tree/develop branch, copy the content over the 7.1912.0 installation and run a test again

@awelcker

This comment has been minimized.

Copy link

@awelcker awelcker commented Jan 3, 2020

For our environment WS2016, CVAD 1912 and MCS everything is fine now. Thanks Matthias

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 3, 2020

thanks @awelcker .
With a configured CacheDisk (MCSIO) on the Master it runs into this issue as well.

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 4, 2020

@awelcker please upload the latest prep log, thx

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 4, 2020

fix in developer branch now for this issue -> BISF.psm1 function Test-BISFWriteCacheDisk

logcontent

03.01.2020 14:02:03 | torsten | INFORMATION... | Define new global variable LIC_BISF_POL_MCSCfg=1
03.01.2020 14:02:03 | torsten | INFORMATION... | Processing function New-BISFGlobalVariable
03.01.2020 14:02:03 | torsten | INFORMATION... | Define new global variable LIC_BISF_CLI_MCSCfg=YES

Line 440

old:

IF (($MCSIO) -and ($LIC_BISF_POL_MCSCfg -eq "YES")) {

new

IF (($MCSIO) -and ($LIC_BISF_CLI_MCSCfg -eq "YES")) {

and change Line 455 - 469

IF ($PVSDiskDrive.substring(0,2) -eq $env:SystemDrive) {
		write-BISFlog -Msg "No seperated Cache Disk configured"
		return $true
		}
	ELSE {
		$CacheDisk = Get-CimInstance -Query "SELECT * from win32_logicaldisk where DriveType = 3 and DeviceID = ""$PVSDiskDrive"""
		IF ($CacheDisk -eq $null) {
			write-BISFlog -Msg "Disk $PVSDiskDrive not exist. Please create a local new harddrive with enough space, assign driveletter $PVSDiskDrive and run this script again..!!" -Type E -SubMsg
			return $false
		}
		ELSE {
			write-BISFlog -Msg "Check WriteCache Disk $PVSDiskDrive"
			return $true
		}
	}
@RonaldPopken

This comment has been minimized.

Copy link
Author

@RonaldPopken RonaldPopken commented Jan 6, 2020

@EUCweb

This comment has been minimized.

Copy link
Owner

@EUCweb EUCweb commented Jan 6, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
7.1912.1
  
Awaiting triage
5 participants
You can’t perform that action at this time.