1, use the root user to view the disk mount situation: Fdisk-l
2, use DF to view the current disk mount, based on the results of fdisk-l and compare to see those disks are not used
3. Mount: Mount disk Mount Path
Un-mount
Umount/dev/sdb1
Re-mount
Mount/dev/sdb1/home/msgplusdata
Having the Linux system mount automatically when booting requires that the root user be configured in the Fstab file
mvas-85:~ # Vim/etc/fstab
To format a disk:
1. Use Umount to cancel disk mount
2. Format the disk with MKFS.EXT3/DEV/SDC
Mvas-85:/home # MKFS.EXT3/DEV/SDC
Rsync
1, view the status of Rsync
Mvas-85:/home/msgplusdata # service RSYNCD status
Checking for rsync daemon: unused
2, start rsync using the service RSYNCD Start command
Mvas-85:/home/msgplusdata # service RSYNCD start
Disk Soft Connect
1, delete the local needs of the soft connection directory, such as: Remote_dir
2. Using the ln command soft connection, command format: Ln-s soft-Connect directory is soft-connected directory
[Email protected]:~/msgplus> ln-s/home/msgplusdata/remote_dir Remote_dir
Command parameters:
Necessary parameters:
-B Delete, overwrite previously established link
-D allows super users to make hard links to directories
-F Force Execution
-I interactive mode, file presence prompts the user whether to overwrite
-N treats symbolic links as generic directories
-S soft link (symbolic link)
-V displays detailed processing procedures
Select parameters:
-S "-s< tail backup string >" or "--suffix=< tail backup string >"
-V "-v< backup method >" or "--version-control=< backup method >"
--HELP Display Help information
--version displaying version information
Linux disk Mount