This means we're sequentially calling Publish-VBRBackupContent and Unpublish-VBRBackupContent on a number of RPs. During initial testing on two VBR servers we've observed a number of things which do not look right..
1. LOTS of DISK and NTFS errors logged in Windows while the RP is mounted. All are complaining about "hardware" issues.
Code: Select all
The IO operation at logical block address 0xbf3ce for Disk 4 (PDO name: \Device\00000143) failed due to a hardware error.
Code: Select all
The system failed to flush data to the transaction log. Corruption may occur in VolumeId: \\?\Volume{d4ae42f6-52fe-42b8-b1b0-73a6c15eab89}, DeviceName: \Device\HarddiskVolume156.
(The request failed due to a fatal device hardware error.)
2. RPs mounted via Publish-VBRBackupContent may not show as mounted in the GUI, and may not show as mounted in the CLI either.
RPs can become stuck mounted / half-mounted and according to GUI and / or CLI it's not mounted and no publish session is running.
3. Unpublish-VBRBackupContent won't accept wildcard for session, and won't accept an array of sessions from pipeline.
Code: Select all
Get-VBRPublishedBackupContentSession | Unpublish-VBRBackupContent
Code: Select all
Get-VBRPublishedBackupContentSession | foreach {Unpublish-VBRBackupContent -Session $_ }
Does anyone have any experience or info to add on these?
One other question arises - is it possible to see if a backup / RP is Windows / Linux / Other - or what the filesystem(s) in it are without mounting (publishing) the RP? Mounted an RP containing a non-Windows file system to Windows fails anyway, but it'd be good to avoid using failures a as routing expected occurrence and make it an unexpected bad thing so the script can treat them as real errors.
Thanks
Case #05842336