GNU/Linux >> LINUX-Kenntnisse >  >> Ubuntu

Cifs Fstab startet nicht beim Booten und Mounten -a funktioniert nicht wie erwartet?

Ich habe seltsame Probleme mit meinem CIFS-Laufwerk. Es wird beim Booten nicht gemountet und auch wenn das System gebootet hat, habe ich es erneut mit mount -a versucht, aber ohne Erfolg. Es wird jedoch mit dem Befehl mount -t gemountet und wenn ich diese nicht vorhandene Freigabe unmounte (siehe Code unten). Es scheint, dass Ubuntu verfolgt, dass es gemountet ist, wenn df und der eigentliche Ordner etwas anderes melden.

Dies ist auf einem Ubuntu 14.04 LTS-Server

Ich werde sagen, dass dies zu beginnen scheint, als ich diesem Server eine Bridge-Schnittstelle für KVM hinzufügte, also bin ich mir nicht sicher, ob dies die Ursache ist.

[email protected]:~$ sudo mount -a -vvv
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: UUID=4449ee44-4389-4aa0-b47b-6ef85b43b7da already mounted on /boot
mount: UUID=FEFA-B2F0 already mounted on /boot/efi
mount: //192.168.0.10/Public/public already mounted on /home/john/UN_RAID
nothing was mounted




[email protected]:~$ df
Filesystem                     1K-blocks      Used Available Use% Mounted on
/dev/mapper/Main--KVM--vg-root 222912116 116356924  95208864  55% /
none                                   4         0         4   0% /sys/fs/cgroup
udev                             8192876         4   8192872   1% /dev
tmpfs                            1641356      1156   1640200   1% /run
none                                5120         0      5120   0% /run/lock
none                             8206772         4   8206768   1% /run/shm
none                              102400         0    102400   0% /run/user
/dev/sda2                         241965     97760    131713  43% /boot
/dev/sda1                         523248      3468    519780   1% /boot/efi
/home/john/.Private            222912116 116356924  95208864  55% /home/john




[email protected]:~$ sudo umount /home/john/UN_RAID
umount: /home/john/UN_RAID: not mounted





[email protected]:~$ sudo mount -a -vvv
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: UUID=4449ee44-4389-4aa0-b47b-6ef85b43b7da already mounted on /boot
mount: UUID=FEFA-B2F0 already mounted on /boot/efi
mount: spec:  "//192.168.0.10/Public/public"
mount: node:  "/home/john/UN_RAID"
mount: types: "cifs"
mount: opts:  "guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777"
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//192.168.0.10/Public/public"
mount: external mount: argv[2] = "/home/john/UN_RAID"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,guest,iocharset=utf8,file_mode=0777,dir_mode=0777"
mount.cifs kernel mount options: ip=192.168.0.10,unc=\\192.168.0.10\Public,iocharset=utf8,file_mode=0777,dir_mode=0777,user=,prefixpath=public,pass=********
nothing was mounted



[email protected]:~$ df
Filesystem                      1K-blocks       Used  Available Use% Mounted on
/dev/mapper/Main--KVM--vg-root  222912116  116356924   95208864  55% /
none                                    4          0          4   0% /sys/fs/cgroup
udev                              8192876          4    8192872   1% /dev
tmpfs                             1641356       1156    1640200   1% /run
none                                 5120          0       5120   0% /run/lock
none                              8206772          4    8206768   1% /run/shm
none                               102400          0     102400   0% /run/user
/dev/sda2                          241965      97760     131713  43% /boot
/dev/sda1                          523248       3468     519780   1% /boot/efi
/home/john/.Private             222912116  116356924   95208864  55% /home/john
//192.168.0.10/Public/public   9523094052 5631232832 3891861220  60% /home/john/UN_RAID

So sieht es derzeit in meiner fstab-Datei aus.

//192.168.0.10/Public/public /home/john/UN_RAID cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

Akzeptierte Antwort:


Ubuntu
  1. Wie starte ich Vnc Server beim Booten?

  2. Ich brauche den Pendrive, um in Ubuntu zu booten, wie kann ich das korrigieren und von der Festplatte booten?

  3. Kabelgebundenes Internet funktioniert nicht unter Ubuntu 12.04?

  4. Postfix und Spamassassin starten nach dem Ubuntu 16.04-Upgrade nicht beim Booten?

  5. Dualboot von Windows 8 und Ubuntu 12.04?

Dual-Boot Ubuntu Linux und Windows 7

So starten Sie den Dienst beim Booten unter Ubuntu 22.04

Das Installationsprogramm verpasst einen Schritt und lässt mich keine Partition mounten, während ich Ubuntu Budgie 18.04.3 installiere?

Die Snap-Installation startet nicht?

Warum funktioniert Cryptkeeper nicht in 12.04?

Wie registriere ich den Dateisystemtyp FUSE mit mount(8) und fstab?