Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Error while mounting ntfs drive.

  1. #1
    Join Date
    Jun 2013
    Beans
    26

    Error while mounting ntfs drive.

    Today I started getting this error on boot

    "Error while mounting /media/hdd1" (or /media/mediahdd. mediahdd is the label of the harddrive, hdd1 is the mountpoint I created myself)

    I can press S to skip or press M to go into manual recovery
    When I press S it just boots up normally, and I see that the hdd is mounted, but I can't write to it or anything. So it didn't boot using my fstab settings. The hdd is a ntfs drive I use for some data and stuff I added on windows.

    The weird thing: when I unmount the device and remount it again (after booting), it's working as it should! So when I
    Code:
    sudo umount /media/hdd1
    sudo mount /dev/sdb1
    It works how I want it to, it uses the fstab settings and mounts correctly on /media/hdd1 with write access. (not under /media/mediahdd - which is the label)

    It was working perfectly until today. I was messing with lightdm and added a custom session under /././xsessions when this error started happening.

    I don't know why it doesn't just mount as specified in fstab while booting, because when manually remounting it does work.

    /etc/fstab
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc    /proc    proc    nodev,noexec,nosuid    0    0
    tmpfs    /tmp    tmpfs    defaults,noatime,mode=1777    0    0
    #Entry for /dev/sda2 :
    UUID=5a1e8c36-abdd-496a-8421-e6486df36fc7    /    ext4    noatime,discard,errors=remount-ro    0    1
    #Entry for /dev/sda3 :
    UUID=088cb6f0-84f9-4246-98ae-5d3662d2d8ec    /home    ext4    noatime,discard,defaults    0    2
    #Entry for /dev/sda1 :
    UUID=15dad974-4171-4753-bd9c-f6610589368f    none    swap    sw    0    0
    #mediahdd on mountpoint hdd1
    UUID=3AB87D34B87CF02D /media/hdd1 ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0
    /var/log/boot.log

    Code:
    fsck from util-linux 2.20.1 
    fsck from util-linux 2.20.1 
    lircd-0.9.0[860]: lircd(default) ready, using /var/run/lirc/lircd  
    /dev/sda2: clean, 230248/2444624 files, 1417549/9765632 blocks 
    /dev/sda3: clean, 9139/6840320 files, 621950/27353856 blocks 
    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. 
    mountall: mount /media/hdd1 [897] terminated with status 16 
    mountall: Filesystem could not be mounted: /media/hdd1 
    Skipping /media/hdd1 at user request
    Last edited by Crypdos; June 13th, 2013 at 07:48 PM.

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,508
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Error while mounting ntfs drive.

    If the machine has Windows installed, or you can access the drive in some other manner from Windows. I strongly suggest running chkdsk on the NTFS filesystem and see whether it reports any errors.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Jun 2013
    Beans
    26

    Re: Error while mounting ntfs drive.

    I will try that when I'm home. But I really doubt it, the HDD is barely 1 month old. It's a western digital 1,5TB one.

    Meanwhile, any other suggestions?

  4. #4
    Join Date
    May 2007
    Beans
    12,952

    Re: Error while mounting ntfs drive.

    I had three WD drives fail me last year, one of which was only a few months old. So, run the CHKDSK to confirm there are no filesystem errors. New WD drives fail, too.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  5. #5
    Join Date
    Jun 2013
    Beans
    26

    Re: Error while mounting ntfs drive.

    Ok, I ran chkdsk for a ridiculous amount of hours and it found no problems + 0kb in bad sectors.

    It must be something else.

  6. #6
    Join Date
    Jun 2013
    Beans
    26

    Re: Error while mounting ntfs drive.

    Sorry, afraid I must bump

  7. #7
    Join Date
    Apr 2011
    Beans
    26

    Re: Error while mounting ntfs drive.

    I remember two or three years ago there being issues with mount rejecting nls=XXXX statements. Have you tried it without that option? Or alternatively just add a bash script to mount the drive for you after login...

  8. #8
    Join Date
    Jun 2013
    Beans
    26

    Re: Error while mounting ntfs drive.

    I tried running it with just "defaults,windows_names" as options. Same error.
    If possible, I would like to get it working with fstab.
    Thanks for the help though!

  9. #9
    Join Date
    Apr 2011
    Beans
    26

    Re: Error while mounting ntfs drive.

    Have you tried reinstalling ntfs-3g?

    Code:
    sudo apt-get --reinstall install ntfs-3g

  10. #10
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Error while mounting ntfs drive.

    Part of the reason I do not like very large NTFS data partitions is how long chkdsk can take. And you cannot use fsck on NTFS formatted partitions.

    Only if mounted by Nautilus and not already mounted, would it mount in /media using the label.

    Is UUID correct?

    Ubuntu changed to use sdXY for all drives, but before hdXY was for some drives. Since your mount point is close to an old standard reserved mount, I wonder if that could be part of the issue. I might just try something different. And/or mount in /mnt not /media.
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •