Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Some of the iscsi share lost after server 2003 restarted

Active Directory, Domain, DNS, WINS, DHCP, SBS, New Releases.

Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:06 pm

I have a iscsi volume on a windows 2003 service pack 2. The iscsi volume is divided into 3 drives and each one contain one shared folder. Two out of three shared folders are not shared anymore everytime I restarted the server. The two "shared-lost" folders are always the same two folders.

I followed Microsoft's published KB http://support.microsoft.com/kb/870964, but same happens.
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:06 pm

What is the disk type of the iSCSI target LUN that you have set in the Windows Server 2003 OS?

Is it Basic disk or Dynamic disk?
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:07 pm

1. You can try to upgrade the firmware of the hard disk. Sometimes that can help fix the issue.

2. Please refer to the following article to see if it can help:

File shares on iSCSI devices may not be re-created when you restart the computer

http://support.microsoft.com/kb/870964

3. For further information, here is a similar thread:

http://social.technet.microsoft.com/For ... cf687ad4e8
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:08 pm

We have a Windows Server 2003 R2 Eng Enterprise SP2 server, which uses MS iSCSI Software Initiator (version 2.06) to connect to an iscsi target hosted on a Linux box. The target is persistently mounted, and the Windows server shares some of its folders. Everything works nice. If the iscsi target is disconnected (e.g. due to network problems), then when the problem is resolved, the initiator automatically reconnects the target, and it reappears as a local drive.
However, if a user had an open session for one of the shares, then after the target is reconnected, the folders are not shared. The only solution I was able to find to get the shares also online is to restart the Server service.
Has someone else seen this behaviour? Do you have any advice? (I have only seen problems that the shares do not appear after a reboot because the iscsi initiator is started after the Server service, but this is not the case here).
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:09 pm

I got a chance to do a testing, and I observed the following:
- if there is no open session to the server, then the shares are recreated after the reconnection
- if there is an open session, then those shares, which were not open at the client, are recreated and can be accessed
- if there is an open session to a share (e.g. it is mapped as a network drive), then either that folder is not shared, or it is shared, but the clients see only an empty folder.
- I upgraded to the 2.08 version of the initiator, and the problem still exists.

I tried it on a Windows Server 2008, and there the share do not disappear, when the iscsi volume is lost, thus the problem does not exists on WS2008. Guess this is one more reason to upgrade that server to WS2008:)
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:11 pm

I have a drobo unit which I connected via iSCSI. I shared the entire as "root$", the weird thing that every time I reboot, the share would disappeared, and I would have to re-share again. I think the problem is due to iSCSI, since everytime I reboot, the iSCSI target need to be re-mount again, therefore the share would disappear, is my theory correct ? is there a way to script it so that everytime it reboot it will auto set the volume for sharing again ?
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:12 pm

It would probably be preferred to troubleshoot the iSCSI target to see
why it is not mounting at boot (and why the shares are not available
upon reboot).

If troubleshooting does not work out, then as long as you can get the
iSCSI target to mount at boot, it should be as simple as creating a
script that runs the net share command to create the share. Run

net share /?

from the command prompt for more information. You might also be able to
use a WMI-based script for this as well.

The script would likely be added to the registry key

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

to run on system startup.
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:12 pm

It is mounting the iSCSI target at boot, just the share isn't sticking. It shouldn't disappear unless iSCSI hard disk mechanism is different.
And that's what I want to find out.
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: Some of the iscsi share lost after server 2003 restarted

Postby guest » Mon Jun 13, 2011 5:12 pm

Shares disappear after iSCSI target is lost and reconnected on Windows Server 2003 with MS iSCSI Software Initiator

http://social.technet.microsoft.com/For ... cf687ad4e8
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm


Return to Windows

Your Ad Here

Who is online

Users browsing this forum: No registered users and 4 guests