> -----Original Message-----
> From: Keith Moore
> Sent: Monday, 7 June 2010 3:47 PM
> To: users_at_subversion.apache.org
> Subject: svnserve Windows Service and iSCSI disk does not start after reboot
>
> Hello,
>
> I have a physical (not virtual) Windows Server 2003 box set up with svnserve.exe running as an auto start windows service. svnserve starts with the following command line.
>
> "<path to>\svnserve.exe" --service -r "D:\Repositories" --listen-port "3690" --log-file "C:\Logs\svnserve.log"
>
> The repositories are on a SAN (that is D: drive is on the SAN) that the box links to using iSCSI. When the [Windows] server is restarted the svnserve service attempts to start but fails with an error "The Subversion Server service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion."
>
> However, if I wait for windows to boot fully and then manually start the service it works.
>
> If I change the repository root to the C: drive, which is a physical disk on the server, the service starts normally on a reboot. I'm guessing that I need to make the svnserve service dependent on some other service/device but I can't work out which one.
>
>
> Does anyone have any experience with this type of setup and/or can anyone offer suggestions as to how I can ensure that the svnserve service starts normally when the server is rebooted?
>
> Thanks.
> Keith Moore.
If anyone is interested, the way to solve this on windows is to make the iSCSI drive a "bound volume". It is a configuration option for the iSCSI driver. If you make a drive a bound volume then the operating system (iSCSI driver) will not continue until the drive/volume is fully initialized.
After this the svnserve.exe service started normally after a reboot.
Keith.
#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################
Received on 2010-06-09 00:59:21 CEST