Windows 10 can't see all USB mass storage partitions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Windows 10 can't see all USB mass storage partitions

1,566 次查看
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.

标签 (1)
标记 (2)
0 项奖励
回复
4 回复数

1,274 次查看
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 项奖励
回复

1,270 次查看
avijitnsec
Contributor III

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

0 项奖励
回复

1,283 次查看
avijitnsec
Contributor III

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

0 项奖励
回复

1,398 次查看
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 项奖励
回复