Visit Our UNIX and Linux User Community


umount help


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users umount help
# 1  
Old 11-14-2003
umount help

hi all,

I inherit a Solaris7 system with /home mounted via a share from the NFS server. When I look at mnttab, there are two entries mounted under /home. Let's say they are server:/home/a and server:/home/b. I would like to maintain /home/a but not /home/b. However, I just don't know where to remove the entries that specify the mounting of /home/a&b. BTW, the server "share" /home not /home/a&b.

Any idea? Appreciate any advice. Thank you in advance.

andrec
# 2  
Old 11-14-2003
Look in /etc/vfstab
# 3  
Old 11-19-2003
andrec,

You seem somewhat unsure of what to do with vfstab. If you do make changes, I'd suggest making a backup copy in the event that you make a syntax error in the file (cp /etc/vfstab /etc/vfstab.`date +%Y%m%d` .

Cheers,

Keith
# 4  
Old 11-20-2003
If you are running NIS or NIS+, you may want to look at the auto maps in the service.

And on your system (/etc/auto_home /etc/auto_master) may also have been changed in a way to mount a & b.
# 5  
Old 11-21-2003
You may also want to talk with the SA who manages the NFS server...

Have them remove your hostame from the list that pushes out /home/b if you no longer need that NFS mountpoint.

Regarding your question of what to remove from /etc/vfstab, you should have lines like this..


hostname.com:/home/a /home/a ... ... ...
hostname.com:/home/b /home/b ... ... ...


Just comment out or remove the /home/b entry... Make sure to backup the /etc/vfstab before making any changes to it.

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Umount is not reflecting in losetup.

Hi, initially i will mount a image using loop device using below command mount -n -o loop,noatime,ro -t squashfs /mnt/fsh/bt.img /opt/app/test then "mount" reflects with below /dev/loop0 on /opt/app/test type squashfs (ro,noatime) i will then umount using below commnd, umount is... (0 Replies)
Discussion started by: successlin
0 Replies

2. UNIX for Dummies Questions & Answers

Umount CIFS

hi guys I have to umount a CIFS from a Windows machine...but it's been imposible there is one special task /sbin/umount.cifs /mondobackup that task cannot be kill...so I cannot umount the unit any idea how to kill this and umount this CIFS share? by the way I've tried umount... (5 Replies)
Discussion started by: kopper
5 Replies

3. UNIX for Dummies Questions & Answers

accidentally umount -a

Hi all, I accidentally unmounted filesystems using umount -a command. How to recover from this. Please help. Thanks in advance! when i try to use mount -a i got the following output. # mount -a mount: /dev/vg00/lvol05 already mounted or /opt busy mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies

4. Linux

Is umount -l dangerous?

I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff: Here was a snippet of their response: Using "umount -l" is a potentially dangerous act. The command combination for a lazy... (8 Replies)
Discussion started by: pastajet
8 Replies

5. HP-UX

Is it really impossible to force umount on HP-UX

Hello, yeah... here my question : Exist some way to force umount on HP other than reboot? Thanks gb (12 Replies)
Discussion started by: gogol_bordello
12 Replies

6. HP-UX

how to force umount

sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies

7. UNIX for Dummies Questions & Answers

Unable to umount CDRom

Hi, I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse ) My Program is in Java. A Shell Script is used to fork the java process. I found out that when the Installer tries to go to the next disc when prompted so, by the installer, the eject... (1 Reply)
Discussion started by: jiju.jacob
1 Replies

8. Solaris

umount is failing

I am trying to umount a NFS share. When I do the following: # umount syrupg21 umount: /oebs/syrupg21: device is busy device bussy so I like to check what is working on the system.... # fuser -muv /oebs/syrupg21/ # So no locks should be there... any clue? Regards, Johan... (3 Replies)
Discussion started by: suntac
3 Replies

9. UNIX for Dummies Questions & Answers

umount error

the program as follow: mount /dev/fd0135ds18 /mnt cd /mnt touch file1 cat /file2 >/mnt/file1 umount /dev/fd135ds18 when error tell device busy could you tell me the reason? (1 Reply)
Discussion started by: fresh
1 Replies

10. UNIX for Dummies Questions & Answers

umount

:confused: Twofold question for you unix "guru's" 1) When attempting to use the umount command I get a message stating that the partition that I want to unmount is busy. Is there another command that I need to use prior to the umount command to clear the partition of activity????? ... (2 Replies)
Discussion started by: rod23
2 Replies

Featured Tech Videos