Umount is not reflecting in losetup.


 
Thread Tools Search this Thread
Operating Systems Linux Umount is not reflecting in losetup.
# 1  
Old 10-31-2015
Umount is not reflecting in losetup.

Hi,

initially i will mount a image using loop device using below command
Code:
mount -n -o loop,noatime,ro -t squashfs /mnt/fsh/bt.img /opt/app/test

then "mount" reflects with below
Code:
/dev/loop0 on /opt/app/test type squashfs (ro,noatime)


i will then umount using below commnd, umount is successfull
Code:
umount /opt/app/test

After this "mount" output does not have loop0, but "losetup" still shows

Code:
/dev/loop0: 0 /mnt/fsh/bt.img

How do i umount such that losetup will be free loop device for bt.img ??

Last edited by Don Cragun; 10-31-2015 at 04:56 AM.. Reason: Add CODE tags.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

Problem in reflecting changes made on a JSP File

I make some changes in a JSP file but the changes do not reflect on tomcat server. In my server.xml 'reloadable' paramtere is set to true. I even treid restarting the server. The changes still not reflect. The changes do reflect in a day or two. am not sure why this is happening. Shall... (3 Replies)
Discussion started by: Shikha Agrawal
3 Replies

4. AIX

HACMP LV size is not reflecting

Hi i increased the lv size using smit hacmp. but, the new size is not reflecting.. why?. the pp size is 512 MB. before it was 4 PP's. i increased to 10 PP's. when i type df -m /xxx.. it is showing 2GB only. see the info below.. root@db:/ > df -m /xxx/xxx Filesystem MB blocks Free... (2 Replies)
Discussion started by: honeym210
2 Replies

5. Solaris

mount point not reflecting actual utilization.

HI , I could see in df -k output that a mount point is 100% full. But i could not find any files with huge size that can be removed. So, i have umounted and mounted the filesystem again. Now, in my df -k output i could see that th eutilization is only 7%. Can anyone please suggest what... (3 Replies)
Discussion started by: sag71155
3 Replies

6. Solaris

Why are the changes done to fs-root, not reflecting?

Hi all, I am trying to modify the file fs-root (on belenix). Here is the problem.. I just wanted to check whether any modifications done to the file will be reflected when its booted up, so just echoed a statement and saved it back to the cd and then booted it.. Unfortunately it did not... (0 Replies)
Discussion started by: wrapster
0 Replies

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

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

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
Login or Register to Ask a Question