Einhängen von meinem NAS-Laufwerk

More
2 years 8 months ago #294627 by Yoshyluebeck
Hallo zusammen,
Ich möchte gerne von meinem LinuxCnc Rechner auf mein Nas zugreifen.
Wenn ich das Laufwerk mounte kann ich darauf zugreifen.
sudo mount -t cifs //192.168.178.62/4tb /mnt/nas -o username=rainer,password=4711,uid=$(id -u),gid=$(id -g),file_mode=0777,dir_mode=0777

Wenn ich folgendes in die fstab eingebe kann ich nicht auf das Nas Laufwerk zugreifen. Ich bin Linux Anfänger und Linux ist schon eine Umstellung für mich!

# NAS-Laufwerk
//192.168.178.62/4tb /mnt/nas cifs vers=3.0,username=rainer,password=4711,uid=$(id -u),gid=$(id -g),file_mode=0777,dir_mode=0777 0 0

Ich habe folgendes installiert
Code:
sudo apt update sudo apt install cifs-utils  

Please Log in to join the conversation.

More
2 years 8 months ago #294634 by tommylight
"Mount" fehlt beim fstab ?!?!

Please Log in to join the conversation.

More
2 years 8 months ago #294636 by spicer
In fstab steht kein mount Befehl. Das hat Yosh richtig gemacht!

Please Log in to join the conversation.

More
2 years 8 months ago #294637 by tommylight
Ich wil sehen was steht im meinem fstab spater, aber ich nutze NFS.
Danke.

Please Log in to join the conversation.

More
2 years 8 months ago #294638 by spicer
In meiner fstab (Linux Mint Desktop) steht:
//192.168.1.2/dokumente /home/daniel/dokumente cifs defaults,nofail,uid=1000,credentials=/root/.smbcredentials
Wobei in .smbcredentials User und Passwort stehn.
Das NAS ist ein Synology und das Unterverzeichnis ist "dokumente".

Please Log in to join the conversation.

More
2 years 8 months ago #294641 by Tchefter
Hi Yosh,

ich habe das explizit genau nach dieser Anleitung gemacht und funktioniert!
Evtl. hilft dir das weiter

Please Log in to join the conversation.

More
2 years 8 months ago #294690 by Yoshyluebeck
Hallo liebe Leute,
Ich habe es hinbekommen. Ich habe den Eintrag für die Fstab angepasst und jetzt funktionier es einwandfrei! Ich habe diesen Teil entfernt.

uid=$(id -u),gid=$(id -g)

# NAS-Laufwerk
//192.168.178.62/4tb /mnt/nas cifs vers=3.0,username=rainer,password=4711,file_mode=0777,dir_mode=0777 0 0

# NAS-Laufwerk
//192.168.178.62/4tb /mnt/nas cifs vers=3.0,username=rainer,password=4711,uid=$(id -u),gid=$(id -g),file_mode=0777,dir_mode=0777 0 0

Please Log in to join the conversation.

More
2 years 8 months ago #294695 by tommylight
Dise sind fuhr die NFS shares im meinen fstab:
Code:
#share on NAS 192.168.1.252:/mnt/RaidZ /home/cnc/SSD5X240 nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0 192.168.1.252:/mnt/hdd3x500 /home/cnc/HDD3X500 nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0

Please Log in to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum