You must log in or register to comment.
Here’s how to mount an nfs share:
#cat /etc/systemd/system/mnt.data.mount [Unit] Description=nfs mount script [Mount] What=192.168.0.30:/mnt/tank/Media Where=/mnt/data Type=nfs4 [Install] WantedBy=remote-fs.target
Googling an issue and copy pasting the first terminal code you see on the first result.
Something that works fairly well for me:
- Make a copy of the file you’re working
sudo copy /etc/fstab /etc/fstab.bak
- Ask a particular question to ChatGPT
How do I mount a samba share in Ubuntu Server 22.04?
- Read through the commands and try them out. ChatGPT is great for stuff like this, especially with follow-up questions, and giving you detailed info on error messages.
- If you fubar, then simply restore your backup file and try again.
- ChatGPT gives bad command, system fails to boot
- Drops into emergency shell
- Ask ChatGPT how to fix fstab from emergency shell
- Goto 1), rinse and repeat
You can also replace ChatGPT with Devin and achieve the same results*
*Your mileage may vary depending on the quality of your Devin
- Make a copy of the file you’re working
Me, trying to create a compressed tar archive
Compress Zee Vucking Files: tar -czvf out.tar files.