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

Refresh drives after modifications #156

Closed
adhodgson1 opened this issue Jul 3, 2018 · 1 comment
Closed

Refresh drives after modifications #156

adhodgson1 opened this issue Jul 3, 2018 · 1 comment

Comments

@adhodgson1
Copy link

Hi,

A few of us seem to be using the Disk resource to create/format drives, then in another part of the DSC we use cNTFSAccessControl from https://github.com/SNikalaichyk/cNtfsAccessControl to set NTFS permissions.

This always fails the first time if the disk resource has just formatted the drive and we change the NTFS access under the same DSC document. Please see the following issues:

dsccommunity/cNtfsAccessControl#3

Another issue with verbose output and a script to work around the issue:
dsccommunity/cNtfsAccessControl#13

I was wondering if the disk resource needs to refresh the drives in PowerShell once it makes changes to the disks, rather than have a temporary solution which will continue to refresh the drives? This has reportedly caused issues with constant reads on an array (see first issue above).

Thanks.
Andrew.

@adhodgson1
Copy link
Author

Sorry this is possibly open in error as I am not seeing the above behaviour on the Disk resource from StorageDSC 5.0.0.0, just on the resources I haven't moved over yet, some of them due to another issue open in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant