Reason
Typically, data is transmitted to VMware, except that the network is the mobile device that is mounted.
Network set up really disgusting, but, I was in the game, is to use the network, then remember that Xen made a few virtual machines, and then on the physical machine with Tomcat to build a server, put things inside, in the virtual machine access to download. It was a bad way, but it could only be transmitted unilaterally, but that was enough.
In fact, it is convenient to mount.
This article is mainly to facilitate their own inspection. No new stuff. Don't spray the old man.
Data transfer Operation explained
The VMware version of this article is 7.0.
Step One: VMWare menu bar, VM, removable Devices check your USB drive or mobile drive.
Step Two:
Sudo-s /* Enter root */fdisk-l /* To find your mobile device name, for example my is/dev/sda1 */mount/dev/sda1/media/usb /* Where/MEDIA/USB is the one you want to mount to THE place * *
Step three: Cp/media/usb/your_data/*.*/root/home/desktop/your_data copy the data.
Fourth Step:
Please note that the device is busy error is reported directly with the Umount command:
[[email protected]:~]# df-lhfilesystem Size used Avail use% mounted ON/DEV/SDB3 125G 3.3G 115G 3%//dev/sdb1 99M 12M 82M 13%/boottmpfs 3.9G 0 3.9G 0%/dev/shm/dev/sda1 275G 72G 189G 28%/media/usb is this/dev/sda1. Using the Umount command at this point, UMOUNT/MEDIA/USB or umount/dev/sda1 will prompt the device to be busy: Umount device is busy. Treatment method: [[email protected]:~]# fuser-km/media/usb[[email protected]:~]# df-lhfilesystem Size Used Av Ail use% mounted on/dev/sdb3 125G 3.3G 115G 3%//dev/sdb1 99M 12M 82M 13%/BOOTTMPFS 3.9G 0 3.9G 0%/dev/shm/dev/sda1 275G 72G 189G 28%/media/usb[[email protected]:~ ]# umount/media/usb[[email protected]:~]# df-lhfilesystem Size used Avail use% mounted ON/DEV/SDB3 125G 3.3G 115G 3%//dev/sdb1 99M 12M 82M 13%/boottmpfs 3.9G 0 3.9G 0 %/deV/shm succeeded in Umount.
Popular Science DF Command:
Function: Displays the available space for the specified disk file. Parameter:-a list of all file systems
- h Easy to read mode display
-H equals "-H", but the formula, 1k=1000, rather than 1k=1024
-I display inode information
-K block is 1024 bytes
- L show local file system only
-M block is 1048576 bytes
--no-sync Ignore sync command
-P output format POSIX
--sync perform the sync command before obtaining the disk information
-T File system type
In the umount operation above, we used the DF-LH: to display the disk file free space of the local file system in a convenient reading mode.
Popular Science fuser Command:
Role: Use a file or socket to identify a process. Parameters:- K Kill Process- m indicates the file system or block device (in Mount state) where the specified file resides. All processes that access the file system are listed-V Verbose mode
Above the umount operation, if we directly umount will be error: Device is busy, first use FUSER-KM/MEDIA/USB, kill all the process with this file device, and then Umount
Ubuntu VMware Virtual Machine mount mobile device data transfer small record