Hallo zusammen,
ich verwende zwei Raspberry Pi´s. Einen "alten" [1] und einen neuen 3B+[2]. Ich möchte auf beiden dauerhaft NAS Laufwerke mounten. Bekomme das aber leider nicht hin. Ich habe auch schon die /etc/fstab probiert zu bearbeiten, aber so richtig will es nicht gelingen.
[1]
pi@raspyfhem ~ $ uname -r
4.1.19+
pi@raspyfhem ~ $ cat /etc/issue
Raspbian GNU/Linux 7 \n \l
less /etc/fstab
/dev/mmcblk0p5 /boot vfat defaults 0 2
/dev/mmcblk0p6 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on,
# use dphys-swapfile swap[on|off] for that
#//192.168.115.1/FRITZ.NAS/ /mnt/fritz/ cifs defaults,uid=1000,username=raspbian,password=geheim
//192.168.115.4/raspbian/ /mnt/nas/ cifs defaults,uid=1000,username=raspbian,password=geheim
//192.168.115.1/FRITZ.NAS /mnt/nasfritz/ cifs defaults,uid=1000,user,credentials=/home/pi/.nasfritz
Alles anzeigen
[2]
pi@raspberrypi:~ $ uname -r
4.14.98-v7+
pi@raspberrypi:~ $ cat /etc/issue
Raspbian GNU/Linux 9 \n \l
less /etc/fstab
<U+200B>proc /proc proc defaults 0 0
PARTUUID=fcff5ec3-01 /boot vfat defaults 0 2
PARTUUID=fcff5ec3-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
#//192.168.115.4/raspbian/ /mnt/nas cifs vers=3.0,defaults,uid=1000,user,credentials=/home/pi/.nas
//192.168.115.1/FRITZ.NAS /mnt/nasfritz cifs defaults,uid=1000,user,credentials=/home/pi/.nasfritz
//192.168.115.4/raspbian/ /mnt/nas/ cifs defaults,uid=1000,username=raspbian,password=raspbian2019//192.168.115.4/raspbian/ /mnt/nas/ cifs defaults,uid=1000,username=raspbian,password=geheim
Alles anzeigen
Nach dem Start findet [1] 192.168.115.4 automatisch und mountet es auch korrekt. Aber 192.168.115.1 (Fritz!Box) nicht.
Nach dem Start findet [2] 192.168.115.1 (Fritz!Box) automatisch und mountet es auch korrekt. Aber 192.168.115.4 nicht.
[1]
pi@raspyfhem ~ $ sudo mount -a
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[2]
pi@raspberrypi:~ $ sudo mount -a
mount: /etc/fstab: parse error at line 9 -- ignored
mount: proc is already mounted or /proc busy
ändert daran leider auch nichts.
Auf [2] habe ich in der Benutzeroberfläche auch warten auf Netzwerk aktiviert.
[1] ist per WLan verbunden und [2] per Lan
Gruß
Micha