The pendrive isnt appear with df -h

When I put my pendrive in the usb appear:
root@sensorial_new:~# [ 7429.762714] usb 1-1: USB disconnect, device number 6
[ 7433.721266] usb 1-1: new high-speed USB device number 7 using ehci-platform
[ 7433.935648] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 7433.973039] scsi host0: usb-storage 1-1:1.0
[ 7434.992735] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
[ 7435.022558] sd 0:0:0:0: [sda] 15232000 512-byte logical blocks: (7.80 GB/7.26 GiB)
[ 7435.039401] sd 0:0:0:0: [sda] Write Protect is off
[ 7435.048975] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 7435.060663] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7435.097313] sda: sda1
[ 7435.114459] sd 0:0:0:0: [sda] Attached SCSI removable disk

root@sensorial_new:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.8M 3.8M 0 100% /rom
tmpfs 59.8M 268.0K 59.6M 0% /tmp
/dev/mmcblk0p1 6.9G 286.5M 6.3G 4% /overlay
overlayfs:/overlay 6.9G 286.5M 6.3G 4% /
tmpfs 512.0K 0 512.0K 0% /dev

I tryed mount with: mount /dev/sda1 /mnt/sda1 but didnt works, can you help me?

does the /mnt/sda1 mount point exist ?

Two approaches come to mind:

  1. opkg install install luci-app-diskman
    and do everything in the browser

  2. use "cat /proc/partitions" to see what partitions are available
    use "cat /proc/mounts" to see what is mounted
    then create a directory for the mountpoint
    then mount the device to that directory

  • mkdir /mnt/sda1
  • mount /dev/sda1 /mnt/sda1

I think that would suffice.

And install the needed kmods for block mounting and the partition format you want to use

1 Like

root@sensorial_new:/# cat /proc/partitions
major minor #blocks name

31 0 192 mtdblock0
31 1 64 mtdblock1
31 2 64 mtdblock2
31 3 32448 mtdblock3
31 4 2148 mtdblock4
31 5 30299 mtdblock5
31 6 26560 mtdblock6
179 0 7741440 mmcblk0
179 1 7479296 mmcblk0p1
179 2 261120 mmcblk0p2
8 0 7616000 sda
8 1 7615984 sda1
root@sensorial_new:/# cat /proc/mounts
/dev/root /rom squashfs ro,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
/dev/mmcblk0p1 /overlay ext4 rw,sync,noatime,nodiratime 0 0
overlayfs:/overlay / overlay rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work 0 0
tmpfs /dev tmpfs rw,nosuid,noexec,noatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,noatime,mode=600,ptmxmode=000 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,noatime,mode=700 0 0
root@sensorial_new:/# mkdir /mnt/sda1
root@sensorial_new:/# mount /dev/sda1 /mnt/sda1
mount: /mnt/sda1: unknown filesystem type 'vfat'.
root@sensorial_new:/#

reread The pendrive isnt appear with df -h - #4 by jdwl1o1

1 Like

I install the kmod-fs-vfat and solve the problem.

Thanks a lot friends!!!

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

I don´t know how to do to put solved, because it´s different that information.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.