mount

Files created by user in a mounted partition show root as owner

Files created by user in a mounted partition show root as owner I have a dual boot system (Windows 10/Archlinux) and I have created a NFTS partition which is mounted at startup via /etc/fstab so I can access it from both OS’es. The fstab file shows that the partition is mounted with read and write …

Total answers: 1

Systemd does not see external drive partition when running ExecStart command

Systemd does not see external drive partition when running ExecStart command I am trying to run calibre-server at startup. Here is an example of the service content [Unit] Description=calibre Content server After=network.target [Service] Type=simple User=root Group=root ExecStart=/opt/calibre/calibre-server "/path-to-mounted-external-hdd-partition/Calibre Library" [Install] WantedBy=multi-user.target When I check the status of the service: sudo systemctl status calibre-server.service I receive …

Total answers: 4

Cannot mout old NAS on Ubuntu 22.04

Cannot mout old NAS on Ubuntu 22.04 I have an old NAS, a Synology CS407, which I want to mount on my Ubuntu server running Ubuntu 22.04.3 LTS. However, I cannot succeed in mounting it. I have tried mounting it with NFS and SMB/CIFS, but both don’t work. I would like to use SMB, as …

Total answers: 1

Host and fstab file messed up after try to change swap size

Host and fstab file messed up after try to change swap size I was trying to increase the swap size of my Ubuntu. I, na├»ve, followed the steps of this answer: Check the swap that is in use: sudo swapon -s If swap partition(s) are found: sudo swapoff -a sudo nano -Bw /etc/fstab Add # …

Total answers: 2

"Error Mounting dev/sda at /media/fjdpaco/USB Stick:Unkown error when mounting dev/sda"

"Error Mounting dev/sda at /media/fjdpaco/USB Stick:Unkown error when mounting dev/sda" I have an Acer Aspire3 laptop, and I am trying to open up a Memorex 8GB USB stick from the Files application in Ubuntu. I Given that I have important data I don’t want to accidentally destroy I don’t want to touch anything without an …

Total answers: 1

How to remount a drive without root?

How to remount a drive without root? I want to allow a user script to remount a drive as "ro" or "rw". By using the user option in the fstab, I can successfully mount and unmount the drive as a user but the -o remount,rw fails. Is it not possible for the user to use …

Total answers: 1

Can only mount external drive with sudo

Can only mount external drive with sudo I have a 2TB external drive with an NTFS partition. If I connect it to my main desktop, it mounts fine in Dolphin – I just click the drive when it appears on the sidebar, and I can see all the files, navigate, work with them etc. This …

Total answers: 1

Is noexec a standard setting for home?

Is noexec a standard setting for home? I have been told that noexec is a standard setting for /home folder for development environments. Can someone provide some references? Using noexec on /home prevents applications like IDEs, editors, etc. from working properly as expected. Asked By: user1221647 || Source I have been told that noexec is …

Total answers: 3

async mount for read-only filesystem?

async mount for read-only filesystem? It seems OpenBSD’s /usr/X11R6 is only written when I upgrade the base system (specifically, the X11 sets). For regular use cases, I want to speed up every read of /usr/X11R6. I wanted to mount the partition containing X11 files read-only and with the flag async. From mount(8): This is a …

Total answers: 1

Tinkering with "writable" in "Try ubuntu"-mode on 20.04 Desktop install media

Tinkering with "writable" in "Try ubuntu"-mode on 20.04 Desktop install media After booting the install media, going into "Try mode" In a naive move I reformatted the "rewritable" partition to FAT, from ext4(?), expecting it to still work in the same manner (for general data storage). It was not that easy… As I boot /dev/sdb3 …

Total answers: 1

Editing "/etc/fstab" to add a mount point: I need clearer instruction

Editing "/etc/fstab" to add a mount point: I need clearer instruction I’m having the exact same problem solved by this answer (trying to add a shared folder in Virtual Box, having it be owned by my user; Win host/Ubuntu guest), but I need clearer instruction: What is the sharedname_on_host mentioned in the 4th item to …

Total answers: 1

Mount error(22): Invalid argument

Mount error(22): Invalid argument I’m new to Ubuntu and I’m having some problems mounting a NAS with CIFS I’ve been searching the forums for 3 days now to find a solution that could help me. Here is what I tested : The command I am trying to execute is: sudo mount -t cifs //192.168.1.253/General /home/nekop/Bureau/NAS-General …

Total answers: 1

Correct way to disable snapd in Ubuntu Server 22.04?

Correct way to disable snapd in Ubuntu Server 22.04? I’m very new to Ubuntu. I have several Raspberry Pi’s to be used for a Kubernetes cluster with Ubuntu Server 22.04 LTS (64-pit), installed using their Imager tool and running on SSD: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 …

Total answers: 2

How to auto-mount CIFS share if the server is only ready later?

How to auto-mount CIFS share if the server is only ready later? I have two servers on my home network: A Linux server. (Currently running Debian with systemd, but I don’t think there is anything Debian-specific here.) A NAS server. (Network Attached Storage.) After a power outage, both servers get turned on at the same …

Total answers: 3

No connection to local NAS after upgrade from 18.04 to 22.04

No connection to local NAS after upgrade from 18.04 to 22.04 Dear AskUbuntu users, I recently upgraded my Kubuntu 18.04 to 20.04 and then 22.04. My mounting script for my NAS WD Mycloud stopped working. I investigated and here are my findings: I can ping the NAS. I cannot access the web interface with any …

Total answers: 1