Code: Select all
Disk /dev/sdb: 55.9 GiB, 60022480384 bytes, 117231407 sectors
Disk model: Expansion
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xdae8205d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 117229567 117227520 55.9G 83 Linux

Hmm. I normally use FileZilla for SFTP to networked drives (or other computers) USB drives are usually auto-mounted via the file manager and appear under the /media directory.DarKOrange wrote: ↑Thu Aug 06, 2020 9:45 amThank you for your answer. It is partioned and formatted, I can access it with Filezilla and read/write files.
Code: Select all
lsusb
lsblk
sudo blkidThank you. Here it is:LTolledo wrote: ↑Thu Aug 06, 2020 10:20 amplease post output ofCode: Select all
lsusb lsblk sudo blkid
this confirms your drive is formatted as EXT2DarKOrange wrote: /dev/sda1: UUID="1eee1c8d-3d8d-437f-87c2-3fe930d4b974" TYPE="ext2" PARTUUID="55dd0322-01"
Code: Select all
UUID=1eee1c8d-3d8d-437f-87c2-3fe930d4b974 /mnt/exHDD ext2 defaults,nofail,noatime 0 1
Code: Select all
df -hThank you for your answer, I followed your directions but still no luckLTolledo wrote: ↑Thu Aug 06, 2020 10:58 amthis confirms your drive is formatted as EXT2DarKOrange wrote: /dev/sda1: UUID="1eee1c8d-3d8d-437f-87c2-3fe930d4b974" TYPE="ext2" PARTUUID="55dd0322-01"
first let make a mount point for your external USB hard drive
sudo mkdir /mnt/exHDD
then lets mount it properly with an entry in /etc/fstab
reboot and then check again usingCode: Select all
UUID=1eee1c8d-3d8d-437f-87c2-3fe930d4b974 /mnt/exHDD ext2 defaults,nofail,noatime 0 1Code: Select all
df -h
Innostor chipset for USB drive?DarKOrange wrote: ↑Thu Aug 06, 2020 10:28 am
Bus 001 Device 002: ID 1f75:0918 Innostor Technology Corporation
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
sudo dmesg -CCode: Select all
sudo dmesg -THi, thank you for your answer. I should have mentioned it: it is a Raspberry Pi 3 Model A Plus Rev 1.0diogen151 wrote: ↑Fri Aug 07, 2020 7:08 amInnostor chipset for USB drive?DarKOrange wrote: ↑Thu Aug 06, 2020 10:28 am
Bus 001 Device 002: ID 1f75:0918 Innostor Technology Corporation
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Are you using RPi 4b and USB 3.0 ?
Innostor chipset is not well prooven in this combination like ASMEDIA ASM chipset.
Try with this:
..then connect that USB drive, and post output from this command:Code: Select all
sudo dmesg -C
Hope this will give some more information.Code: Select all
sudo dmesg -T
What is the old mount point?DarKOrange wrote: ↑Thu Aug 06, 2020 11:30 pmThank you for your answer, I followed your directions but still no luckThe external storage has disappeared from the following commands but I can still browse the content of the USB stick but through the old mount point, the new one (exHDD) is empty.
The old mount point is named USBSticknliviu wrote: ↑Fri Aug 07, 2020 9:53 amWhat is the old mount point?DarKOrange wrote: ↑Thu Aug 06, 2020 11:30 pmThank you for your answer, I followed your directions but still no luckThe external storage has disappeared from the following commands but I can still browse the content of the USB stick but through the old mount point, the new one (exHDD) is empty.
You can run mount to list all the mount points.
Code: Select all
/dev/sda1 on /mnt/USBStick ...
Yes it is there with ssh too: /mnt/USBSticknliviu wrote: ↑Fri Aug 07, 2020 10:13 amIt looks like it's not mounted.
A mount point has a full path, something like "/mnt/USBStick".
The entry in the mount list should read something likeIf you can see it with filezilla, you can see it in the ssh session too (using the same path).Code: Select all
/dev/sda1 on /mnt/USBStick ...

Code: Select all
sudo umount /mnt/USBStick
Code: Select all
sudo mount -t ext2 /dev/sda1 /mnt/exHDD
I think you nailed it!nliviu wrote: ↑Fri Aug 07, 2020 1:31 pmMy bet is that the directory /mnt/USBStick is populated with files from the sd, not from the external drive which is not mounted.
Try to unmount itIf the result is "umount: /mnt/USBStick: not mounted.", you can try to mount it from the command line, assuming /mnt/exHDD still existsCode: Select all
sudo umount /mnt/USBStickCode: Select all
sudo mount -t ext2 /dev/sda1 /mnt/exHDD
Code: Select all
sudo umount /mnt/exHDD
sudo mount -t ext2 /dev/sda1 /mnt/USBStick
Thank you. Following previous manipulations (below) the USB key is no longer seen by the system,nliviu wrote: ↑Fri Aug 07, 2020 2:33 pmUnmount from /mnt/exHDD and mount on /mnt/USBStickCode: Select all
sudo umount /mnt/exHDD sudo mount -t ext2 /dev/sda1 /mnt/USBStick
LTolledo wrote: ↑Thu Aug 06, 2020 10:58 amthis confirms your drive is formatted as EXT2DarKOrange wrote: /dev/sda1: UUID="1eee1c8d-3d8d-437f-87c2-3fe930d4b974" TYPE="ext2" PARTUUID="55dd0322-01"
first let make a mount point for your external USB hard drive
sudo mkdir /mnt/exHDD
then lets mount it properly with an entry in /etc/fstab
reboot and then check again usingCode: Select all
UUID=1eee1c8d-3d8d-437f-87c2-3fe930d4b974 /mnt/exHDD ext2 defaults,nofail,noatime 0 1Code: Select all
df -h
Problem solved! I got someone to remove and replug the key, I was then able to mount the USB key in the exHDD folder, it is now listed with the df -h command !nliviu wrote: ↑Fri Aug 07, 2020 2:33 pmUnmount from /mnt/exHDD and mount on /mnt/USBStickCode: Select all
sudo umount /mnt/exHDD sudo mount -t ext2 /dev/sda1 /mnt/USBStick