Troubleshooting MacVolume Creation Errors

Last reviewed: March 12, 1998
Article ID: Q147909
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.51 and 4.0

SYMPTOMS

When you use Services for Macintosh (SFM) for Windows NT, there may be occasional problems creating or re-creating a MacVolume. The following error message may appear when you create the volume:

The Device attached to the system is not functioning

In the event log, you will see the following:

Event ID: 12035 Description: Volume information for <volume name> could not be loaded. Setting defaults.

RESOLUTION

The following methods should be tried individually and in sequential order. Before each step, stop Services for Macintosh (SFM) in the Services tool in Control Panel. Before continuing with the next step, restart SFM and test for success by attempting to re-create the volume on the preferred directory.

Method 1

Run Chkdsk.exe with the /f and /r switches on the partition that is generating the error. Running Chkdsk.exe usually requires restarting the server. If the volume is large in size, it may take several minutes to several hours to complete and the server will not be available during this time. If time is a concern and you have a large volume, skip this method and continue to method 2. At some point when time permits, run Chkdsk.exe on the server.

Method 2

Create a temporary Macintosh volume. Copy all files and directories from the original Macintosh volume into the temporary volume on the same drive.

NOTE: Existing Macintosh NTFS permissions will NOT be retained. You can use Scopy.exe, which can be found in the Windows NT resource kit, to retain all file and directory permissions if necessary.

Remove the original Macintosh volume from MacFile. Delete the original directory, and then re-create the volume using the same volume name. If this is successful, move all files and directories from the temporary volume back into the re-created volume.

Method 3

Create a temporary Macintosh volume. Move all files and directories from the original Macintosh volume into the temporary volume on the same drive.

NOTE: This will ensure that permissions are retained.

Remove the original Macintosh volume from MacFile, delete the original directory, and then re-create the volume using the same volume name. If this is successful, move all files and directories from the temporary volume back into the re-created volume.

Method 4

Remove the volume in question from Macfile, and then delete the Icon file and Network trash folder. These files (Hidden/System) exist in the root of the Macintosh volume (directory).

Method 5

If the problem exists in a volume that is part of a directory (for example, D:\Public), type the following command at a command prompt:

   Dir > D:\PUBLIC:AFP_IdIndex

If you are rebuilding a root drive share such as C:\ or D:\, type the following command:

   Dir > D:\:AFP_IDIndex

NOTE: This command will intentionally corrupt the index of the Macintosh volume. After Services for Macintosh is stopped and restarted, the corruption forces Windows NT to rebuild the index on that volume immediately. If an Access Denied error message occurs, the volume may be in use by opened files or the directory is being shared for PC access. Disable all programs and file sharing to prevent this error.

After SFM is restarted and the index is complete, an event will be logged in Event Viewer. If the volume is large in size, it may take several minutes before all volumes and files are visible by the Macintosh client. Avoid stopping the SFM service at this time.

Method 6

Use Disk Administrator to change the drive letter of the partition exhibiting the problem. For example, if drive D had the original Mac Volume, change it to drive E (as long as E is not being used by another device). Restart the computer running Windows NT and attempt to create the volume. If this is successful, you can use Disk Administrator to change back to the original drive letter.

NOTE: The above procedure will corrupt this NTFS data stream and force MacFile to regenerate it. This step is only necessary if you are sharing the root of the drive.

Method 7

Remove all Macintosh volumes from MacFile. Remove SFM by using the Network tool in Control Panel. Do not restart the computer. Delete the Icon file and the Network trash folder from the root of the Macintosh volume. Restart the computer. Reinstall SFM and apply the necessary service packs.


Additional query words: mac tshoot resource fork
Keywords : ntmac NTSrv kbinterop
Version : WinNT:3.51,4.0
Platform : winnt
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 12, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.