Windows 10 can't see all USB mass storage partitions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Windows 10 can't see all USB mass storage partitions

1,565 Views
sevenlin
Contributor II

Dear NXP,

I met a problem that is about g_mass_storage on my i.MX6SX board with connecting to my PC.

I use below g_mass_storage command to mount 4 partings with USB mass storage on my i.MX6SX and then want to see them on Windows 10 PC:
# modprobe g_mass_storage luns=4 file=/dev/loop0,/dev/loop1,/dev/loop2,/dev/loop3 stall=0 removable=1
# echo > /sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/gadget/lun0/file
# echo /dev/mmcblk0p1 > /sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/gadget/lun0/file

Finally, I only could see one USB partition on my windows 10 PC, but I could see the total 4 partitions on my Ubuntu PC.

Do you have any idea about this issue?

Thanks.

Labels (1)
0 Kudos
Reply
4 Replies

1,273 Views
kef2
Senior Contributor V

How old is your Windows 10 version? Support for multiple partitions on USB flash drives was added to it in version 1703 I think? Multiple partitions on USB HDD were always supported, but only single partition was visible on USB flash drives in older Windows 10 versions. 

Edward

0 Kudos
Reply

1,269 Views
avijitnsec
Contributor III

I am using Windows 1909. It is mounting perfectly fine with Ubuntu and MacBook. Problem is with only Windows. 

0 Kudos
Reply

1,282 Views
avijitnsec
Contributor III

I found this issue in my devices. Is there any solution for the same ?

0 Kudos
Reply

1,397 Views
b36401
NXP Employee
NXP Employee

Please try to run diskpart utility on Windows host and check partitions with these steps:
1) list disk
2) select disk X -- here X is the number from step 2
3) list partition

0 Kudos
Reply