Announcement

Collapse
No announcement yet.

partition not mounting occasionally

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] partition not mounting occasionally

    Intermittently, my swap partition will fail to mount during a restart. Since it never gets used I haven't worried about it. Then I remembered that /home is on the same physical drive. What's is the best way to test the drive? If a destructive test is needed I can copy the date elsewhere. The advantage of multiple drives. I have copies of all the data, but it taks a long time to copy from the external usb drive or ftp from other machine. If drive is going out, I'll just use it for testing betas or something

    #2
    Tried GSmartControl, however, it cannot identify the hard drives. It does identify the bd-writer, which works fine. Well, haven't written a BD, but does fine with DVD and CD. Will continue the qiest for a good program and check back here now and then

    Comment


      #3
      when the swap fails to mount at boot ,,,,,will it mount if you do a
      Code:
      sudo mount -a
      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        It didn't. I checked and found the UUID was wrong. How it changed, I don't know. Fixed it in fstab. it still doesn't mount though. Or ar least mount doesn't show any difference after running mount -a. Looked through mount options. Is there a way to make it just show mounted partitions and skip everything else?

        here is mount output in case you see something
        Code:
        root@dadspc:/etc# mount -a
        root@dadspc:/etc# mount 
        /dev/sda1 on / type ext4 (rw,errors=remount-ro)
        proc on /proc type proc (rw,noexec,nosuid,nodev)
        sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
        none on /sys/fs/cgroup type tmpfs (rw)
        none on /sys/fs/fuse/connections type fusectl (rw)
        none on /sys/kernel/debug type debugfs (rw)
        none on /sys/kernel/security type securityfs (rw)
        udev on /dev type devtmpfs (rw,mode=0755)
        devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
        tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
        none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
        none on /run/shm type tmpfs (rw,nosuid,nodev)
        none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
        none on /sys/fs/pstore type pstore (rw)
        /dev/sdc5 on /home type ext4 (rw)
        binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
        systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
        gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=virgil)
        blkid
        Code:
        /dev/sda1: UUID="5719230d-96bb-4dfc-a2de-2560207fc3f9" TYPE="ext4" 
        /dev/sdb1: UUID="35d155a4-b661-41aa-90da-fe430fe82941" TYPE="ext4" 
        /dev/sdb2: UUID="6a60888e-21c2-41b4-99c4-f5d2d5633328" TYPE="ext4" 
        /dev/sdc1: UUID="e1739fe2-6a3e-4337-a4d6-4775b2855b1a" TYPE="swap" 
        /dev/sdc5: UUID="9c9bdbba-5ce8-42e6-b591-9d7ddbeb31d9" TYPE="ext4"
        sdb1 and sdb2 are other linux installs. Only thing shared between them is swap. sda1 Kubuntu 14.04, sdc5 = /home

        fstab
        Code:
        # / was on /dev/sda1 during installation
        UUID=5719230d-96bb-4dfc-a2de-2560207fc3f9 /               ext4    errors=remount-ro 0       1
        # /home was on /dev/sdc5 during installation
        UUID=9c9bdbba-5ce8-42e6-b591-9d7ddbeb31d9 /home           ext4    defaults        0       2
        # swap was on /dev/sdc1 during installation
        Hopefully enough info. Or maybe too much (sorry)

        Comment


          #5
          Originally posted by vsreeser View Post
          It didn't. I checked and found the UUID was wrong. How it changed, I don't know. Fixed it in fstab.
          fstab
          Code:
          # / was on /dev/sda1 during installation
          UUID=5719230d-96bb-4dfc-a2de-2560207fc3f9 /               ext4    errors=remount-ro 0       1
          # /home was on /dev/sdc5 during installation
          UUID=9c9bdbba-5ce8-42e6-b591-9d7ddbeb31d9 /home           ext4    defaults        0       2
          [COLOR=#ff0000]# swap was on /dev/sdc1 during installation[/COLOR]
          Hopefully enough info. Or maybe too much (sorry)
          their is no mount info below the line in red ,,,,,,,,it should look like this

          Code:
          # swap was on /dev/sdc1 during installation
          UUID=e1739fe2-6a3e-4337-a4d6-4775b2855b1a none            swap    sw              0       0
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Originally posted by vinnywright View Post
            their is no mount info below the line in red ,,,,,,,,it should look like this

            Code:
            # swap was on /dev/sdc1 during installation
            UUID=e1739fe2-6a3e-4337-a4d6-4775b2855b1a none            swap    sw              0       0
            Bad copy/paste. That is how it looks. I suppose I'll get an error if I ever reach the point where the swap is needed. haven't been over 40% ram usage yet

            Comment


              #7
              Check the file /etc/initramfs-tools/conf.d/resume. The UUID in this file should be the same as the UUID of your swap partition. If it isn't, then edit the file and supply the correct UUID. Then rebuild your initramfs:
              Code:
              sudo update-initramfs -u -k all

              Comment


                #8
                Originally posted by SteveRiley View Post
                Check the file /etc/initramfs-tools/conf.d/resume. The UUID in this file should be the same as the UUID of your swap partition. If it isn't, then edit the file and supply the correct UUID. Then rebuild your initramfs:
                Code:
                sudo update-initramfs -u -k all
                That worked, the UUID in resume was wrong. Changed it

                Comment

                Working...
                X