Visit Our UNIX and Linux User Community


Mount a disk elsewhere /Volumes


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Mount a disk elsewhere /Volumes
# 1  
Old 06-02-2009
Mount a disk elsewhere /Volumes

When a new disk is connected to a Mac/OSX, it automatically mounts on /Volumes.
Is it possible to manually mount it elsewhere?

For example, on "/raid"?

- m66 -
# 2  
Old 06-02-2009
# 3  
Old 06-02-2009
Quote:
Originally Posted by pludi
I know about mount/umount. I was just not sure if I could manipulate the fstab file without getting into any kind of trouble...
Since all disks/volumes automount on /Volumes.

- m66 -
# 4  
Old 06-02-2009
Why do you want to manipulate /etc/fstab? As soon as it's automounted:
Code:
$ mount # to get the device path
$ umount /Volumes
$ mount /dev/path/ /raid

# 5  
Old 06-02-2009
Quote:
Originally Posted by pludi
Why do you want to manipulate /etc/fstab? As soon as it's automounted:
Code:
$ mount # to get the device path
$ umount /Volumes
$ mount /dev/path/ /raid

The issue here is that I am going to migrate from a SUN Solaris based server to a OS X based server.
On the Solaris server, the external raid system is mounted on /raid.
It is important for me to maintain the paths on the file system.
That is why I would like to get an equal mount point on OS X as I currently have on the Solaris server.

One thing is to manually change the mount point for a disk, but I also need it to stay that way after a reboot as well.

- m66 -
# 6  
Old 06-02-2009
Seems that my crystal ball misinterpreted your information so far. The words "newly connected" and "automatically mounts" apparently triggered the "I want to mount my USB pen drive in a different directory" chain.

As long as your external RAID system is connected using the same device path, just add it in /etc/fstab (and I'm sure OSX has a nifty GUI for that) to keep it there even after a reboot.

Previous Thread | Next Thread
Test Your Knowledge in Computers #292
Difficulty: Easy
In 2011, Google introduced the Chromebook, a web thin client running Android..
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Mount /app on a new DISK

Hi folks, because of disk space problem my root is almost full..The root is mounted on rpool and i want to move /app on a new disk, is that possible without compromising any link?How can i do that? I use solaris 10 Thank you in advance, Matt ---------- Post updated at 04:36 PM... (8 Replies)
Discussion started by: mattpunk
8 Replies

2. Solaris

Please help me.how to mount another disk

So. My system have 2 solaris10 machine but system disk of machine 1 data crash.I bring the system disk of machine 1 install on machine2 for get data from disk machine1 but I can't mount disk. because msg is bash-3.00# mount /dev/dsk/c1t3d0s0 /mnt mount: /dev/dsk/c1t3d0s0 is not this fstype... (3 Replies)
Discussion started by: infjustice
3 Replies

3. AIX

Discovery/Mount new disk

Hi all, i must add a new disk on a LPAR. I've done all the HMC and VIOS Procedure to create a virtual host with disk and assign it to lpar. I don't remember how i must do on the lpar to see this disk. (i use lvm not veritas). Thanks in advance and sorry for my english. Bye Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies

4. Solaris

Cannot mount Veritas volumes after cluster patch.

I am working with a Sun StoredgeTek 6540 disk array connected to two Sun 490 servers. After taking one of the 490 nodes on the cluster down to single user mode I proceeded to install the latest cluster patch from Oracle. After the patch was completed the system rebooted, failed to rejoin the... (2 Replies)
Discussion started by: buggin
2 Replies

5. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

6. AIX

how to allow Windows platform to access Unix based disk volumes

How to allow Windows platform to access Unix(AIX) based disk volumes? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

7. Linux

one nfs mount point for many logical volumes

hi i am wondering if it is possible to use one nfs mount point for several logical volumes. i have a top level directory /imaging with data1 - data50 below it. each dataX directory is a logical volume configured through LVM. if i mount them separately on the client (i.e. 50 lines in fstab... (1 Reply)
Discussion started by: user23
1 Replies

8. Filesystems, Disks and Memory

Problem replace disk with RAID-5 volumes

Good morning, I have a problem replacing a disk with raid-5 volumes. An hardware error was occurred from a disk c9t3 so all slices were in maintenace. Every slice is part of a raid-5 volume. Any replica is present. Following Volume manager manual for replacing a disk, I have: - phisically... (0 Replies)
Discussion started by: bonovox
0 Replies

9. UNIX for Dummies Questions & Answers

Mount Second Disk

Anyone, I am trying to mount a second hard drive on a sunfire V120 w/solaris 5.8. I took this hard drive from another system because I deleted some files off that system and I want to mount it to another system so I can copy the file back onto the system. I really have no other means of... (2 Replies)
Discussion started by: dummy101
2 Replies

Featured Tech Videos