Duplicate mount point in /Volumes after unexpected restart
Mac OS X 10.2, Mac OS X 10.3, Mac OS X 10.4, Mac OS X 10.5, Mac OS X Server 10.2, Mac OS X Server 10.3, Mac OS X Server 10.4, Mac OS X Server 10.5
If Mac OS X or Mac OS X Server is restarted unexpectedly, the current mount point listed in /Volumes may not be deleted and a new ("false") mount point with a " 1" appended to the name may appear (such as "My Volume 1"). This can cause issues for applications that rely on the path to certain files located in secondary volumes.
The following steps for Mac OS X Server will remove duplicate mount points from /Volumes. Note: The "false" mount point may or may not be the volume whose name ends with " 1". In the Finder, use Get Info (or on the command line, use du -sk) to determine which mount point is smaller in size--the smaller one is likely the "false" share point.
- On the server, log into the Finder as root or an admin user.
- If you logged in as root, open Workgroup Manager and log in as the local admin user, then stop all file services.
- In the Finder, go to /Volumes.
- Copy the incorrect ("false") mount point's folder to the desktop or different volume. This ensures that no data that was inadvertently placed in the false share point is lost.
- Delete the empty "false" mount point folder from /Volumes. Authenticate if prompted.
- Restart the server.
Command line alternative
Alternatively, you can use these steps and the command line.
- Shut down and restart the server.
- Start in single-user mode.
- Type this command, followed by Return: mount -uw /
- Type this command, followed by Return: cd /Volumes
- Type this command, followed by Return, to move the contents of the false mount point:
mv "FalseVolumeName" /
- Type reboot followed by Return.
The computer will restart and mount the volume as expected.
Once you have all of the data from the "false" mount point copied back into the volume where it should reside, you can delete the folder "FalseVolumeName" from the boot volume.