renaming external hard drive

If I change the name of my external hard drive, will that mess everything up in iTunes, iPhoto, etc?

Also, do hard drives have any other identifying information that complicates anything when you need to resort to a backup?

MacBook (Intel), Mac OS X (10.5.2)

Posted on Mar 11, 2008 7:59 PM

Reply
21 replies

Mar 12, 2008 11:40 AM in response to audiofreq

The path to a drive is maintained in a Unix table. A drive's name is simply a sort of alias (not precisely) associated with the drive. The Unix ID for a drive is in the form "disknsm" where n and m refer to the disk number and m refers to the partition or volume number. Thus, a boot drive may have the identifier of disk0s3. The filesystem uses this identifier not the name you give the drive.

Mar 14, 2008 2:37 PM in response to Kappy

Hmm interesting. So what happens when you replace an external hdd after a failure?

When I got my new ext hdd and transferred all the old files, iTunes couldn't find the files until I renamed the hdd the same thing as the old drive, and then it worked fine. This is why I'm nervous about changing the name of my drive again. Any insight?

Mar 14, 2008 3:05 PM in response to Kappy

Ok great so that tells me my ext drive is /dev/disk1s3. I don't quite understand the 3, which you said indicates partition (I only have 1 partition on this drive).

I'm assuming that this Unix ID can change; maybe its assigned when the drive is mounted? So if you mount two drives at the same time, they obviously need different IDs, and maybe this is what caused my problem. Then maybe I mounted it again later and it was assigned the same ID as the original drive, so iTunes worked fine.

If that's correct, then how can you insure that all of your libraries will have correct file references if the drive ID can change?

If the drive ID can't change, then how did iTunes know to find the files on the new drive? And what happens if two drives have the same ID (it's not the most unique of ID systems, so I doubt its a static ID...)

Now here's another related issue - let's say I want to have an ext hdd at home and another one at work, both duplicates of each other. Can I just plug it it and iTunes will work fine? Do they have to have the same name or folder structure?

Mar 14, 2008 3:23 PM in response to audiofreq

Yes, the ID will change if the drive is removed or unmounted. Or in the case of an optical disc if the disc is ejected.

You actually have several partitions on a formatted drive, but the first ones are invisible to you because they are used by the directory and the operating system. Thus, the first partition you will see is the volume you formatted which is slice 3 or s3.

If you look at what df displays you will see if you have anything mounted with the same Unix ID. My guess is that's not the case. However, you may find the volume alias in a different directory - /Volumes. This is where the volume references are found (the names you created.) If you find a Media and a Media 1 there, then delete the wrong one.

They external drive has the same name regardless of which machine it's connected. However, the Unix ID is entirely dependent upon the computer setup and how many devices are connected to it. For example if the computer at work is a tower with four internal drives and you connect an external drive, then the external drive will become disk5 (disk1-disk4 are already used.) When you take it home and connect it to your laptop with only one drive, then it will become disk2 (disk1 is the internal drive.) However, if iTunes is set up to look for its folder on the external drive, then it will always look there because internally it identifies the drive by its given name and the path to the iTunes folder, for example, /MyExternalDrive/Music/iTunes/. That remains the same regardless of machine.

Mar 14, 2008 3:56 PM in response to Kappy

Okay but this brings us back to my original question - "If I change the name of my external hard drive, will that mess everything up in iTunes, iPhoto, etc?"

My iTunes folder is on my internal hdd, but the majority of my files are on the ext hdd. Since all these files are referenced to the NAME of the drive, then won't changing that name mess everything up? This would explain why the files couldn't be found when my new hdd was named differently but then worked fine after I changed the name back to the original one.

However, this contradicts your initial responses, so I'm kind of confused here. Will iTunes/iPhoto file references be okay if I change the name of the drive? Will they know to update or not? It seems like the Unix ID is irrelevant in this situation. Thanks for your help, and please let me know.

-Todd

Mar 15, 2008 4:01 PM in response to audiofreq

I think the easiest way to keep from being over-whelmed by tons of audio files is to store the actual music somewhere else. The iTunes folder would still be in your home Music folder, but the actual music files would be somewhere else. Thus the iTunes folder inside /Users/yourname/Music would have contents like this:

Album Artwork
iTunes 4 Music Library
iTunes Library
iTunes Music
iTunes Music Library.xml
Previous iTunes Libraries

But the iTunes Music folder in that location is completely empty. Instead, the iTunes Music folder the contains the actual music files is located elsewhere. In my case, it is in my Shared folder. In yours it would on a different drive, something like /Volumes/Sounds/iTunes Music.

If that is the case, launch iTunes, go to iTunes Preferences, click on the Advanced gear icon in the toolbar, make sure the General tab is selected, and the very first item is "iTunes Music folder location"--click the Change button, then navigate to the external drive and select the folder. That should do it.
Francine

User uploaded file
Francine
Schwieder

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

renaming external hard drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.