Changing disk mounts


How to change or add disks under Unix

First, if you need to change partitions of a disk, unmount the disk using /usr/sbin/umount and use /usr/sbin/diskconfig

You can remount the disk manually by making the directory where it is to be mounted, and use /usr/sbin/mount /dev/rz<scsi-id#><partition letter>

You need to change /etc/fstab to mount this disk/partition at the right place automatically on reboot

Next, add a line in /etc/exports to allow remote machines to connect to this disk (use one of the other entries as an example)

Next, you'll have to add or change the entries in /etc/auto.direct on each client
(I'm currently working on getting this working in NIS (network information service) but in the meantime, you'll have to change the tables on each client)

After you change /etc/auto.direct, you'll have to kill and restart automount.

Do a "ps -ef |grep automount" and kill the process.
Restart automount by typing what the ps command revealed
(this is usually /usr/sbin/automount -M /A -f /etc/auto.master)
 
 

You can get some further help by doing a man on exports, auto.master, and fstab.



Disclaimer:
I don't guarantee these pages to be accurate or complete, although I did try to make them that way.  If you notice an error, or something that could help people better, please let me know.

Back to help pages

Email: dkirk@phy.syr.edu
Personal Email: kirkpatrick@geocities.com
Personal Web Page: http://www.geocities.com/Heartland/6540