NEWS
Argon Neo v5 mit NVME Erweiterung
-
puh@BrokerRaspi:~ $ sudo mkfs.ext4 /dev/nvme0n1p1 mke2fs 1.47.2 (1-Jan-2025) /dev/nvme0n1p1 contains a ntfs file system Proceed anyway? (y,N) y Discarding device blocks: done Creating filesystem with 62514516 4k blocks and 15630336 inodes Filesystem UUID: 5e38a143-0b6f-4b13-b2e1-97092fd84249 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: done puh@BrokerRaspi:~ $und
uh@BrokerRaspi:~ $ sudo mkdir /mnt/usbplatte puh@BrokerRaspi:~ $@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
WERTAUSblkid
ist das nur die UUID `
sagte in Argon Neo v5 mit NVME Erweiterung:
UUID="5DF320B42AED17E8
@Homoran sagte in Argon Neo v5 mit NVME Erweiterung:
ist das nur die UUID `
Kannst du auch per
lsblk -fprüfen. Wird dann wohl '5e38a143-0b6f-4b13-b2e1-97092fd84249' sein.
-
@Homoran sagte in Argon Neo v5 mit NVME Erweiterung:
ist das nur die UUID `
Kannst du auch per
lsblk -fprüfen. Wird dann wohl '5e38a143-0b6f-4b13-b2e1-97092fd84249' sein.
@Thomas-Braun ja, sieht so aus
puh@BrokerRaspi:~ $ lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS loop0 swap 1 mmcblk0 ├─mmcblk0p1 vfat FAT32 bootfs EACA-13DA 443.7M 13% /boot/firmware └─mmcblk0p2 ext4 1.0 rootfs 21724cc6-e5a3-48a1-8643-7917dba3a9fb 219.5G 2% / zram0 swap 1 zram0 62469c0b-3f4d-40a6-a366-e83df6959361 [SWAP] nvme0n1 └─nvme0n1p1 ext4 1.0 5e38a143-0b6f-4b13-b2e1-97092fd84249 puh@BrokerRaspi:~ $ -
proc /proc proc defaults 0 0 PARTUUID=5f44d3e5-01 /boot/firmware vfat defaults 0 2 PARTUUID=5f44d3e5-02 / ext4 defaults,noatime 0 1 UUID=5e38a143-0b6f-4b13-b2e1-97092fd84249 /mnt/usbplatte ext4 defaults 0 0abgespeichert ist es
nun reboot?
-
proc /proc proc defaults 0 0 PARTUUID=5f44d3e5-01 /boot/firmware vfat defaults 0 2 PARTUUID=5f44d3e5-02 / ext4 defaults,noatime 0 1 UUID=5e38a143-0b6f-4b13-b2e1-97092fd84249 /mnt/usbplatte ext4 defaults 0 0abgespeichert ist es
nun reboot?
Reboot oder manuell mal mounten:
sudo mount /mnt/usbplatteUnd dann würde ich da mal eine Testdatei ablegen
sudo touch /mnt/usbplatte/ich_bin_eine-testdateiMüsste dann zu sehen sein:
ls -lA /mnt/usbplatte/Und nach einem
sudo umount /mnt/usbplatte ls -lA /mnt/usbplatte/sollte die Datei verschwunden sein.
-
Reboot oder manuell mal mounten:
sudo mount /mnt/usbplatteUnd dann würde ich da mal eine Testdatei ablegen
sudo touch /mnt/usbplatte/ich_bin_eine-testdateiMüsste dann zu sehen sein:
ls -lA /mnt/usbplatte/Und nach einem
sudo umount /mnt/usbplatte ls -lA /mnt/usbplatte/sollte die Datei verschwunden sein.
@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
Reboot oder manuell mal mounten:
sieht gut aus!
uh@BrokerRaspi:~ $ sudo mount /mnt/usbplatte mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. puh@BrokerRaspi:~ $ systemctl daemon-reload ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ==== Authentication is required to reload the systemd state. Authenticating as: puh Password: ==== AUTHENTICATION COMPLETE ==== puh@BrokerRaspi:~ $ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 1.6G 14M 1.6G 1% /run /dev/mmcblk0p2 235G 5.3G 220G 3% / tmpfs 4.0G 0 4.0G 0% /dev/shm tmpfs 5.0M 48K 5.0M 1% /run/lock tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs 4.0G 9.6M 4.0G 1% /tmp /dev/mmcblk0p1 510M 67M 444M 13% /boot/firmware tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyAMA10.service tmpfs 807M 32K 807M 1% /run/user/1000 /dev/nvme0n1p1 234G 2.1M 222G 1% /mnt/usbplatte puh@BrokerRaspi:~ $touch mach ich jetzt
-
uh@BrokerRaspi:~ $ sudo touch /mnt/usbplatte/ich_bin_eine-testdatei puh@BrokerRaspi:~ $ cd /mnt/usbplatte puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $VIELEN, VIELEN DANK!
-
Reboot oder manuell mal mounten:
sudo mount /mnt/usbplatteUnd dann würde ich da mal eine Testdatei ablegen
sudo touch /mnt/usbplatte/ich_bin_eine-testdateiMüsste dann zu sehen sein:
ls -lA /mnt/usbplatte/Und nach einem
sudo umount /mnt/usbplatte ls -lA /mnt/usbplatte/sollte die Datei verschwunden sein.
@Thomas-Braun du alter Editeur 😀
ich hab's halt anders gemacht, umount und reboot teste ich noch
-
uh@BrokerRaspi:~ $ sudo touch /mnt/usbplatte/ich_bin_eine-testdatei puh@BrokerRaspi:~ $ cd /mnt/usbplatte puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $VIELEN, VIELEN DANK!
du alter Editeur
Sorry...
Wenn das grundsätzlich dann funktioniert musst du mal schauen wie es sich verhält, wenn einfache user drauf zugreifen wollen. Ggfls. müssen da noch Rechte dazu vergeben werden.
-
du alter Editeur
Sorry...
Wenn das grundsätzlich dann funktioniert musst du mal schauen wie es sich verhält, wenn einfache user drauf zugreifen wollen. Ggfls. müssen da noch Rechte dazu vergeben werden.
@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
wie es sich verhält, wenn einfache user drauf zugreifen wollen. Ggfls. müssen da noch Rechte dazu vergeben werden.
guter Punkt, zumindet die Testdatei gehörte root, was zu etwas Durcheinander bei mir führte
puh@BrokerRaspi:~ $ ls -lA /mnt/usbplatte/ total 16 -rw-r--r-- 1 root root 0 Feb 13 20:32 ich_bin_eine-testdatei drwx------ 2 root root 16384 Feb 13 20:12 lost+found puh@BrokerRaspi:~ $ cd /mnt/usbplatte puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $ rm ich_bin_eine-testdatei rm: remove write-protected regular empty file 'ich_bin_eine-testdatei'? puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $ rm ich_bin_eine-testdatei rm: remove write-protected regular empty file 'ich_bin_eine-testdatei'? y rm: cannot remove 'ich_bin_eine-testdatei': Permission denied puh@BrokerRaspi:/mnt/usbplatte $ sudo rm ich_bin_eine-testdatei puh@BrokerRaspi:/mnt/usbplatte $ dir lost+found puh@BrokerRaspi:/mnt/usbplatte $ -
joa, es klemmt
uh@BrokerRaspi:/mnt/usbplatte $ mkdir testordner mkdir: cannot create directory ‘testordner’: Permission denied puh@BrokerRaspi:/mnt/usbplatte $iob und puh sollten da schon schreiben dürfen
-
@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
wie es sich verhält, wenn einfache user drauf zugreifen wollen. Ggfls. müssen da noch Rechte dazu vergeben werden.
guter Punkt, zumindet die Testdatei gehörte root, was zu etwas Durcheinander bei mir führte
puh@BrokerRaspi:~ $ ls -lA /mnt/usbplatte/ total 16 -rw-r--r-- 1 root root 0 Feb 13 20:32 ich_bin_eine-testdatei drwx------ 2 root root 16384 Feb 13 20:12 lost+found puh@BrokerRaspi:~ $ cd /mnt/usbplatte puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $ rm ich_bin_eine-testdatei rm: remove write-protected regular empty file 'ich_bin_eine-testdatei'? puh@BrokerRaspi:/mnt/usbplatte $ dir ich_bin_eine-testdatei lost+found puh@BrokerRaspi:/mnt/usbplatte $ rm ich_bin_eine-testdatei rm: remove write-protected regular empty file 'ich_bin_eine-testdatei'? y rm: cannot remove 'ich_bin_eine-testdatei': Permission denied puh@BrokerRaspi:/mnt/usbplatte $ sudo rm ich_bin_eine-testdatei puh@BrokerRaspi:/mnt/usbplatte $ dir lost+found puh@BrokerRaspi:/mnt/usbplatte $Klar, der root hat die ja auch angelegt/berührt:
sudo touch /mnt/usbplatte/ich_bin_eine-testdateiUnd da der root ja immer alles darf testet man die grundsätzliche Funktion des mounts damit und dann im Nachgang rückt man mit den Rechten von Standardusern an. Als 'puh' mal versuchen:
touch /mnt/usbplatte/ich_bin_eine_datei_von_puh ls -lAh /mnt/usbplatte -
Klar, der root hat die ja auch angelegt/berührt:
sudo touch /mnt/usbplatte/ich_bin_eine-testdateiUnd da der root ja immer alles darf testet man die grundsätzliche Funktion des mounts damit und dann im Nachgang rückt man mit den Rechten von Standardusern an. Als 'puh' mal versuchen:
touch /mnt/usbplatte/ich_bin_eine_datei_von_puh ls -lAh /mnt/usbplatte@Thomas-Braun seufz
puh@BrokerRaspi:/mnt/usbplatte $ ls -la /mnt/usbplatte total 24 drwxr-xr-x 3 root root 4096 Feb 13 20:40 . drwxr-xr-x 3 root root 4096 Feb 13 20:14 .. drwx------ 2 root root 16384 Feb 13 20:12 lost+found puh@BrokerRaspi:/mnt/usbplatte $ cd / puh@BrokerRaspi:/ $ touch /mnt/usbplatte/ich_bin_eine_datei_von_puh touch: cannot touch '/mnt/usbplatte/ich_bin_eine_datei_von_puh': Permission denied puh@BrokerRaspi:/ $ ls -lAh /mnt/usbplatte -
@Thomas-Braun seufz
puh@BrokerRaspi:/mnt/usbplatte $ ls -la /mnt/usbplatte total 24 drwxr-xr-x 3 root root 4096 Feb 13 20:40 . drwxr-xr-x 3 root root 4096 Feb 13 20:14 .. drwx------ 2 root root 16384 Feb 13 20:12 lost+found puh@BrokerRaspi:/mnt/usbplatte $ cd / puh@BrokerRaspi:/ $ touch /mnt/usbplatte/ich_bin_eine_datei_von_puh touch: cannot touch '/mnt/usbplatte/ich_bin_eine_datei_von_puh': Permission denied puh@BrokerRaspi:/ $ ls -lAh /mnt/usbplatte -
@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
mount | sortsagt?
puh@BrokerRaspi:/ $ mount | sort binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) /dev/mmcblk0p2 on / type ext4 (rw,noatime) /dev/nvme0n1p1 on /mnt/usbplatte type ext4 (rw,relatime,stripe=32) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=4764) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/credentials/getty@tty1.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/credentials/serial-getty@ttyAMA10.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1651296k,mode=755) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=825632k,nr_inodes=206408,mode=700,uid=1000,gid=1000) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=4088256k,nr_inodes=255516,mode=755) puh@BrokerRaspi:/ $ -
@Thomas-Braun sagte in Argon Neo v5 mit NVME Erweiterung:
mount | sortsagt?
puh@BrokerRaspi:/ $ mount | sort binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) /dev/mmcblk0p2 on / type ext4 (rw,noatime) /dev/nvme0n1p1 on /mnt/usbplatte type ext4 (rw,relatime,stripe=32) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=4764) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/credentials/getty@tty1.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/credentials/serial-getty@ttyAMA10.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1651296k,mode=755) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=825632k,nr_inodes=206408,mode=700,uid=1000,gid=1000) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=4088256k,nr_inodes=255516,mode=755) puh@BrokerRaspi:/ $@Homoran sagte in Argon Neo v5 mit NVME Erweiterung:
sudo chown puh:plugdev /mnt/usbplatte ls -lAh /mnt/usbplatte -
@Homoran sagte in Argon Neo v5 mit NVME Erweiterung:
sudo chown puh:plugdev /mnt/usbplatte ls -lAh /mnt/usbplatte -
puh@BrokerRaspi:/ $ sudo chown puh:plugdev /mnt/usbplatte puh@BrokerRaspi:/ $ ls -lAh /mnt/usbplatte total 16K drwx------ 2 root root 16K Feb 13 20:12 lost+foundedit folgt
-
puh@BrokerRaspi:/ $ ls -lAh /mnt/ total 4.0K drwxr-xr-x 3 puh plugdev 4.0K Feb 13 20:40 usbplatte puh@BrokerRaspi:/ $ -
puh@BrokerRaspi:/ $ ls -lAh /mnt/ total 4.0K drwxr-xr-x 3 puh plugdev 4.0K Feb 13 20:40 usbplatte puh@BrokerRaspi:/ $Jezt müsste eigentlich der puh in dem Order volle Rechte (schreiben/lesen/ausführen) haben und der user 'iobroker' darf nicht schreiben (über die Gruppe plugdev). Wenn die Gruppe 'plugdev' da auch schreiben können soll, dann
sudo chmod g+w /mnt/usbplatte -
Jezt müsste eigentlich der puh in dem Order volle Rechte (schreiben/lesen/ausführen) haben und der user 'iobroker' darf nicht schreiben (über die Gruppe plugdev). Wenn die Gruppe 'plugdev' da auch schreiben können soll, dann
sudo chmod g+w /mnt/usbplatteCheck:
sudo -u iobroker touch /mnt/usbplatte/ich_bin_vom_iobroker_geschrieben