Small Data transfer records mounted to mobile devices on UbuntuVMware Virtual Machine

Source: Internet
Author: User

Small Data transfer records mounted to mobile devices on UbuntuVMware Virtual Machine
Cause

Generally, data is transmitted to VMware, except that mobile devices are mounted on the network.

It is really disgusting to build the network. However, during the competition, I used the network. At that time, I remember that xen had several virtual machines and then used tomcat to build a server on the physical machine, put things in it and access and download from the virtual machine. This method is not good. It can only be transmitted unilaterally, but it is enough at that time.

In fact, it is easy to mount.

This article is for your convenience. Nothing new. Do not spray for the elderly.

Data transmission operation description: The VMware version is 7.0. Step 1: Choose VMWare & gt; VM & gt; Removable Devices to select the desired USB flash drive or mobile hard drive. Step 2:
Sudo-s/* enter root */fdisk-l/* To find your mobile device name, for example, I am/dev/sda1 */mount/dev/sda1/media/usb/* Where/media/usb is where you want to attach */
Step 3: cp/media/usb/your_data /*. */root/home/Desktop/your_data copy the data. Step 4: Use the umount command directly and report the error "device is busy ".
[Root @ ubuntu: ~] # Df-lhFilesystem Size Used Avail Use % Mounted on/dev/sdb3 125G 3.3G 115G 3% // dev/sdb1 99 M 12 M 82 M 13%/boottmpfs 3.9G 0 3.9G 0%/dev/shm/dev/sda1 275G 72G 189G 28%/media/usb is the/dev/sda1. When umount command is used, umount/media/usb or umount/dev/sda1 will prompt that the device is busy: umount device is busy. Solution: [root @ ubuntu: ~] # Fuser-km/media/usb [root @ ubuntu: ~] # Df-lhFilesystem Size Used Avail Use % Mounted on/dev/sdb3 125G 3.3G 115G 3% // dev/sdb1 99 M 12 M 82 M 13%/boottmpfs 3.9G 0 3.9G 0%/dev/shm/dev/sda1 275G 72G 189G 28%/media/usb [root @ ubuntu: ~] # Umount/media/usb [root @ ubuntu: ~] # Df-lhFilesystem Size Used Avail Use % Mounted on/dev/sdb3 125G 3.3G 115G 3% // dev/sdb1 99 M 12 M 82 M 13%/boottmpfs 3.9G 0 3.9G 0%/dev/shm succeeded in umount.
Command: function: displays the available space of the specified disk file. Parameter:-a list Of all file systems
-H: Easy reading mode display
-H is equal to "-h", but the formula is 1 K = 1000, instead of 1 K = 1024.
-I: displays inode information.
The-k block is 1024 bytes.
-L only displays the local file system
-The m block is 1048576 bytes.
-- No-sync ignore the sync command
-P output format is POSIX
-- Sync: run the sync command before obtaining disk information.
-T file system type

In the above umount operation, we used df-lh: to display the available disk space of the local file system in a convenient way. Popular fuser command: function: Identify processes using files or sockets. Parameters: -K kill Process -M indicates the file system or block device where the specified file is located (in the mount State ). All processes accessing the file system are listed.-V verbose mode
In the above umount operation, if we directly umount, the error will be reported: device is busy, first use fuser-km/media/usb to kill all processes that use this file device, and then umount

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.