You are not logged in.

#1 2010-05-08 18:42:34

n0kS
Member
Registered: 2009-10-19
Posts: 25
Website

NTFS partition problem mounting

Hello, I wanted to remount my partition /dev/sda3 so I tried:

-(root@phr33d0m)-(20:03:49)-(05/08)-
-(/home/n0ks)> umount /dev/sda3
umount: /media/STORAGE: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))


so I made

-(root@phr33d0m)-(20:19:40)-(05/08)-
-(/home/n0ks)> fuser -m /dev/sda3
/dev/sda3:            1664  5013c

and then:

-(root@phr33d0m)-(20:21:04)-(05/08)-
-(/home/n0ks)> ps aux | grep 1664
48:root      1664  0.0  0.0  16012  1848 ?        Ss   May02   1:15 /sbin/mount.ntfs-3g /dev/sda3 /media/STORAGE -o rw

and then:

-(root@phr33d0m)-(20:21:33)-(05/08)-
-(/home/n0ks)> kill 1664

and here all F*CKED up...:

-(root@phr33d0m)-(20:24:46)-(05/08)-
-(/home/n0ks)> mount.ntfs-3g /dev/sda3 /media/STORAGE -o rw
fuse: failed to access mountpoint /media/STORAGE: Transport endpoint is not connected

-(root@phr33d0m)-(20:30:14)-(05/08)-
-(/home/n0ks)> mkdir /media/STORAGE2

-(root@phr33d0m)-(20:30:24)-(05/08)-
-(/home/n0ks)> mount /dev/sda3 /media/STORAGE2

-(root@phr33d0m)-(20:31:15)-(05/08)-
-(/home/n0ks)> fusermount -u /dev/sda3
fusermount: /dev/sda3 not mounted

-(root@phr33d0m)-(20:31:32)-(05/08)-
-(/home/n0ks)> ls /media/
ls: cannot access /media/STORAGE2: Transport endpoint is not connected
ls: cannot access /media/STORAGE: Transport endpoint is not connected
cd  dvd  fl  STORAGE  STORAGE2  USB



/etc/fstab:
/dev/sda3 /media/STORAGE ntfs-3g defaults 0 0


Any ideas to fix this? :\


ps: In google I found this:

Transport endpoint is not connected

If you get this error when you try a command such as ls or cat, it means the GlusterFS mount did not succeed. Try running GlusterFS in DEBUG logging level and study the log messages to discover the cause.

But I have no idea how to do that :\ ...

ps2:
when I run:
mount /dev/sda3
nothing happens, and /var/log/everything.log shows this:

May  8 20:49:00 phr33d0m ntfs-3g[30061]: Version 2010.3.6 external FUSE 28
May  8 20:49:00 phr33d0m ntfs-3g[30061]: Mounted /dev/sda3 (Read-Write, label "STORAGE", NTFS 3.1)
May  8 20:49:00 phr33d0m ntfs-3g[30061]: Cmdline options: rw
May  8 20:49:00 phr33d0m ntfs-3g[30061]: Mount options: rw,silent,allow_other,nonempty,relatime,fsname=/dev/sda3,blkdev,blksize=4096
May  8 20:49:00 phr33d0m ntfs-3g[30061]: Ownership and permissions disabled, configuration type 1
May  8 20:49:00 phr33d0m ntfs-3g[30061]: Unmounting /dev/sda3 (STORAGE)

Last edited by n0kS (2010-05-08 18:57:26)

Offline

#2 2010-05-08 19:14:01

n0kS
Member
Registered: 2009-10-19
Posts: 25
Website

Re: NTFS partition problem mounting

I resolved this rebooting my system, but I wont mark it as [solved] because this is a typical Winblows solution, not a linux one...

Offline

#3 2010-05-08 23:19:21

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: NTFS partition problem mounting

You killed the process managing a FUSE mount, so the "transport endpoint" is no longer connected. You blew it yourself, no need to compare it with a silly name for a different OS.

Offline

#4 2010-05-16 19:30:00

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: NTFS partition problem mounting

It seems the process causing the 'device is busy' was 5013, with that stopped you should have been able to unmount.  After the kill of 1664 (actual mount process) however, you could have recovered still by ending 5013 if it still was running and then umount/mount.

Last edited by tesjo (2010-05-16 19:41:14)

Offline

Board footer

Powered by FluxBB