Announcement

Collapse
No announcement yet.

problem with fstab

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

    problem with fstab

    Apparently there is a problem on line 14 of my fstab which is:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda3
    UUID=e38270b7-e9ca-4bb7-b939-fb97471395d1 / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda2
    UUID=cd446e71-9e00-4582-baf0-bb1a3b17af37 /home ext3 relatime 0 2
    # /dev/sda5
    UUID=2af623e6-e190-4690-b2e5-e7fdf3564996 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    /dev/sda6 /DATA ext3 defaults 1 2

    Could someone tell me what problem is so I can correct?


    #2
    Re: problem with fstab

    Specifying by a line number (14) is problematic. I count only 13 lines. I'll assume the issue is with the last entry. Is that the case? You are having problems with /dev/sda6?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: problem with fstab

      It must be that last line.

      Review this:

      http://ubuntuforums.org/showthread.p...ighlight=fstab

      "Boot by UUID" is recommended. Use
      Code:
      sudo blkid
      to determine the UUID that goes with /dev/sda6. Reasonable options would be like these:

      UUID=e4a45430-1c4a-4432-91db-265cfe7dd645 /DATA ext3 auto,users,rw,exec,relatime 0 2
      But the UUID number needs to be yours, of course.

      Comment


        #4
        Re: problem with fstab

        I appear to have no trouble accessing /dev/sda6 so I think I will leave fstab alone unless you think otherwise.

        Comment


          #5
          Re: problem with fstab

          Do you really have a directory called "/DATA" directly under root? Are you sure that's wise?

          Comment


            #6
            Re: problem with fstab

            It also has a "1" dump option, which is probably not expected by the kernel.

            Probably a better arrangement would be to make a directory under /mnt or /media (you can choose) and mount it there.
            Code:
            sudo mkdir /mnt/DATA
            Then use kate (with kdesudo prefix) to edit /etc/fstab. Make it like this:
            UUID=e4a45430-1c4a-4432-91db-265cfe7dd645 /mnt/DATA ext3 auto,users,rw,exec,relatime 0 2
            except where the red numbers are, you need to paste in your own UUID from /dev/sda6, after you get it with
            Code:
            sudo blkid
            After you have edited and saved /etc/fstab, remount your filesystems with
            Code:
            sudo mount -a
            and verify that it is mounted with

            Code:
            sudo mount

            Comment


              #7
              Re: problem with fstab

              ASKKRIEGER: What is wrong with /DATA in /?

              Comment


                #8
                Re: problem with fstab

                Originally posted by ahurd
                I appear to have no trouble accessing /dev/sda6 so I think I will leave fstab alone unless you think otherwise.
                Wha? Did you, or did you not have a problem, as stated in your OP?
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: problem with fstab

                  The problem was only that in booting it reported a prob with fstab. I have checked and found no problem in accessing /dev/sda6 in spite of the reported problem with fstab.

                  Comment


                    #10
                    Re: problem with fstab

                    What is wrong with /DATA in /?
                    Nothing if everything works and you never make a mistake. If on the other hand, you are mortal, a mistake that might just leave some junk (or erase some junk) in the /media/ or even in the /home/ahurd/ folder is messing up something in the / folder. I know which option I'd prefer.

                    Comment


                      #11
                      Re: problem with fstab

                      Many thanks. Can I have /DATA appear in / but have a link to a subdirectory /DATA in /media. I like being able to see /DATA in / since it is the main repository of data.

                      Comment


                        #12
                        Re: problem with fstab

                        That seems like a good idea to me.

                        Comment


                          #13
                          Re: problem with fstab

                          Thanks so much.

                          Comment

                          Working...
                          X