force umount in solaris 2.6


 
Thread Tools Search this Thread
Operating Systems Solaris force umount in solaris 2.6
# 1  
Old 04-04-2008
force umount in solaris 2.6

Hi All,

Can someone share with me how to force umount in solaris 2.6?

Thanks

Leong
# 2  
Old 04-07-2008
Code:
umount -f /filesystem

This command may or may not work, or may mess up the system cause it to hang.

You shud first do a fuser on the filesystem to find out if there are any existing processes still running from it.

[root]# fuser /oradata

/oradata: 23472c 23472c 23469c 348c 452c 448c 420c 405c

The above shows that I have 8 processes running from it.

do a ptree <process id> to trace what is running.
Code:
[root]# /usr/proc/bin/ptree 348
348   /oradata/9.0/bin/tnslsnr LISTENER -inherit

then just stop those application running, or it could be some user logon accessing it then just kill them, then try to umount normally.

Last edited by Yogesh Sawant; 04-07-2008 at 06:13 AM.. Reason: added code tags
# 3  
Old 04-07-2008
Hi Sparcguy

I did fuser /myfs but it showed that no process was runnin on it. Smilie

I'm aware that "-f" is supported on 2.8 but it does not seem to be by 2.6.
# 4  
Old 04-07-2008
Quote:
Originally Posted by bkleong
Can someone share with me how to force umount in solaris 2.6?
Here are two options:
- reboot
- upgrade from this outdated release to something more current ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to force a same password in Solaris in Solaris 8?

hi all I need to add a user "abcd" and set the password same as the user id. But Solaris 8 is not allowing me to do it, is there any way we can force the password to be same as the user id. Any help would be appreciated. Thanks bash-3.00# cat /etc/release ... (9 Replies)
Discussion started by: imran721
9 Replies

2. 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

3. 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

4. HP-UX

how to force umount

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

5. Solaris

how to force e1000g0 interface in solaris 10

Hi all, I encounter some problem with my e1000g interface running on sol 10. I can't permanently change the auto-nego to disable, if i use ndd commands, it will only stay until the next reboot. But i can't change the link speed either is set to /etc/init.d/nddconfig or using ndd commands. ... (1 Reply)
Discussion started by: mailbox80
1 Replies

6. UNIX for Advanced & Expert Users

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... (4 Replies)
Discussion started by: andrec
4 Replies

7. UNIX for Dummies Questions & Answers

solaris 8 admin I text ambiguities on mount and umount

i'm prepping for my midterm, which i will bomb. i am scurrying to finish reading the final chapter before i get down into the review. however, i came across something in chapter 8 - "mounting file systems" that has me really confused. the text says the following: then it goes on to... (2 Replies)
Discussion started by: xyyz
2 Replies

8. Cybersecurity

How to force NIC full 100 dpx in Solaris 8

Does any body knows how to force NIC to 100 Full Duplex in Solaris 8, should survive after reboot or shutdown. (2 Replies)
Discussion started by: s_aamir
2 Replies

9. UNIX for Advanced & Expert Users

How to force NIC full 100 dpx in Solaris 8

Does any body knows how to force NIC to 100 Full Duplex in Solaris 8, should survive after reboot or shutdown. (1 Reply)
Discussion started by: s_aamir
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
Login or Register to Ask a Question