|
|
#1 |
|
Prospect
Join Date: Nov 2012
Posts: 5
|
My iSCSI drive got renamed. Need to restore old name
I use a NAS for my Mac OS X Server system. I've dedicated one of the iSCSI LUNs to store all my user home directories. Today, for some inexplicable reason, the iSCSI drive got renamed from Foobar to 00
The mount point also got renamed to from /Volumes/Foobar to /Volumes/00. I manually renamed /Volumes/00 back to /Volumes/Foobar by opening a Terminal window and typing 'mv 00 Foobar', but I would like to restore the old name for the iSCSI drive. Can someone show me how to do this? |
|
|
|
|
|
#2 |
|
All Star
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
|
Not sure why it got renamed, but you can force it to have a particular volume name using fstab.
https://developer.apple.com/library/...5/fstab.5.html |
|
|
|
|
|
#3 | |||||||||||||||||||||||
|
Prospect
Join Date: Nov 2012
Posts: 5
|
Thanks. I tried to edit the /etc/fstab file, but I am running Mac OS X Server 10.6.8, and there is no /etc/fstab file. The closest is a file called /etc/fstab.hd, which contains the following: IGNORE THIS FILE.Is there a away to fix an iSCSI volume name in Mac OS X Server? |
|||||||||||||||||||||||
|
|
|
|
|
#4 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,957
|
I have no experience with OS X Server, but normally you just rename the drive in Finder the way you would rename any file/folder.
__________________
hayne.net/macosx.html |
|
|
|
|
|
#5 | |||||||||||||||||||||||
|
Prospect
Join Date: Nov 2012
Posts: 5
|
I tried to rename it in the Finder by right-clicking the drive and selecting 'Get Info'. I then tried to change back to the earlier name by typing 'Foobar' in Name & Extension. When I try to save it (by enterring the carriage return), I get the message: The name "Foobar" can't be used.I gather that some part of the file system got corrupted, so that I cannot rename the iSCSI drive Volume using the Finder. Perhaps I can circumvent this problem by trying to rename the drive in the command line instead of the Finder. Is there a way to do this in the command line? Last edited by rstartree; 11-04-2012 at 01:26 PM. |
|||||||||||||||||||||||
|
|
|
|
|
#6 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,957
|
First off, try renaming it to something other than "Foobar" - i.e. try a name that hasn't been used before.
__________________
hayne.net/macosx.html |
|
|
|
|
|
#7 | |||||||||||||||||||||||
|
Prospect
Join Date: Nov 2012
Posts: 5
|
I tried that, but I get the same error message. Renaming that iSCSI drive volume via the Finder seems to be inoperative in the current circumstances. |
|||||||||||||||||||||||
|
|
|
|
|
#8 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,957
|
I assume you've tried rebooting that Mac
__________________
hayne.net/macosx.html |
|
|
|
|
|
#9 | |||||||||||||||||||||||
|
Prospect
Join Date: Nov 2012
Posts: 5
|
That would be giving me more credit than I deserve. ![]() I was apprehensive about rebooting the machine, fearing that something worse would happen to the filesystem. After your message, though, I thought: What the hell... So I rebooted, and tried to rename the iSCSI drive volume using the Finder again. This time it worked! Problem solved! I don't know what caused the iSCSI drive to get renamed, but I'm glad that a reboot cleared it up. Many thanks for you help and your suggestions. it's much appreciated.
|
|||||||||||||||||||||||
|
|
|
|
|
#10 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 3,832
|
iSCSI on OS X is far from perfect and there are certainly issues relating to mount points going bad. I am glad that a restart "fixed" the issue but expect it to happen again as Apple do not provide the iSCSI protocol stack which SHOULD be part of the kernel not a bolt on to OS which will be prone to issues.
Are you using the GlobalSAN driver ? |
|
|
|
|
|
#11 |
|
All Star
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
|
if /etc/fstab doesn't exist, you can always create it yourself.
|
|
|
|
![]() |
| Tags |
| iscsi drive |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|