Spaces Issue?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Diavuno

Active Member
So, on my test box AKA production personal server I've been using 2016 TP5

Hyper V has been managing a handful of VMs and I have been pretty happy with it.
A week ago it started rebooting and throwing an error saying to install a new build.
Not a problem, but I think I'll use a free hypervisor.

Its a pretty generic Supermicro system:
dual E5630 48GB RAM
Prior to installing TP5 it was an ESXI box using an LSI RAID card.
Right now It's using the onboard ICHxR
Simple Mirror for OS (2x2TB)
Using Storage Spaces I was testing 6x2TB Drives in Parity with one large virtual disk.

That is where the problem starts.

I don't recall if I had to mount the virtual disk with every reboot (it never gets shutdown) but I do recall going into server manager and doing it.
(Server Dashboard> File and storage services > volumes > Disks > Right click > Mount)

Now, When I goto the dashboard ans click on disks It says loading... loading..... loading........ and nothing ever happens

Under disks management AND device manager I only see the intel Boot Mirror (As far as I know it's normal with the storage spaces setup)

When I open Intel Rapid Storage it shows the 2 drives in a mirror, and the remaining 6 drives as good.



Thoughts?
 

cesmith9999

Well-Known Member
Mar 26, 2013
1,417
468
83
you should only have to mount the volume once.

but you may need to change some settings

$VDs = Get-VirtualDisk | sort FriendlyName
$vds | connect-virtualdisk #Connect any disconnected Virtualdisks
$vds | set-virtualdisk –ismanualattach $false

foreach ($VD in $VDs) {
$disk = Get-Disk -VirtualDisk $VD
start-sleep –seconds 1
$disk |Set-Disk -IsOffline $false
start-sleep –seconds 1
$disk |set-disk -IsReadOnly $false
start-sleep –seconds 1
}

Chris
 
  • Like
Reactions: Diavuno

Diavuno

Active Member
you should only have to mount the volume once.

but you may need to change some settings

$VDs = Get-VirtualDisk | sort FriendlyName
$vds | connect-virtualdisk #Connect any disconnected Virtualdisks
$vds | set-virtualdisk –ismanualattach $false

foreach ($VD in $VDs) {
$disk = Get-Disk -VirtualDisk $VD
start-sleep –seconds 1
$disk |Set-Disk -IsOffline $false
start-sleep –seconds 1
$disk |set-disk -IsReadOnly $false
start-sleep –seconds 1
}

Chris
Thanks Chris,
Here is where I am now:

Code:
PS C:\Users\administrator.diavuno> get-virtualdisk
FriendlyName ResiliencySettingName OperationalStatus HealthStatus IsManualAttach Size
Node 1 storage Parity OK Healthy False 10 TB
PS C:\Users\administrator.diavuno> connect-virtualdisk -friendlyname node 1 storage 
Connect-VirtualDisk : A positional parameter cannot be found that accepts argument '1'. At line:1 char:1 + connect-virtualdisk -friendlyname node 1 storage + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Connect-VirtualDisk], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Connect-VirtualDisk
PS C:\Users\administrator.diavuno>
I put the friendly name in quotes and it just hops to the next line with no error, or confirmation.

I think now I need to mount the volume?
 

cesmith9999

Well-Known Member
Mar 26, 2013
1,417
468
83
connect-virtualdisk -friendlyname 'node 1' storage

single quotes are usually better than double.


Chris
 

cesmith9999

Well-Known Member
Mar 26, 2013
1,417
468
83
$disk = Get-Disk -VirtualDisk $VD
$partition = Get-Partition -DiskNumber $disk.number -PartitionNumber 2
$partition
Set-Partition -InputObject $partition -IsReadOnly $false -autoassignDriveLetter

I think this will get you what you need in the HyperV land. I do not have a non production server for me to test this on.

Chris
 

Diavuno

Active Member
Thanks Chris + internet points to you!
...turns out I had ZERO data in the volume! :p

For any future searches here is my fix:

in Powershell "get-virtualdisk" (no quotes)
in Powershell "connect-virtualdisk -friendlyname 'name given in above command' " (no quotes)

in Disk management I had to rightclick on the Virtual disk and click online.



Code:
PS C:\Users\administrator.diavuno> get-virtualdisk

FriendlyName   ResiliencySettingName OperationalStatus HealthStatus IsManualAttach  Size
------------   --------------------- ----------------- ------------ --------------  ----
Node 1 storage Parity                OK                Healthy      False          10 TB


PS C:\Users\administrator.diavuno> connect-virtualdisk -friendlyname 'node 1 storage'
PS C:\Users\administrator.diavuno>