Announcement

Collapse
No announcement yet.

/home: waiting for /dev/disk/by-uuid STILL stops a clean boot

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

    /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

    OK 1 in 5 boots is successful.

    I get the above message sometimes multiple times during a boot. It is not a hardware error, this system was fine under the previous install, and boots to windows without issue.

    blah@blah:~$sudo blkid
    /dev/sda1: UUID="5EFE92117E8C3E78" LABEL="Windows" TYPE="ntfs"
    /dev/sda5: UUID="96CC1704CC16DE75" LABEL="Swap" TYPE="ntfs"
    /dev/sda6: UUID="B030260A3025D85C" LABEL="Temp" TYPE="ntfs"
    /dev/sda7: TYPE="swap"
    /dev/sda8: LABEL="root" UUID="74b99dff-b914-473f-a99d-136774c2de04" TYPE="reiserfs"
    /dev/sda9: LABEL="usr/local" UUID="ad51a4e4-136f-4dcc-b63a-1a16503eaf24" TYPE="reiserfs"
    /dev/sda10: LABEL="var" UUID="7cea3db3-b2a6-404b-ba63-dda339acc932" TYPE="reiserfs"
    /dev/sda11: LABEL="tmp" UUID="f156f8f7-9156-4b4a-8553-196b59b6a687" TYPE="reiserfs"
    /dev/sda12: LABEL="home" UUID="cdb6aeaf-dfdd-4606-a776-2b67909e5b8d" TYPE="reiserfs"
    /dev/sda13: UUID="F474764674760B9C" LABEL="Games" TYPE="ntfs"
    /dev/sda14: LABEL="DROP ZONE" UUID="A847-BCC0" TYPE="vfat"
    /dev/sda15: UUID="9E880E23880DFB13" LABEL="Data" TYPE="ntfs"
    /dev/sda16: UUID="8A0C12C10C12A7E9" LABEL="Music" TYPE="ntfs"
    /dev/sda17: LABEL="boot" UUID="1b373167-4440-405b-adb4-4d5f8c9c9b97" TYPE="reiserfs"

    blah@blah:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda8 during installation
    UUID=74b99dff-b914-473f-a99d-136774c2de04 / reiserfs defaults 0 1
    # /boot was on /dev/sda17 during installation
    UUID=1b373167-4440-405b-adb4-4d5f8c9c9b97 /boot reiserfs notail 0 2
    # /home was on /dev/sda12 during installation
    UUID=cdb6aeaf-dfdd-4606-a776-2b67909e5b8d /home reiserfs defaults 0 2
    # /mnt/windows/C was on /dev/sda1 during installation
    #UUID=5EFE92117E8C3E78 /mnt/windows/C ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /mnt/windows/D was on /dev/sda5 during installation
    #UUID=96CC1704CC16DE75 /mnt/windows/D ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /mnt/windows/E was on /dev/sda6 during installation
    #UUID=B030260A3025D85C /mnt/windows/E ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /mnt/windows/F was on /dev/sda13 during installation
    #UUID=F474764674760B9C /mnt/windows/F ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /mnt/windows/G was on /dev/sda14 during installation
    UUID=A847-BCC0 /mnt/windows/G vfat utf8,umask=007,gid=46 0 0
    # /mnt/windows/H was on /dev/sda15 during installation
    #UUID=9E880E23880DFB13 /mnt/windows/H ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /mnt/windows/I was on /dev/sda16 during installation
    #UUID=8A0C12C10C12A7E9 /mnt/windows/I ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    # /tmp was on /dev/sda11 during installation
    UUID=f156f8f7-9156-4b4a-8553-196b59b6a687 /tmp reiserfs defaults 0 2
    # /usr/local was on /dev/sda9 during installation
    UUID=ad51a4e4-136f-4dcc-b63a-1a16503eaf24 /usr/local reiserfs defaults 0 2
    # /var was on /dev/sda10 during installation
    UUID=7cea3db3-b2a6-404b-ba63-dda339acc932 /var reiserfs defaults 0 2
    /dev/sda7 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    blah@blah:~$ sudo fdisk -lu

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x95aa95aa

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 40566959 20283448+ 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 40580190 156296384 57858097+ f W95 Ext'd (LBA)
    /dev/sda5 41126463 43167599 1020568+ 7 HPFS/NTFS
    /dev/sda6 43167663 47416319 2124328+ 7 HPFS/NTFS
    /dev/sda7 47416383 49517999 1050808+ 82 Linux swap / Solaris
    /dev/sda8 49518063 62107289 6294613+ 83 Linux
    /dev/sda9 62113023 72606239 5246608+ 83 Linux
    /dev/sda10 72606303 74707919 1050808+ 83 Linux
    /dev/sda11 74707983 76809599 1050808+ 83 Linux
    /dev/sda12 76809663 89374319 6282328+ 83 Linux
    /dev/sda13 89374383 116635679 13630648+ 7 HPFS/NTFS
    /dev/sda14 116648028 120824864 2088418+ b W95 FAT32
    /dev/sda15 120839103 137622239 8391568+ 7 HPFS/NTFS
    /dev/sda16 137622303 156295439 9336568+ 7 HPFS/NTFS
    /dev/sda17 40580316 41126399 273042 83 Linux

    Partition table entries are not in disk order

    //-----------
    The last warning has always been there btw, I had to expand the size of the boot partition a long time ago.
    Never been an issue before.

    This is the weirdest distro! First time ever my broadcom chip worked ootb (this is an HP nx6125 with broadcom wifi), yet it cant boot 80% of the time, and every 45 minutes just freezes up.

    Any help much appreciated, I 'm getting desperate!!!



    #2
    Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

    I don't see anything fishy, have you tried specifying that particular partition the old way in fstab?

    Code:
    /dev/sda12 /home      reiserfs defaults    0    2
    I suspect it's some bug in the reiserfs support in karmic, similar to this one:
    http://ubuntuforums.org/showthread.php?t=1170480

    Hope this works!

    Comment


      #3
      Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

      Havent tried that, largely cos it can be several different partitions that have the issue one after another.

      Did find a work 'through' process though.

      If I hit esc, drop to the prompt I can do:-

      umount -a
      umount -a

      (have to do it twice to properly unmount everything - why?)

      fsck

      Then respond with Yes on every file system it checks, then it always boots OK after a ctrl-D back into the boot process.

      This is odd, anything like that before used to fix itself. Now it seems a shutdown can leave no errors but not umount the drives properly always, and then the boot cant fix them automatically. Point to note, I have never seen this version manage to automatically attempt to fix the filesystems (very obvious in reiserfs when this is happening). Could that be broken?

      It certainly doesnt seem connected to the other issue, this one is sporadic for a start. With as many resierfs partitions as I have I'd never mount anything if that were the case, but as I said about 2 out of 5 boots gets all the way through without a problem.

      Comment


        #4
        Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

        I think you are on the right track. Still, there is a chance that at mount time some partitions are not found by UUID hence not checked, I would definitely try my suggestion, at least with /home, and go from there ... keep in mind that the init scripts were changed recently in ubuntu (http://upstart.ubuntu.com/), and there is a chance there are still some things off. You may want to report this in launchpad, too!

        Comment


          #5
          Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

          I'm thinking you may just have to meney partition's on that drive .....check out this....... figure D-7 and the caption under it.

          http://www.redhat.com/docs/manuals/e...artitions.html

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

            Interesting read, however this partition table has worked fine for years with a wide variety of distros, some Mandrake, some Debian, some (k)ubuntu. Why would it be now that there is an issue?

            Also given the size of drives these days, and the multibooting options, 12 partitions seems a paltry number to me, and a major flaw IMO.

            Comment


              #7
              Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

              Originally posted by lmilano
              I think you are on the right track. Still, there is a chance that at mount time some partitions are not found by UUID hence not checked, I would definitely try my suggestion, at least with /home, and go from there ... keep in mind that the init scripts were changed recently in ubuntu (http://upstart.ubuntu.com/), and there is a chance there are still some things off. You may want to report this in launchpad, too!
              Cheers for the link!

              That's exactly what I've been looking for. If I read through that I may just manage to get to the bottom of this one. Or at least ask the right questions

              In the meantime I will have a look at swapping out the fstab for one using old stylee paths.

              Comment


                #8
                Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                Here are a couple of useful links for hard drive size and partitioning questions:

                http://www.dewassoc.com/kbase/hard_d...e_barriers.htm

                http://www.pcguide.com/ref/hdd/file/...titions-c.html

                The maximum number of partitions (primary + extended) is 24, so you're OK there.

                reiserfs was once the best performing filesystem available for Linux, but it is suffering badly from lack of maintenance (several years now). As the Linux kernel continues to be developed, reiserfs becomes an ever less desirable filesystem choice. I'm having good luck with ext4, and jfs on my 64-bit system. If you're conservative, you can stick with ext3, but I would not advise clinging to reiserfs if you value your data.

                Comment


                  #9
                  Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                  Originally posted by lmilano
                  I think you are on the right track. Still, there is a chance that at mount time some partitions are not found by UUID hence not checked, I would definitely try my suggestion, at least with /home, and go from there ... keep in mind that the init scripts were changed recently in ubuntu (http://upstart.ubuntu.com/), and there is a chance there are still some things off. You may want to report this in launchpad, too!
                  OH NO!!!

                  Tried reverting fstab to old style stuff for / and /home

                  Turns out that was a BIG mistake. Machine now never boots. I saved a copy of the original and used the resue disk to replace what I'd done, and guess what, it still never boots wtf!

                  This is just getting worse and worse now

                  Any suggestions before I go distro hunting for something current that will boot on my system and cope with my crappy Broadcom chipset?

                  Comment


                    #10
                    Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                    Originally posted by dibl
                    Here are a couple of useful links for hard drive size and partitioning questions:

                    http://www.dewassoc.com/kbase/hard_d...e_barriers.htm

                    http://www.pcguide.com/ref/hdd/file/...titions-c.html

                    The maximum number of partitions (primary + extended) is 24, so you're OK there.

                    reiserfs was once the best performing filesystem available for Linux, but it is suffering badly from lack of maintenance (several years now). As the Linux kernel continues to be developed, reiserfs becomes an ever less desirable filesystem choice. I'm having good luck with ext4, and jfs on my 64-bit system. If you're conservative, you can stick with ext3, but I would not advise clinging to reiserfs if you value your data.
                    Yeah I need to move on from reiserfs, but unfortunately when I dabbled in ext3 it was terribly slow, I mean just a huge drop off compared to reiser. Have they fixed that now?

                    Comment


                      #11
                      Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                      This is pretty much the classic Linux filesystem benchmarking test:

                      http://linuxgazette.net/122/TWDT.html#piszcz

                      ext3 is a bit slower than reiserfs for some usage cases. Some like XFS, which did seem fast to me, but don't use it for the root filesystem, only use it for data. I like jfs for my 64-bit desktop -- jfs is the only native 64-bit Linux filesystem. ext4 has been working fine here for 6 months or more. I would encourage you to use all those partitions for some testing of your own.

                      Comment


                        #12
                        Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                        Had the same problem. Don't know if the cause is the same though.

                        On upgrading to KK I was getting boot message that the boot was waiting on '/home' which was on a separate partition.

                        The boot message was occurring once in a while at first and then coming more often. Finally, '/home' couldn't be mounted during boot.

                        Turned out that some partitions were being mounted previous to '/home' on a hard disk that was failing.

                        Windows Vista never saw the problem because the failing disk had a fat32 partition which was working and all the rest was Linux file systems as is '/home'. Windows just ignored all of the failing Linux file system partitions, so never spotted anything wrong with the hard disk.

                        Finally had the shop run a disk analysis on all the Hard disks and that spotted the failing hard disk. Replaced the hard disk and everything worked again. I think there is disk analysis s/w available. It might be worthwhile to get some and run against your hard disks.

                        Don't know why the problem showed up right after the KK installation. Maybe the problem was there all along and something in KK was finding it, maybe the fstab mount order got changed, maybe the disk picked that time to start failing, maybe .... ??

                        Comment


                          #13
                          Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                          Quite frankly the proposition was only to use the old format for /home, your / was being read correctly. Anyway, sorry it didn't work! Ext4 is certainly fast, if you search for articles in phoronix for instance you'll see it is overall very solid performance wise (some other fs can beat it here or there, but overall it's always at the top or very close in most tests).

                          Comment


                            #14
                            Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                            OK got it back via recovery mode.

                            Dont know whats going on here at all. This is currently the flakiest any distro has ever been on this machine.

                            Could be a failing harddrive I suppose. Any of you know of any more robust hard drive testing software than comes as standard in windows?

                            A Surface Test reports no errors at all on any partition (inc linux ones).

                            Really grasping at straws here.

                            I upgraded to the latest kernel, see if that behaves any better with booting, of course 2 minutes into my first log on I had a hard X crash (lovely stripy pattern on the screen) - thats nice!

                            Any body got any more suggestions around boot order, or is the general consensus that reiserfs is effectively deprecated and I'm not going to get any joy till I get away from it?

                            Comment


                              #15
                              Re: /home: waiting for /dev/disk/by-uuid STILL stops a clean boot

                              Originally posted by 51m0n

                              of course 2 minutes into my first log on I had a hard X crash
                              That raises the possibility that there's more than a hard drive issue here ...

                              Did you boot the Live CD and test the hardware a bit with it? Networking, video, stuff like that? It has happened in the past that a failing hard drive that Windows was happy to live with showed up as problematic in Linux, so you might consider a little hardware testing, beyond hdd surface test. memtest86 run overnight would be a good start, IMHO.

                              Comment

                              Working...
                              X