The information in this article applies to:
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:
In the event log, you will see the following: Event ID: 12035 RESOLUTIONThe 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 1Run 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 2Create 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 3Create 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 4Remove 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 5If 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 6Use 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 7Remove 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.MORE INFORMATION
Services for Macintosh (SFM) creates an in-memory index for each Macintosh
volume to optimize directory and file access for Macintosh clients. Along
with the appropriate disk structures, the index is updated for certain
events, such as creation or deletion of directories and files, and for all
permission changes. The index, which is stored on disk in the volume
header, is read when SFM is started and written right after startup and
again when SFM is shutdown. Attribute changes, such as directory
permissions made by processes outside of SFM, to Mac volumes may not be
correctly reflected until SFM is stopped and restarted.
ARTICLE-ID: Q185722 Additional query words: mac tshoot resource fork
Keywords : kbinterop ntmac NTSrv |
Last Reviewed: February 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |