Can you help with Mac OS X - mounting volumes?

Can you help with Mac OS X - mounting volumes?

Postby celyddon81 » Sat Jul 03, 2010 3:58 pm

I cannot find anywhere (apples website, google etc)

I am admin on an Xserve. Does anyone have detailed info on Mounting Volumes in mac os x (how to manage them) I know how to create them
User avatar
celyddon81
 
Posts: 88
Joined: Mon Dec 14, 2009 3:51 am

Can you help with Mac OS X - mounting volumes?

Postby channe15 » Sat Jul 03, 2010 4:02 pm

For attached Hard Drives/USB flash drives you can use regular UNIX commands

You can mount drives from the Drive Utility. Applications-->Utilities-->Disk Utility. On the left are the drives - mount or unmount appropriately.

For a command line option, open Terminal

dmesg <--- will give you a scsi address list of your attached drives

then mount it

sudo mount {device} {mount path}

sudo mount /dev/sda1 {or whatever the drive address it} /Volumes/desiredpath

you may need to create the target forlder for the mount path first before you try and mount it.

check if it is mounted using

df -h

Unmount using

umount /Volumes/desiredpath



Mount a DMG in terminal using

hdiutil attach /path/to/myDMGname.dmg


Detach a dmg by checking the Volume name first

df -h

hdiutil detach /Volumes/desiredDMG
User avatar
channe15
 
Posts: 74
Joined: Mon Dec 14, 2009 7:35 pm


Return to Xserve

Who is online

Users browsing this forum: No registered users and 1 guest