Hello,
Hello,
i used USB flash disk in front usb port. I wanted that usb for store turris logs, but not worked so I had there only rrd database and torrent files setup etc.
Some time ago, that flash disk stop working at all. It is not present in luci mount points.
So format this disk and verify blocks with some RW testers. All results are OK. It works in PC and elsewhere. But i tried all formats (NTFS, ext3, ext4, fat32…) everythink is same. Disk is not present.
But strange is that disk is visible in system.
fdisk -l
Disk /dev/sdb: 29.9 GiB, 32078036992 bytes, 62652416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00061de8
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 62652415 62650368 29.9G 7 HPFS/NTFS/exFAT
Fist of all I would suggest you to not use ntfs but for example ext4 instead.
Second of all I don’t see any way it isn’t visible. From your screenshot from luci I clearly see SamsungFlash drive to be mounted in /mnt/SamsuntFlash. Where is it missing from?
================
That’s the problem! Flash drive is mount, share folder, 'll on it Majordomo and rrd graphs-everything works.
In a few days with the face not present, graphs and majordomo works, from the PC I see the shared directory of this flash drive, but if the mount point does not present, if I try to reconnect it is not visible.
You really don’t have it in system. There is no /dev/sd*. @Stybyk posted output where clearly he has /dev/sdb. You have nothing like that so I suspect different problem. Probably problems with usb detection? Can you please record output of dmesg while you unplug and plug your usb back so we know what is happening why it doesn’t shows up in system.
If disk is not mounted then you are writing to internal storage (flash). That is why some people are mounting their drives to /tmp/mnt instead so if their memory fails to mount they are not damaging flash storage.
To be sure run mount | grep /mnt/sda1. If that gives you no output then no it isn’t mounted and you have created those files/directories on internal storage.
Usually, and I do it in this way on my productional servers too, i prefer automounting based on file-system label. I consider it as more transparent… So perhaps delete (“Odstranit”) the config and try the one based on fs label. Today I had similar issue (and thats how I found this discussion thread) and label-based mount fixed the problem.
As it is linux box, I would try to go with linux filesystem, so not NTFS…
is bad, because /dev/sda can change to /dev/sdb,/dev/sdc, etc. when you will attach another harddrive first, and sometimes event the same harddrive can reappear with the next available /dev/sdXX string after USB reconnect.
And 1) vs 2) - I am personally not able to remember and read the UUIDs so I use human-readable labels. But maybe someone will point to some good reason to use UUIDs instead of FS labels. I remember that some legacy filesystems have no labels… but this is not the case here with ext3/4.
As I wrote before, I had the samsung flash formatted in ext4 but when it was in “not present state” I tried to change the format to some else. Every time was the same result. But now I tried again change to ext4 again, and it works. Samsung flash is present now.
"
When I had this issue, I must to write uuid to mount point gui manually… from “blkid” command.
And after that it was not present for each format.
But now I formatted it again and gui offered me UUID allone. Which i only choose by mouse.
And disk is present now.