I just installed DietPi on an old RasPi B. To minimize SD card wear I’d like to move at least /home
and /var
to a USB stick, later maybe also swap.
Inserting the stick to the USB both dmesg
and journalctl
show it’s recognized:
[ 9634.723128] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
[ 9634.858850] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[ 9634.858915] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9634.858947] usb 1-1.3: Product: USB DISK
[ 9634.858970] usb 1-1.3: Manufacturer: SMI Corporation
[ 9634.858992] usb 1-1.3: SerialNumber: AA00000000008421
helmi 24 14:43:32 holvi kernel: usb 1-1.3: new high-speed USB device number 7 using dwc_otg
helmi 24 14:43:32 holvi kernel: usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
helmi 24 14:43:32 holvi kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
helmi 24 14:43:32 holvi kernel: usb 1-1.3: Product: USB DISK
helmi 24 14:43:32 holvi kernel: usb 1-1.3: Manufacturer: SMI Corporation
helmi 24 14:43:32 holvi kernel: usb 1-1.3: SerialNumber: AA00000000008421
It doesn’t auto-mount, and I can’t mount it manually as I have no clue where it’s supposed to be showing. There are no /dev/sdX
files:
pg@holvi:~$ ls /dev/sd*
ls: tiedostoa '/dev/sd*' ei voi käsitellä: Tiedostoa tai hakemistoa ei ole *-> file or directory doesn't exist*
lsusb
output with another stick; both show up here when inserted
root@holvi:/home/pg# lsusb
Bus 001 Device 005: ID 0951:1643 Kingston Technology DataTraveler G3
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The stick works perfectly fine in another Debian system and in a MacBook. For confirmation I
- inserted the stick to another RasPi B - same deal
- inserted a Live Debian stick to the same RasPi - same deal
The stick is the only USB device, I’m SSHing in.
What’s up, and where to go from here?