{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/151","repository_url":"https://api.github.com/repos/PowerShell/StorageDsc","labels_url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/151/comments","events_url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/151/events","html_url":"https://github.com/PowerShell/StorageDsc/issues/151","id":319860076,"node_id":"MDU6SXNzdWUzMTk4NjAwNzY=","number":151,"title":"Disk: Moving from xDisk attempts to create new partition in error","user":{"login":"adhodgson1","id":14270696,"node_id":"MDQ6VXNlcjE0MjcwNjk2","avatar_url":"https://avatars3.githubusercontent.com/u/14270696?v=4","gravatar_id":"","url":"https://api.github.com/users/adhodgson1","html_url":"https://github.com/adhodgson1","followers_url":"https://api.github.com/users/adhodgson1/followers","following_url":"https://api.github.com/users/adhodgson1/following{/other_user}","gists_url":"https://api.github.com/users/adhodgson1/gists{/gist_id}","starred_url":"https://api.github.com/users/adhodgson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhodgson1/subscriptions","organizations_url":"https://api.github.com/users/adhodgson1/orgs","repos_url":"https://api.github.com/users/adhodgson1/repos","events_url":"https://api.github.com/users/adhodgson1/events{/privacy}","received_events_url":"https://api.github.com/users/adhodgson1/received_events","type":"User","site_admin":false},"labels":[{"id":224179554,"node_id":"MDU6TGFiZWwyMjQxNzk1NTQ=","url":"https://api.github.com/repos/PowerShell/StorageDsc/labels/question","name":"question","color":"cc317c","default":true},{"id":962089660,"node_id":"MDU6TGFiZWw5NjIwODk2NjA=","url":"https://api.github.com/repos/PowerShell/StorageDsc/labels/stale","name":"stale","color":"cccccc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-03T10:10:34Z","updated_at":"2018-06-19T07:58:15Z","closed_at":null,"author_association":"NONE","body":"**Details of the scenario you tried and the problem that is occurring:**\r\n\r\nI have a VM that comes up with some formatted volumes and some new disks.  i used to use xDisk to format the new disks and assign the correct drive letter to the volumes, because the disks that were already provisioned were being assigned the wrong drive letters.  I moved to StorageDsc and found this failed.\r\n\r\nWhat I expected to happen was that the backup drive (which was assigned disk 4), but currently on volume letter F was then assigned letter G.  The data drive on disk 3 but on volume letter E would then be assigned volume letter F.  The server disk which is on disk 2 but not initialised at all would then be initialised and assigned drive letter E.\r\n\r\nFor some reason the DSC resource attempted to create a partition on the backup drive where no space existed to create the partition:\r\n\r\nTimeCreated  : 5/3/2018 9:35:07 AM\r\nProviderName : Microsoft-Windows-DSC\r\nId           : 4252\r\nMessage      : Job {3B508F10-4EB5-11E8-A949-000D3AB1504F} : \r\n               MIResult: 1\r\n               Error Message: Not enough available capacity\r\n               Activity ID: {d6b567b4-cea0-4805-8a54-c49f8452a2d2}\r\n               Message ID: StorageWMI 40000,New-Partition\r\n               Error Category: 0\r\n               Error Code: 1\r\n               Error Type: MI\r\n\r\n**The DSC configuration that is using the resource (as detailed as possible):**\r\n\r\n    Disk \"Mount backup drive\" {\r\n      DiskId = 4\r\n      DriveLetter = 'G'\r\n      FSLabel = 'Backups'\r\n      DependsOn = @(\"[OpticalDiskDriveLetter]RemoveDvdRom\", \"[WaitforDisk]Wait for backup disk to become available\")\r\n    }\r\n\r\n    Disk \"Mount data drive\" {\r\n      DiskId = 3\r\n      DriveLetter = 'F'\r\n      FSLabel = 'Data'\r\n      DependsOn = @(\"[WaitforDisk]Wait for data disk to become available\", \"[Disk]Mount backup drive\")\r\n    }\r\n\r\n    Disk \"MountServerDrive\" {\r\n      DiskId = 2\r\n      DriveLetter = 'E'\r\n      FSLabel = 'Server'\r\n      DependsOn = @(\"[WaitforDisk]Wait for server disk to become available\", \"[Disk]Mount data drive\")\r\n    }\r\n\r\n**Version of the Operating System and PowerShell the DSC Target Node is running:**\r\n\r\nWindows Server 2016, WMF 5.1.\r\n\r\n**Version of the DSC module you're using, or 'dev' if you're using current dev branch:**\r\n\r\n4.0.0.0\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/comments/398309862","html_url":"https://github.com/PowerShell/StorageDsc/issues/151#issuecomment-398309862","issue_url":"https://api.github.com/repos/PowerShell/StorageDsc/issues/151","id":398309862,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODMwOTg2Mg==","user":{"login":"PlagueHO","id":7589164,"node_id":"MDQ6VXNlcjc1ODkxNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7589164?v=4","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T07:58:15Z","updated_at":"2018-06-19T07:58:15Z","author_association":"COLLABORATOR","body":"I realized I haven't followed up on this one!\r\n\r\nIs it possible to output the verbose logs of the DSC run? It should show us the exact path through the resource that the code is taking."}}
{"actor":{"display_login":"PlagueHO"}}