I suppose you could use df to generate a listing, grab the records you are interested in and then un-mount the ones found. You might have to adjust for the number of columns you get from df in the cut -f7 column, but consider the following:-
What I've suggested strips out multiple spaces and then get's the seventh column (according to my df format) and sorts them in reverse so any sub-mounted filesystems are removed first.
I have mounted an ISO-file to do a network install of Red Hat. Afterwards, I removed the ISO and forgot about the mount.
Now, I am unable to unmount this mount, because the target no longer exists...
Here's the error I get when I try to unmount:
Even if I put all the files back and... (6 Replies)
hi all,
I am new to AIX as well as UNIX also ,i have a question
One of my program has created a new filesystem on the system.....
df shows :
/dev/fslv04 2031616 2030648 1% 3 1% /replicas/source
when i tried to umount the above filesystem by
umount... (3 Replies)
The /opt file system needs to be extended. I know the basic commands, but /opt will not unmount. fuser shows nothing and I see no jobs running from /opt. If I need to take it down to single user mode to do this, then what is the best command? Any help is appreciated. Is there a way to stop all... (3 Replies)
Dear Guy's
I'm making script to easier my work to mount and unmount some file systems
I'm executing this command umount -f /file_system
To unmount the file system but some times is not allow the un mounting
it's giving me device is busy ...
I want to know is there any another... (2 Replies)
Hi,
I know that if we need to unmount a device, we use the command umount mount-point, example 'umount /tmp/mount1'
But We can also unmount the device with device name example 'umount /dev/hda6'.
NOTE: I think in RHEL3 we cannot unmount with device name. Correct me if I am wrong.
What... (1 Reply)
Dear all,
I have a two hard drive.On the second (/dev/sdb1 and /dev/sdb2) hard drive i have two partitions. The /dev/sdb2 has been mounted on the /home2 directory.I want to unmount that /dev/sdb2.I have no idea to how to do it.Can anybody give me the details about that?.
Regards,
Prakashkumar.S (2 Replies)
I have installed Solaris 11 Express on my machine, created a raidz2 zpool named shares and set up sharing (zfs set sharesmb=on shares). I also created a script for automatic backuping using snapshots.
Everything worked fine. But yesterday I tried recovering from one of those backuped snapshots:... (1 Reply)
As stated, I am looking into keeping my backup drive unmounted in normal windows use. Partly this is to address threats like cryptolocker. Since one of my backup drives is an internal drive, it will not likely afford any protection from such a threat. I am thinking of adding code to my rsync script... (5 Replies)
Hi,
Need a bit of help on this one as I am a scripting noob.
I have a linux based NAS that mounts USB hard drives in an inconsistent location and to make matters worse, seems to lose the mount for an unknown reason and doesn't remount automatically unless the drive is removed and re-inserted.... (4 Replies)
Hi all ,
I have issue oracle filesystem name /oracle/SID unable to unmount even though no any process are running mentioned fs .would appreciate anyone assist further high level .my system running aix 6.1 (7 Replies)