ESXi下Centos挂载Usb设备


ESXi下Centos挂载Usb设备
 
环境说明: www.2cto.com  
 
客户端:VMware vSphere Client 4.1.0 
 
服务端:VMware ESXi 4.11 
 
虚拟机系统:Windows server 2003
 
:CentOS6.3
  www.2cto.com  
VMware ESXi4.1中支持USB设备,但需要手动添加设备,配置步骤比较简单,简要归纳如下: 
 
1.把USB设备插入ESXi Server的USB接口
 
2.在客户端编辑虚拟机配置,先添加"USB控制器”
  www.2cto.com  

 
3.USB控制器添加完毕后,再添加“USB设备”


 
添加过程会显示已连接到ESX Server上的可用USB设备,并可选择勾选“已连接设备支持vMotion”


 
4. 进入虚拟机,查看到U盘已成功加载。


 
Centos 
没有图形界面的情况下,先新建一个文件夹:
 
1
mkdir /mnt/usb
查看是否已经挂载USB,查找正确的设备名和路径
1
fdisk -l
显示的资讯如下:
01
Disk /dev/sda: 21.4 GB, 21474836480 bytes
02
255 heads, 63 sectors/track, 2610 cylinders
03
Units = cylinders of 16065 * 512 = 8225280 bytes
04
 
05
   Device Boot      Start         End      Blocks   Id  System
06
/dev/sda1   *           1          13      104391   83  Linux
07
/dev/sda2              14        2610    20860402+  8e  Linux LVM
08
 
09
Disk /dev/sdb: 4021 MB, 4021288960 bytes
10
124 heads, 59 sectors/track, 1073 cylinders
11
Units = cylinders of 7316 * 512 = 3745792 bytes
12
 
13
   Device Boot      Start         End      Blocks   Id  System
14
/dev/sdb1               1        1074     3927036    b  W95 FAT32
输入mount命令进行usb挂载
1
mount /dev/sdb1 /mnt/usb
进入已经挂载的usb
1
cd /mnt/usb
 

相关内容

    暂无相关文章