• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Problem mounted file system (permission denied) [SOLVED]

Scheduled Pinned Locked Moved Solved
FOG Problems
4
17
17.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Seydoo
    last edited by May 21, 2015, 7:31 AM

    .mntcheck is present in /images and /images/dev (i uses the touch command as explain in wiki) but there’s still the message
    vi /etc/export give me this :

    /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
    /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)
    /storage/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
    /storage/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)

    (I just add /storage line and keep the 2 1st lines)

    1 Reply Last reply Reply Quote 0
    • S
      Slowave
      last edited by May 21, 2015, 7:42 AM

      Beast question:
      The user in the “storage Management” is the same user that have the permission ?

      1 Reply Last reply Reply Quote 0
      • S
        Seydoo
        last edited by May 21, 2015, 7:45 AM

        here are the right on /images in /storage

        drwxrwxrwx 4 root root 4096 21 mai 09:29 images
        and for /dev in /images :
        drwxrwxrwx 2 root root 4096 21 mai 09:29 dev

        In storage management the user is default create by fog (username fog)

        1 Reply Last reply Reply Quote 0
        • S
          Slowave
          last edited by Slowave May 21, 2015, 1:53 AM May 21, 2015, 7:52 AM

          Can you just try to put the user root in “Storage Management” and test the upload ?

          And on your server:

          ls -laR /images

          1 Reply Last reply Reply Quote 0
          • T
            TheKoR
            last edited by May 21, 2015, 8:07 AM

            Change /etc/export to :

            /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
            /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)
            /storage/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3,)
            /storage/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4,)

            Ubuntu 13.10 - Fog 1.3.0
            XEON E5630 - 16 Go - 6To raid 5
            Best download : 22Go in 23 sec
            Avg rate : 4.5G/min on 20 unicasts at same time

            1 Reply Last reply Reply Quote 0
            • S
              Seydoo
              last edited by May 21, 2015, 8:15 AM

              @TheKoR said:

              Change /etc/export to :

              /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
              /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)
              /storage/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3,)
              /storage/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4,)

              Done but problem still exist
              do i have to del /images lines and just keep /storage lines ?

              Here is a recap of my tree :

              /images
              /images/dev
              /images/postdownloadscripts
              /storage
              /storage/images
              /storage/images/dev
              /storage/images/postdownloadscripts

              In storage management image path is /storage/images

              1 Reply Last reply Reply Quote 0
              • S
                Seydoo
                last edited by May 21, 2015, 8:59 AM

                Something strange in the error is this section :

                Checking Mounted File System …mounting x.x.x.:/folder/images/dev on /images failed : permission denied

                in wiki the “mounting on” isn’t present, could it be the real problem and if yes how can i change this ?

                1 Reply Last reply Reply Quote 0
                • T
                  TheKoR
                  last edited by May 21, 2015, 9:17 AM

                  DOn’t remove line int fstab

                  In your webgui : Image Path : /storage/images ? and good Management Username /password

                  Ubuntu 13.10 - Fog 1.3.0
                  XEON E5630 - 16 Go - 6To raid 5
                  Best download : 22Go in 23 sec
                  Avg rate : 4.5G/min on 20 unicasts at same time

                  1 Reply Last reply Reply Quote 0
                  • C
                    ch3i Moderator @Seydoo
                    last edited by May 21, 2015, 9:23 AM

                    @Seydoo said:

                    /storage

                    Hi,

                    Your /storage is a local storage or a NFS mount from another system (like Other server, NAS, …)

                    Regards,
                    Ch3i.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Seydoo
                      last edited by Seydoo May 21, 2015, 3:30 AM May 21, 2015, 9:27 AM

                      @ch3i said:

                      @Seydoo said:

                      /storage

                      Hi,

                      Your /storage is a local storage or a NFS mount from another system (like Other server, NAS, …)

                      Regards,
                      Ch3i.

                      My /storage is a local storage with all permission (chmod 777)

                      I just see in my webgui in image management a curious message :
                      I juste have 1 image created
                      image name : my image name
                      image size : ON CLIENT : 0.00iB
                      Image Size : ON SERVER : FOGFTP : Login failed. Host x.x.x.x, Username: Fog, Password: password (defautlt i didnt touch it for the moment), Error: ftp_login(): Login incorrect

                      C 1 Reply Last reply May 21, 2015, 9:29 AM Reply Quote 0
                      • C
                        ch3i Moderator @Seydoo
                        last edited by May 21, 2015, 9:29 AM

                        @Seydoo Have you the .mntcheck in /storage/images and /storage/images/dev ?

                        S 1 Reply Last reply May 21, 2015, 9:30 AM Reply Quote 0
                        • S
                          Seydoo @ch3i
                          last edited by May 21, 2015, 9:30 AM

                          @ch3i said:

                          @Seydoo Have you the .mntcheck in /storage/images and /storage/images/dev ?

                          y es I have it (created with touch command)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Seydoo
                            last edited by May 21, 2015, 10:22 AM

                            My problem is solve, due to a bad password (user fog on linux with not the same password than fog tftp user)
                            tanks to ch3i for his help

                            C 1 Reply Last reply May 21, 2015, 10:26 AM Reply Quote 1
                            • C
                              ch3i Moderator @Seydoo
                              last edited by May 21, 2015, 10:26 AM

                              @Seydoo said:

                              My problem is solve, due to a bad password (user fog on linux with not the same password than fog tftp user)
                              tanks to ch3i for his help

                              The problem was that you have a password policy that does not accept the password “password”.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              1 / 1
                              • First post
                                13/17
                                Last post

                              257

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project