Results 1 to 7 of 7

Thread: Problems mounting hard drive

  1. #1
    Join Date
    Aug 2005
    Location
    Norfolk, UK
    Beans
    385
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Problems mounting hard drive

    Running 12.04 on SSD.

    I have a separate 1TB drive that split between music /dev/sdb2 and other stuff /dev/sdb4

    Here is the fstab:

    Code:
    /dev/sdb2 /media/music	ext4    rw,user,exec,auto 0	0
    /dev/sdb4 /media/Home	ext4    rw,user,exec,auto 0	0
    Now on a fresh restart all works as expected. However after a random time (varies from 10mins to 10 hours), I can access /media/Home, but some of the directories appear empty, and I seem to lose permissions to delete things. If left eventually I loose all permissions for that partition.

    If I unmount the partition and then re-mount it I get the following:

    Code:
    rror mounting: mount exited with exit code 1: helper failed with:
    mount: wrong fs type, bad option, bad superblock on /dev/sdb4,
           missing codepage or helper program, or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    Any ideas?

  2. #2
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,398
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Problems mounting hard drive

    i would boot a live cd and open gparted and use it to check the partition
    Attached Images Attached Images
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  3. #3
    Join Date
    Aug 2005
    Location
    Norfolk, UK
    Beans
    385
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: Problems mounting hard drive

    Checked it with Gparted and all appears fine.

    I just don't understand it.

    I lose permissions on the drive, and half it's contents vanish.

    I can't unmount it.

    If I restart the computer all is ok again.
    Attached Images Attached Images
    Last edited by c-m; October 18th, 2012 at 03:30 PM.

  4. #4
    Join Date
    Jul 2007
    Location
    Atlanta, GA
    Beans
    89
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problems mounting hard drive

    Quote Originally Posted by c-m View Post
    Checked it with Gparted and all appears fine.

    I just don't understand it.

    I lose permissions on the drive, and half it's contents vanish.

    I can't unmount it.

    If I restart the computer all is ok again.
    try removing the drive from fstab then reboot, then run this and see if it stays working.

    sudo mount -t ntfs -o rw,auto,user,fmask=0022,dmask=0000 /dev/whatever /mnt/whatever

    Source: https://help.ubuntu.com/community/Mo...dowsPartitions
    Last edited by Insomn1a; October 18th, 2012 at 03:35 PM.
    An expert is a man who has made all the mistakes which can be made in a very narrow field.
    -Niels Bohr

  5. #5
    Join Date
    Jul 2012
    Location
    ATL
    Beans
    173
    Distro
    Ubuntu 14.04 Trusty Tahr

    Lightbulb Re: Problems mounting hard drive

    Is the 1 TB drive also a SSD? I've heard of earlier SSDs having fragmentation errors over time. Perhaps this is your problem.

    I don't own any SSDs myself, so I don't have a solution available. I do know that there are many SSD defragmentation programs (I think they refer to them as "optimization" tools.) for Windows, but I'm not sure if there are any good ones for Linux.
    MSI FM2-A75MA-E35 Motherboard - AMD A4-6300 Richland 3.7GHz (Radeon HD 8370D) - G.SKILL Ripjaws X Series 8GB - Iomega KVM - MS Digital Media Pro Keyboard
    The cure to dependency hell: apt-get install apt-file - apt-file search file-from-error

  6. #6
    Join Date
    Aug 2005
    Location
    Norfolk, UK
    Beans
    385
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: Problems mounting hard drive

    Quote Originally Posted by Insomn1a View Post
    try removing the drive from fstab then reboot, then run this and see if it stays working.

    sudo mount -t ntfs -o rw,auto,user,fmask=0022,dmask=0000 /dev/whatever /mnt/whatever

    Source: https://help.ubuntu.com/community/Mo...dowsPartitions
    The drive is ext4

  7. #7
    Join Date
    Aug 2005
    Location
    Norfolk, UK
    Beans
    385
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: Problems mounting hard drive

    I've checked the partition in Gparted and all is well there.

    The problem seems to occur when copying or writing files to that particular partition.

    Other partitions on the same drive are fine.

Tags for this Thread

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
  •