unmount external disk in terminal

I cannot unmount a drive (or mount it) in disk utility. Repair permissions is not even an option. In the terminal, I type
sudo diskutil repairPermissions /dev/disk1
and get this message:
Error encountered attempting to verify/repair permissions on disk1: Permissions are not enabled on the disk (-9973)

How do I enable permissions? I think if I can repair permissions, I might be able to unmount this disk.

iMac intel core duo/macbook pro intel core 2 dou, Mac OS X (10.5)

Posted on Nov 13, 2007 2:32 PM

Reply
29 replies

Nov 18, 2007 5:53 AM in response to bannonto

Unknown-00-17-f2-e7-2e-90:~ root# disktool -l
*Disk Appeared ('disk1s1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk1s3',Mountpoint = '', fsType = 'hfs', volName = 'Fantom')
*Disk Appeared ('disk1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0s1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0s2',Mountpoint = '/', fsType = 'hfs', volName = 'Altosa')

Nov 18, 2007 5:55 AM in response to Mark Jalbert

Unknown-00-17-f2-e7-2e-90:~ root# disktool -l
*Disk Appeared ('disk1s1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk1s3',Mountpoint = '', fsType = 'hfs', volName = 'Fantom')
*Disk Appeared ('disk1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0s1',Mountpoint = '', fsType = '', volName = '')
*Disk Appeared ('disk0s2',Mountpoint = '/', fsType = 'hfs', volName = 'Altosa')

Nov 18, 2007 6:29 AM in response to bannonto

Hi bannonto,

Let me go over the info that you have provided.

The ls command shows two drives on your computer, Altosa is the boot drive and Fantom is the other drive. I though the name of the drive was "Apple_HFS Fantom"?
The permissions on Fantom do not allow any users to read or write to the drive. This can be fixed.

The volinfo.database shows four different disks all permissions enabled. Whether you have mounted four different disk or not isn't a concern at the moment.

The disktool command shows two partition slices with an hfs file system on them-
*Disk Appeared ('disk1s3',Mountpoint = '', fsType = 'hfs', volName = 'Fantom')
*Disk Appeared ('disk0s2',Mountpoint = '/', fsType = 'hfs', volName = 'Altosa')

I need you to confirm the drive name Fantom. Use the following command, post the command and the text output from the command:

mount

Nov 21, 2007 1:11 AM in response to bannonto

OK, now I get this message:Unmount of disk0s2 failed


disk0s2 is your boot drive. Are you trying to verify your boot drive?

The information indicates that "Fantom" is not mounted.

*Disk Appeared ('disk1s3',Mountpoint = '', fsType = 'hfs', volName = 'Fantom')
There is no mount point listed nor does the command mount indicate that Fantom is mounted.
Unknown-00-17-f2-e7-2e-90:~ root# mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fdesc, union)
map -hosts on /net (autofs, automounted)
map auto_home on /home (autofs, automounted)

Message was edited by: Mark Jalbert

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.

unmount external disk in terminal

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