hello devs, i am a newbie here and im trying to mount and unmount my partitions manually by creating 2 systemd service one for mount and another one for unmount the mount one is where the problem lies apparently it is unmounting the partitions after mounting them here is the journalctl -u mount-partitions.service -n 50
-- Boot 7d320b7d36da408980c6249bc745e19a --
May 27 19:06:11 Fameless systemd[1]: Starting Mount specified partitions...
May 27 19:06:11 Fameless sudo[782]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/mount -t ntfs-3g -o rw,user /dev/disk/by-uuid/D6428A76428A5B5F /home/fameless/Public/basicdatapartition
May 27 19:06:11 Fameless sudo[782]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
May 27 19:06:11 Fameless ntfs-3g[820]: Version 2022.10.3 external FUSE 29
May 27 19:06:11 Fameless ntfs-3g[820]: Mounted /dev/nvme1n1p4 (Read-Write, label "", NTFS 3.1)
May 27 19:06:11 Fameless ntfs-3g[820]: Cmdline options: rw,user,noexec,nosuid,nodev
May 27 19:06:11 Fameless ntfs-3g[820]: Mount options: user,noexec,nosuid,nodev,allow_other,nonempty,relatime,rw,fsname=/dev/nvme1n1p4,blkdev,blksize=4096
May 27 19:06:11 Fameless ntfs-3g[820]: Ownership and permissions disabled, configuration type 7
May 27 19:06:11 Fameless sudo[782]: pam_unix(sudo:session): session closed for user root
May 27 19:06:11 Fameless sudo[822]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/mount -t ntfs-3g -o rw,user /dev/disk/by-uuid/8A5C23C75C23ACBF /home/fameless/Public/localdisk
May 27 19:06:11 Fameless sudo[822]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
May 27 19:06:11 Fameless ntfs-3g[861]: Version 2022.10.3 external FUSE 29
May 27 19:06:11 Fameless ntfs-3g[861]: Mounted /dev/nvme0n1p2 (Read-Write, label "Local Disk", NTFS 3.1)
May 27 19:06:11 Fameless ntfs-3g[861]: Cmdline options: rw,user,noexec,nosuid,nodev
May 27 19:06:11 Fameless ntfs-3g[861]: Mount options: user,noexec,nosuid,nodev,allow_other,nonempty,relatime,rw,fsname=/dev/nvme0n1p2,blkdev,blksize=4096
May 27 19:06:11 Fameless ntfs-3g[861]: Ownership and permissions disabled, configuration type 7
May 27 19:06:11 Fameless sudo[822]: pam_unix(sudo:session): session closed for user root
May 27 19:06:11 Fameless ntfs-3g[861]: Unmounting /dev/nvme0n1p2 (Local Disk)
May 27 19:06:11 Fameless ntfs-3g[820]: Unmounting /dev/nvme1n1p4 ()
May 27 19:06:11 Fameless systemd[1]: mount-partitions.service: Deactivated successfully.
May 27 19:06:11 Fameless systemd[1]: Finished Mount specified partitions.
and here is my garuda-inixi
System:
Kernel: 6.6.30-2-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: hpet avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=7b03772c-1cf6-402a-b847-a5bc6c4628e8 rw rootflags=subvol=@
verbose resume=UUID=20aa409f-e14d-469d-bd7a-18c35a808429 loglevel=3
ibt=off
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15
FA506IHRB_FA506IHRB v: 1.0 serial: <filter>
Mobo: ASUSTeK model: FA506IHRB v: 1.0 serial: <filter>
uuid: c24fe503-6232-8340-8cdd-86e97147d59a UEFI: American Megatrends
v: FA506IHRB.307 date: 12/28/2022
Battery:
ID-1: BAT1 charge: 43.0 Wh (57.4%) condition: 74.9/90.2 Wh (83.0%)
volts: 15.1 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A
status: discharging
CPU:
Info: model: AMD Ryzen 5 4600H with Radeon Graphics socket: FP6 bits: 64
type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600106
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 613 high: 2966 min/max: 400/4006 base/boost: 3000/4000
scaling: driver: amd-pstate-epp governor: performance volts: 1.2 V
ext-clock: 100 MHz cores: 1: 400 2: 400 3: 2966 4: 400 5: 400 6: 400
7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 bogomips: 71894
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-04; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-1
bus-ID: 01:00.0 chip-ID: 10de:1f9d class-ID: 0300
Device-2: AMD Renoir [Radeon RX Vega 6 ] vendor: ASUSTeK driver: amdgpu
v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie:
gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: eDP-1 empty: HDMI-A-1 bus-ID: 06:00.0 chip-ID: 1002:1636
class-ID: 0300 temp: 42.0 C
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:2 chip-ID: 322e:202c
class-ID: 0e02
Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: amdgpu display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
s-diag: 583mm (22.95")
Monitor-1: eDP-1 model: Najing CEC Panda 0x004d built: 2019 res: 1920x1080
hz: 144 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia x11: drv: radeonsi inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.7-arch1.3
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
renoir LLVM 17.0.6 DRM 3.54 6.6.30-2-lts) device-ID: 1002:1636
memory: 500 MiB unified: no
API: Vulkan v: 1.3.279 layers: 6 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RENOIR) driver: mesa radv v: 24.0.7-arch1.3
device-ID: 1002:1636 surfaces: xcb,xlib device: 1 type: discrete-gpu
name: NVIDIA GeForce GTX 1650 driver: nvidia v: 550.78
device-ID: 10de:1f9d surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.7-arch1.3 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie: gen: 3 speed: 8 GT/s
lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3
class-ID: 0403
API: ALSA v: k6.6.30-2-lts status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.6 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:2 chip-ID: 13d3:3563
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 942.7 GiB used: 103.9 GiB (11.0%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT500P3SSD8
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR30A temp: 44.9 C
scheme: GPT
SMART: yes health: PASSED on: 76d 22h cycles: 2,369
read-units: 32,823,532 [16.8 TB] written-units: 16,357,961 [8.37 TB]
ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Samsung
model: MZVLQ512HBLU-00B00 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: FXM7201Q temp: 43.9 C scheme: GPT
SMART: yes health: PASSED on: 25d 3h cycles: 2,283
read-units: 24,568,650 [12.5 TB] written-units: 18,917,235 [9.68 TB]
Partition:
ID-1: / raw-size: 184.69 GiB size: 184.69 GiB (100.00%)
used: 103.88 GiB (56.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p8
maj-min: 259:12
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 30 MiB (11.7%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
maj-min: 259:5
ID-3: /home raw-size: 184.69 GiB size: 184.69 GiB (100.00%)
used: 103.88 GiB (56.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p8
maj-min: 259:12
ID-4: /var/log raw-size: 184.69 GiB size: 184.69 GiB (100.00%)
used: 103.88 GiB (56.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p8
maj-min: 259:12
ID-5: /var/tmp raw-size: 184.69 GiB size: 184.69 GiB (100.00%)
used: 103.88 GiB (56.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p8
maj-min: 259:12
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme1n1p3 maj-min: 259:7
ID-2: swap-2 type: zram size: 15.05 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 51.6 C mobo: 48.0 C gpu: amdgpu temp: 42.0 C
Fan Speeds (rpm): cpu: 3200
Info:
Memory: total: 16 GiB note: est. available: 15.05 GiB used: 3.85 GiB (25.6%)
Processes: 363 Power: uptime: 10m states: freeze,mem,disk suspend: s2idle
wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
image: 5.98 GiB services: org_kde_powerdevil, power-profiles-daemon,
upowerd Init: systemd v: 255 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1690 libs: 431 tools: octopi,pamac,paru
Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi (sudo) default: Bash
v: 5.2.26 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date: 2024-03-28
Last full system update: 2024-05-27
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: Yes
Failed units:
can anybody tell me why the service is doing so and any solutions to fix this up
here is the service
[Unit]
Description=Mount specified partitions
[Service]
Type=oneshot
ExecStart=/usr/bin/fish -c 'sudo mount -t ntfs-3g -o rw,user /dev/disk/by-uuid/D6428A76428A5B5F /home/fameless/Public/basicdatapartition; and sudo mount -t ntfs-3g -o rw,user /dev/disk/by-uuid/8A5C23C75C23ACBF /home/fameless/Public/localdisk'>
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target