Hi folks,
I just installed the new HassOS on my raspi 3B+. Everything works fine so far.
For the backup of my snapshots and the config I want to use a USB-Stick. After I plugged it in, dmesg shows the following:
[ 2400.937936] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[ 2401.069615] usb 1-1.3: New USB device found, idVendor=48d2, idProduct=3324
[ 2401.072135] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2401.074650] usb 1-1.3: Product: USB Fash Disk
[ 2401.077128] usb 1-1.3: Manufacturer: USB
[ 2401.079614] usb 1-1.3: SerialNumber: A4CN6B9153700158
[ 2401.084628] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 2401.090440] scsi host0: usb-storage 1-1.3:1.0
[ 2402.149692] scsi 0:0:0:0: Direct-Access USB USB Fash Disk 2.b0 PQ: 0 ANSI: 2
[ 2402.159993] sd 0:0:0:0: [sda] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
[ 2402.165620] sd 0:0:0:0: [sda] Write Protect is off
[ 2402.168278] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[ 2402.168588] sd 0:0:0:0: [sda] No Caching mode page found
[ 2402.171256] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 2402.190825] sda: sda1 sda2
[ 2402.196581] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 2402.200950] udevd[234]: inotify_add_watch(6, /dev/sda, 10) failed: No such file or directory
[ 2402.211481] udevd[233]: inotify_add_watch(6, /dev/sda2, 10) failed: No such file or directory
[ 2402.212394] udevd[234]: inotify_add_watch(6, /dev/sda1, 10) failed: No such file or directory
I guess it is caused, because the /dev directory do not have the necessary subfolders sda1, sda2:
core-ssh:~# ls -l /dev/
total 419
lrwxrwxrwx 1 root root 13 Aug 12 09:25 fd → /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Aug 12 09:25 full
-rwxr-xr-x 1 root root 428228 Aug 4 03:31 init
drwxrwxrwt 2 root root 40 Aug 12 09:25 mqueue
crw-rw-rw- 1 root root 1, 3 Aug 12 09:25 null
lrwxrwxrwx 1 root root 8 Aug 12 09:25 ptmx → pts/ptmx
drwxr-xr-x 2 root root 0 Aug 12 09:25 pts
crw-rw-rw- 1 root root 1, 8 Aug 12 09:25 random
drwxrwxrwt 2 root root 40 Aug 12 09:25 shm
lrwxrwxrwx 1 root root 15 Aug 12 09:25 stderr → /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Aug 12 09:25 stdin → /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Aug 12 09:25 stdout → /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Aug 12 09:25 tty
crw-rw-rw- 1 root root 1, 9 Aug 12 09:25 urandom
crw-rw-rw- 1 root root 1, 5 Aug 12 09:25 zero
However, hassio has recognised the USB-Stick:
core-ssh:~# hassio hw info
{
“result”: “ok”,
“data”: {
“serial”: [
“/dev/ttyAMA0”
],
“input”: ,
“disk”: [
“/dev/sda2”,
“/dev/sda”,
“/dev/sda1”
],
“gpio”: [
“gpiochip0”,
“gpiochip128”
],
“audio”: {
“0”: {
“name”: “bcm2835_alsa - bcm2835 ALSA”,
“type”: “ALSA”,
“devices”: {
“0”: “digital audio playback”,
“1”: “digital audio playback”
}
}
}
}
}
Dos anyone have an idea, how to mount the USB-Stick with hassOS?