İçeriğe atla
0
  • Ders Ara
  • Ana Sayfa
  • Kategoriler
    • All Categories
      • Individual Categories
    • Gruplar
    • Okunmamış 0
    • Güncel
    • Kullanıcılar
    • Hakkımızda
    • Öğrenci Fırsatları
    • Akademik Takvim
    • CV oluşturucu
    • IEU Timetable
    • Devamsızlık App
    • IEU GPA Hesaplayıcı
    • Niki Cüzdan
    • Ders Ara
    • Ana Sayfa
    • Kategoriler
      • All Categories
        • Individual Categories
      • Gruplar
      • 0 Okunmamış 0
      • Güncel
      • Kullanıcılar
      • Hakkımızda
      • Öğrenci Fırsatları
      • Akademik Takvim
      • CV oluşturucu
      • IEU Timetable
      • Devamsızlık App
      • IEU GPA Hesaplayıcı
      • Niki Cüzdan
      Daralt
      IEU Forum – İzmir Ekonomi Üniversitesi Öğrenci Topluluğu Platformu

      IEU Forum

      -- çevrimiçi
      1. Ana Sayfa
      2. Linux Questions
      3. Cannot mount network share to save my life

      Final Unicourse'tan Çalış, Yüksek Notu Garantile!

      %25 İndirim Kodu: FRM25
      Yükleniyor...
      Dersi İzle
      GÖRÜNTÜLEYENLER
      +36
      Premium Özellik
      Bu konuyu kimlerin görüntülediğini görmek için Premium üyelik gerekir.
      Premium'a Geç

      Vizesine Unicourse'tan Çalış, Yüksek Notu Garantile!

      A B C D Çıkmış Sorular Formül Kağıtları Konu Anlatımı Sınav İpuçları Örnek Sınav
      Dersi İzle
      YENİ ÖZELLİK

      Bi'Öğrenci Fırsatları
      Forum'da!

      Bi'Öğrenci ile artık forum üzerinden en güncel indirimlere, anlık fırsatlara ve avantajlı tekliflere ulaşabilirsin.

      FIRSATLARI KEŞFET
      Red Bull Basement
      SPONSORLU ETKİNLİK

      Fikrini Gerçeğe Dönüştür

      Projeni dünyaya göstermek için sahne hazır. Red Bull Basement başvuruları açık.

      Başvurunu Yap

      🎉 Foruma Yeni Özellik Geldi!

      Sizin için PDF toollarını getirdik!

      İncele ve Kullan

      Cannot mount network share to save my life

      Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux Questions
      linuxhelpselfhostmount
      4 İleti 2 Yayımlayıcılar 0 Bakış
      • En eskiden en yeniye
      • En yeniden en eskiye
      • En çok oylanan
        Cevap
        • Yeni başlık oluşturarak cevapla
        Cevaplamak için giriş yapın
        Bu başlık silindi. Sadece başlık düzenleme yetkisi olan kullanıcılar görebilir.
        • marighost@piefed.socialM This user is from outside of this forum
          marighost@piefed.socialM This user is from outside of this forum
          marighost@piefed.social
          yazdı Son düzenleyen:
          #1

          Hello Linux gang! Hopefully this is a quick one and I'll feel like a goober after. I am trying to mount a network share on a new VM. On my first VM, this seemed to work flawlessly. Here is the fstab entry for the working VM:
          //192.168.1.186/gilashare /home/marighost/gilashare cifs uid=1000,gid=1000,credentials=/home/marighost/.sharelogin,iocharset=utf8,file_mode=0777,dir_mode=0777,x-systemd.automount,_netdev 0 0

          The permissions for the .sharelogin are chmod'd to be 600.

          In the .sharelogin itself, I can assure you that my username and password are correct, however, my password does contain a semicolon, if that matters at all (it doesn't seem to for VM 1).

          I copied these over 1:1 into my new VM, and get the following error:

          mount: /home/marighost/gilashare: cannot mount //192.168.1.186/gilashare read-only. dmesg(1) may have more information after failed mount system call.

          So I check dmesg | less and see:

          [565649.948730] CIFS: enabling forcegid mount option implicitly because gid= option is specified  
          [565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare  
          [565649.950091] CIFS: VFS: cifs_mount failed w/return code = -13```  
          
          In searching for the solution for that return code (which doesn't really seem to map to a specific error), it seems like it's just "your password's wrong." But I can assure you that it isn't. `.sharelogin` on VM 2 has the same text and permissions as the file in VM 1. The fstab entries are identical. The mount points exist, each VM can see the share server and ping the IP.  
          
          I even tried mounting the share via the standard `mount` command with the following:  
          `sudo mount -t cifs //192.168.1.186/gilashare /home/marighost/gilashare -o username=marighost,password=[REDACTED]`  
          
          I mentioned earlier that my password contains a semicolon (;), which seems to effect Bash in ways I don't fully understand. I wrapped my password in the CLI with apostrophes (''), and the command takes, but nothing happens. Checking `dmesg` just shows `[565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare` with no errors, and the drive still does not mount.  
          
          I thank you for reading and taking the time to respond.
          I 1 Cevap Son cevap
          1
          • marighost@piefed.socialM marighost@piefed.social

            Hello Linux gang! Hopefully this is a quick one and I'll feel like a goober after. I am trying to mount a network share on a new VM. On my first VM, this seemed to work flawlessly. Here is the fstab entry for the working VM:
            //192.168.1.186/gilashare /home/marighost/gilashare cifs uid=1000,gid=1000,credentials=/home/marighost/.sharelogin,iocharset=utf8,file_mode=0777,dir_mode=0777,x-systemd.automount,_netdev 0 0

            The permissions for the .sharelogin are chmod'd to be 600.

            In the .sharelogin itself, I can assure you that my username and password are correct, however, my password does contain a semicolon, if that matters at all (it doesn't seem to for VM 1).

            I copied these over 1:1 into my new VM, and get the following error:

            mount: /home/marighost/gilashare: cannot mount //192.168.1.186/gilashare read-only. dmesg(1) may have more information after failed mount system call.

            So I check dmesg | less and see:

            [565649.948730] CIFS: enabling forcegid mount option implicitly because gid= option is specified  
            [565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare  
            [565649.950091] CIFS: VFS: cifs_mount failed w/return code = -13```  
            
            In searching for the solution for that return code (which doesn't really seem to map to a specific error), it seems like it's just "your password's wrong." But I can assure you that it isn't. `.sharelogin` on VM 2 has the same text and permissions as the file in VM 1. The fstab entries are identical. The mount points exist, each VM can see the share server and ping the IP.  
            
            I even tried mounting the share via the standard `mount` command with the following:  
            `sudo mount -t cifs //192.168.1.186/gilashare /home/marighost/gilashare -o username=marighost,password=[REDACTED]`  
            
            I mentioned earlier that my password contains a semicolon (;), which seems to effect Bash in ways I don't fully understand. I wrapped my password in the CLI with apostrophes (''), and the command takes, but nothing happens. Checking `dmesg` just shows `[565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare` with no errors, and the drive still does not mount.  
            
            I thank you for reading and taking the time to respond.
            I This user is from outside of this forum
            I This user is from outside of this forum
            irateanteater@sh.itjust.works
            yazdı Son düzenleyen:
            #2

            The easy first step is to just remove the semicolon from your password to see if that's actually the problem.

            marighost@piefed.socialM 1 Cevap Son cevap
            0
            • I irateanteater@sh.itjust.works

              The easy first step is to just remove the semicolon from your password to see if that's actually the problem.

              marighost@piefed.socialM This user is from outside of this forum
              marighost@piefed.socialM This user is from outside of this forum
              marighost@piefed.social
              yazdı Son düzenleyen:
              #3

              Changed the password on the share server to remove the semicolon. Rebooted the share server (which is also a VM), and updated the .sharelogin with the updated password. Saved, and just-in-case ran sudo systemctl daemon-reload (despite fstab not changing) and finally sudo mount -a. Same errors as mentioned in the OP, unfortunately.

              I 1 Cevap Son cevap
              0
              • marighost@piefed.socialM marighost@piefed.social

                Changed the password on the share server to remove the semicolon. Rebooted the share server (which is also a VM), and updated the .sharelogin with the updated password. Saved, and just-in-case ran sudo systemctl daemon-reload (despite fstab not changing) and finally sudo mount -a. Same errors as mentioned in the OP, unfortunately.

                I This user is from outside of this forum
                I This user is from outside of this forum
                irateanteater@sh.itjust.works
                yazdı Son düzenleyen:
                #4

                Some quick googling points to the possibility of the VM possibility defaulting to the wrong security type. You may need to add a "sec=_____" option to match whatever security type your share is using.

                1 Cevap Son cevap
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Kayıt Ol Giriş
                Cevap
                • Yeni başlık oluşturarak cevapla
                Cevaplamak için giriş yapın
                • En eskiden en yeniye
                • En yeniden en eskiye
                • En çok oylanan


                  Önerilen Başlıklar

                  • socialistvibes01@lemmy.mlS

                    Noctalia 5 Wayland Desktop Shell Is Now Officially Stable

                    Takip ediliyor Susturulmuş Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux linux
                    1
                    1 Oy
                    1 İleti
                    0 Bakış
                    Kimse yanıtlamadı
                  • H

                    current status of the web

                    Takip ediliyor Susturulmuş Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux linux
                    1
                    1 Oy
                    1 İleti
                    0 Bakış
                    Kimse yanıtlamadı
                  • C

                    Omarchy Linux Just Got $8 Million From Tech's Biggest Names

                    Takip ediliyor Susturulmuş Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux linux
                    1
                    1
                    1 Oy
                    1 İleti
                    0 Bakış
                    Kimse yanıtlamadı
                  • C

                    Multikernel Linux Releases First Public Kernel Tree Based on Linux 7.0

                    Takip ediliyor Susturulmuş Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux linux
                    1
                    1
                    1 Oy
                    1 İleti
                    0 Bakış
                    Kimse yanıtlamadı
                  • C

                    An amazing directory: /proc

                    Takip ediliyor Susturulmuş Konu Zamanlandı Sabitlendi Kilitli Taşındı Linux linux
                    1
                    1 Oy
                    1 İleti
                    0 Bakış
                    Kimse yanıtlamadı

                  Developed by Enes Uysal & Kadir Ay

                  6

                  Çevrimiçi

                  8.8k

                  Kullanıcı

                  1.9k

                  Konu

                  3.7k

                  İleti
                  • Giriş

                  • Hesabınız yok mu? Kayıt Ol

                  • Aramak için giriş yapın veya kaydolun
                  • İlk ileti
                    Son ileti