linux系统无法挂载U盘

插上U盘

[ 2407.650440] usb 1-3.3: new high speed USB device number 7 using s5p-ehci
[ 2407.887332] usb 1-3.3: New USB device found, idVendor=0951, idProduct=1666, bcdDevice=0100
[ 2407.894249] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2407.901651] usb 1-3.3: New USB device Class: Class=0, SubClass=0, Protocol=0
[ 2407.908558] usb 1-3.3: Product: DataTraveler 3.0
[ 2407.913150] usb 1-3.3: Manufacturer: Kingston
[ 2407.917488] usb 1-3.3: SerialNumber: 50E5495131F7B0A0495A3E9A
[ 2407.945454] scsi3 : usb-storage 1-3.3:1.0
[ 2408.981773] scsi 3:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[ 2409.002820] sd 3:0:0:0: Attached scsi generic sg0 type 0
[ 2410.472934] sd 3:0:0:0: [sda] 60632064 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 2410.482241] sd 3:0:0:0: [sda] Write Protect is off
[ 2410.486619] sd 3:0:0:0: [sda] No Caching mode page present
[ 2410.491237] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 2410.503131] sd 3:0:0:0: [sda] No Caching mode page present
[ 2410.507269] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 2410.527868]  sda: sda1
[ 2410.549386] sd 3:0:0:0: [sda] No Caching mode page present
[ 2410.553692] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 2410.585133] sd 3:0:0:0: [sda] Attached SCSI removable disk


挂载U盘失败

~ # mount /dev/sda1 /mnt/udisk/
mount: mounting /dev/sda1 on /mnt/udisk/ failed: No such device or address
~ # mount /dev/sda /mnt/udisk/
mount: mounting /dev/sda on /mnt/udisk/ failed: Invalid argument


查看/dev

~ # ls /dev/
/dev中没有sdb1这个设备节点


手动创建节点

~ # mknod  /dev/sda1 b 8 1


挂载U盘

~ # mount /dev/sda1 /mnt/udisk/
~ # ls /mnt/udisk/
 linux


挂载U盘成功

 

posted @ 2017-10-30 16:30  LeeAaron  阅读(5349)  评论(0编辑  收藏  举报