1) related format for mount:Mount "-t file type""-o option" Devicedir
Explanation: -T file type , usually the default mount will automatically select the correct type, usually type EXT2/EXT3/EXT4, and so on.
the common types are:
disc or disc Image:iso9660
Fat16
Fat32
The 0 option is mainly used to describe the device or file hook-up method, commonly used parameters are:
Loop : Used to treat a file as a hard disk partition
Note: To create a close image file from the shutdown, insert the disc into the CD-ROM operation:
2. Mount the disc Image:
Mount-o loop-t iso9660 /home/sunky/mydisk.iso/mnt/vcdrom
Note: You can access all the files in the disk image file Mydisk.iso using/mnt/vcdrom.
Hooking up a removable hard disk
3. Mount u disk:
Mount–t Vfat–o Iocharset=cp936/dev/sdd1/mut/usb
Ii. problems encountered when mounting:
The error is as follows:
1. mount point does not exist, may be mounted directory not, view mount directory exists.
2. Prompt in error, file type wrong, DMESG | tail error:can ' t find ext3 filesystem on Dev sdb2, error, this need to check if the partition has formatting, such as, MKFS.EXT4 device.
III. related issues with formatted partitions:
1. MKFS related uses of:
The format is as follows: MKFS [-v] [-t fstype] File type device
- v : Verbose display mode
- T : Given the format of the file system, Linux has a default value of Ext2.
C: before making the file system, check whether the partition has a bad track.
2. Mkfs formatting problems encountered:
The error is as follows:/DEV/SDB1 is apprarently on use by the system; won't make a filesystem here!)
Here's how to fix it:
1) use Dmsetup status to see if a device is linear
2) If there is a linear device, then Dmsetup remove_all
3) clears after the Dmsetup status check has been cleared.
4) now it's time to format it.
Linux Server partition formatting knowledge-mount