Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Ubuntu doesn't recognize internal hard drive after update to 24.10

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Beans
    64
    Distro
    Ubuntu 24.04 Noble Numbat

    Ubuntu doesn't recognize internal hard drive after update to 24.10

    I have a 1 TB internal hard drive that has had no problems at all until I upgraded to 24.10. When I rebooted after upgrading, it didn't recognize it at all. I rebooted a few more times, but this was the best I could do:

    Code:
    $ cat /etc/fstab | grep cifs
    /dev/disk/by-uuid/aeac7129-c4b6-47da-8dca-7b5d7a6f130a /cifs ext4 defaults 0 1
    
    $ df -h | grep cifs
    /dev/sda1       917G  726G  145G  84% /cifs
    
    $ mount | grep cifs
    /dev/sda1 on /cifs type ext4 (ro,relatime)
    
    $ ls -l /cifs
    ls: /cifs/: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    ls:  cannot access <filename>: Input/output error
    total 40
    -?????????  ? ?    ?          ?            ? <filename>
    drwx------  2 root root   16384 Nov 26  2009 <filename>
    drwxrwxrwx 43 user colord  4096 Aug 18 18:18 <filename>
    -rw-r--r--  1 user user   10986 Nov  7  2009 <filename>
    -?????????  ? ?    ?          ?            ? <filename>
    -rw-r--r--  1 user user    7184 Sep 11  2008 <filename>
    d?????????  ? ?    ?          ?            ? <filename>
    d?????????  ? ?    ?          ?            ? <filename>
    "colord" is not a valid user in my system, that I know of, and I don't believe I've been hacked.

    Have there been any bug reports on things like this happening? If so, is there a fix coming out? If it's just me, any ideas on what I can do to fix this?

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Why did you run this command

    cat /etc/fstab | grep cifs
    What is CIFS in Linux?Common Internet File System (CIFS), an implementation of the Server Message Block (SMB) protocol, is used to share file systems, printers, or serial ports over a network. Notably, CIFS allows sharing files between Linux and Windows platforms regardless of version.



    What do you have on that 1TB drive? Is this a Ubuntu server install?

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Nov 2008
    Beans
    64
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    It's not a server install. I just named it /cifs because I had thought about using it as a shared drive but I decided against it. I ran the command so that it would show the 1 TB drive's entry in /etc/fstab. I feel like we're focusing on the wrong thing here, though. This drive was functioning as a normal internal hard drive before the upgrade and now it's unreadable.

  4. #4
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    5,035

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Input/Output error usually means a hardware fail by the storage device.

    Look up how to run a SMART test on your storage hardware.

  5. #5
    Join Date
    Nov 2008
    Beans
    64
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Hmm. Makes sense. I bought it new in 2008, so it's possible it could be on its way out. I do have GRC's SpinRite, so hopefully running that on my hard drive will help.

  6. #6
    Join Date
    Jun 2014
    Beans
    7,912

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Is the drive recognized in the BIOS? What happened when you ran a filesystem check on it with fsck?

  7. #7
    Join Date
    Nov 2008
    Beans
    64
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Quote Originally Posted by dragonfly41 View Post
    If you revert to older LiveUSB Ubuntu 22.04 can you view the drive?
    Ah, good idea! I tried a LiveUSB Ubuntu 24.04 and I was able to read the disk, no problem.

    Quote Originally Posted by yancek View Post
    Is the drive recognized in the BIOS? What happened when you ran a filesystem check on it with fsck?
    BIOS definitely recognizes it. Here's the output from fsck:

    Code:
    $ sudo fsck /dev/sda1
    fsck from util-linux 2.40.2
    e2fsck 1.47.1 (20-May-2024)
    fsck.ext4: Input/output error while trying to open /dev/sda1
    
    The superblock could not be read or does not describe a valid ext2/ext3/ext4
    filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
     or
        e2fsck -b 32768 <device>

  8. #8
    Join Date
    Jun 2014
    Beans
    7,912

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    Did you get the same results when you ran the alternate commands suggested in the fsck output you posted?
    Seems odd it would mount and be accessible in an older version of Ubuntu and not the latest. Have you tried commenting out the entry in fstab for that partition and mounting it manually?

  9. #9
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    If you revert to older LiveUSB Ubuntu 22.04 can you view the drive?

  10. #10
    Join Date
    Nov 2008
    Beans
    64
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu doesn't recognize internal hard drive after update to 24.10

    I wasn't sure what that would do, and I didn't want to make any changes without understanding of how to undo them. Especially since it works just fine in 24.04.

Page 1 of 2 12 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
  •