NTFS drive gets unaccessable after a while

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

NTFS drive gets unaccessable after a while

Postby fire_dragon » Fri Jan 04, 2013 23:11

Dear friends,
I have:
1 internal HDD
3x USB HDD

One of the USB HDDs which is sdb1 gets unaccessable after a while. While the others still work.

Here some commands I tried:

Code: Select all
mount -o remount /dev/sdb1
Remounting is not supported at present. You have to umount volume and then mount it once again.


Code: Select all
umount /dev/sdb1
umount: /mnt/hdd1: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))


Code: Select all
mount /dev/sdb1 /mnt/hdd1
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.


Code: Select all
fdisk -l

Disk /dev/sda: 163.9 GB, 163928604672 bytes, 320173056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x039e039e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   143362047    71680000    7  HPFS/NTFS/exFAT
/dev/sda2       143362048   153602047     5120000   82  Linux swap / Solaris
/dev/sda3       153602048   154626047      512000   83  Linux
/dev/sda4       154626048   320172031    82772992    5  Extended
/dev/sda5       154628096   237400063    41385984   83  Linux
/dev/sda6       237402112   320172031    41384960   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcecb447b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1953521663   976759808    7  HPFS/NTFS/exFAT

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x692686e8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63  1953520064   976760001    7  HPFS/NTFS/exFAT

Disk /dev/sdd: 320.1 GB, 320072933376 bytes, 625142448 sectors                                                                                                                               
Units = sectors of 1 * 512 = 512 bytes                                                                                                                                                       
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                                                                         
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                                                                             
Disk identifier: 0x57df9d46                                                                                                                                                                   
                                                                                                                                                                                             
   Device Boot      Start         End      Blocks   Id  System                                                                                                                               
/dev/sdd1   *          63   625137344   312568641    7  HPFS/NTFS/exFAT


Code: Select all
blkid                                                                                                                                                                   
/dev/sda1: UUID="C29C02A69C029557" TYPE="ntfs"                                                                                                                                               
/dev/sda2: UUID="0de7672c-2bc5-4cf7-88f1-3618ad07416b" TYPE="swap"                                                                                                                           
/dev/sda3: UUID="a8e071a4-1c01-40db-a51a-654295ed5cad" TYPE="ext2"
/dev/sda5: UUID="dd8efd23-938d-4b35-9ae4-b9ce5f3213f3" TYPE="ext4"
/dev/sda6: UUID="d8c48820-66ed-414f-9a73-a4044c597c35" TYPE="ext4"
/dev/sdb1: LABEL="1TB - USB2 - CNMemory" UUID="DEBEAAA8BEAA7923" TYPE="ntfs"
/dev/sdc1: LABEL="1TB - SATA-USB2 - Verbatim" UUID="C4DEBB89DEBB71F2" TYPE="ntfs"
/dev/sdd1: LABEL="320GB - USB2 - MAXTOR" UUID="55D123D9E79ABF54" TYPE="ntfs"


Code: Select all
cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sun Dec  2 09:46:52 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=d8c48820-66ed-414f-9a73-a4044c597c35 /                       ext4    defaults        1 1
UUID=a8e071a4-1c01-40db-a51a-654295ed5cad /boot                   ext2    defaults        1 2
UUID=dd8efd23-938d-4b35-9ae4-b9ce5f3213f3 /home                   ext4    defaults        1 2
UUID=0de7672c-2bc5-4cf7-88f1-3618ad07416b swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

UUID=C29C02A69C029557   /mnt/hdd0               ntfs    defaults        0 0
UUID=55D123D9E79ABF54   /mnt/hdd3               ntfs    defaults        0 0
UUID=DEBEAAA8BEAA7923   /mnt/hdd1               ntfs    defaults        0 0
UUID=C4DEBB89DEBB71F2   /mnt/hdd2               ntfs    defaults        0 0
/dev/sr0                /mnt/dvd                auto    auto,user,rw    0 0


I don't know why it gets not accessible anymore after a while, it will happen when I use the computer actively, or if its just downloading.

Thanks
fire_dragon
Simple Hen
 
Posts: 49
Joined: Wed Oct 24, 2012 13:22

Re: NTFS drive gets unaccessable after a while

Postby Fitzcarraldo » Sun Jan 06, 2013 9:07

Install the package sys-fs/ntfs3g if you haven't already done so, and change your /etc/fstab file to reference "ntfs-3g" rather than "ntfs". See my fstab file copied below, for example.

Code: Select all
/dev/sda6               /                       ext4    user_xattr,noatime        1 1
/dev/sda7               /home                   ext4    user_xattr,noatime        1 2
/dev/sda3               /boot                   ext4    user_xattr,noatime,noauto 1 2
/dev/shm                /dev/shm                tmpfs   defaults                  0 0
/dev/sda5               swap                    swap    defaults                  0 0
/dev/sda2               /media/Windows7         ntfs-3g defaults                  0 0
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: NTFS drive gets unaccessable after a while

Postby fire_dragon » Wed Jan 09, 2013 9:21

ntfs-3g is installed.

I figured out, that a program called dirsync_pro is likely causing the problem. Since I do not run it in the background, the problem did not happen since then. Either it is producing a high threshold on the hdd or it is accessing files which are in use, which crashes something to make the disk not availible. This is my guess, but I'll have to test longer to see how to find out what the problem really is.

Thanks for your answer.
fire_dragon
Simple Hen
 
Posts: 49
Joined: Wed Oct 24, 2012 13:22

Re: NTFS drive gets unaccessable after a while

Postby fire_dragon » Wed Jan 16, 2013 9:36

Problem happened yesterday again, without DirSyncPro running and with this HDD being the only USB HDD on the system plugged directly into a computers USB port. It happened directly when I close Firefox. Not sure why, it did not happen for a week when I disabled DirSyncPro. DirSyncPro is also syncing Firefox, maybe this is why it produced this problem.
fire_dragon
Simple Hen
 
Posts: 49
Joined: Wed Oct 24, 2012 13:22


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: heathen and 2 guests