2016-01-30 Mount Failure Problem resolution[Email protected] ~]# MOUNT/DEV/SDC/DTAMount:you must specify the filesystem type[Email protected] ~]#[Email protected] ~]# mount-t ext4/dev/sdc1/dataMount:wrong fs type, bad option, bad Superblock ON/DEV/SDC1,Missing codepage or helper program, or other errorIn some cases useful info are found in Syslog-tryDMESG | Tail or so[[emailprotected] ~]# cat/proc/filesystemsnodev sysfsnodev rootfsnodev bdevnodev procnodev Cgroupnodev Cpusetnodev tmpfsnodev de
large business, semi-synchronous is also relatively weak situation, performance loss is large.Installation usebelow to see how to install the use of semi-synchronous, most of the MySQL itself is not preloaded with semi-synchronized components, need to install additional, but the general MySQL package will bring the so file, so as long as the manual loading can be used.First check if there's no outfit.Mysql> Show plugins;Find out if there are semisync letters, there is is installed, no is not in
log, location of all log stores2.3 ls CommandLs-l Listing Details[[emailprotected] ~]# ls-l anaconda-ks.cfg rw-------. 1 root root 1464 May 22:25 anaconda-ks.cfgls-i List i node information [[emailprotected] ~]# ls-i anaconda-ks.cfganaconda- Ks.cfgls-lh-h display file size in a clearer, readable manner [[emailprotected] ~]# ls-lh anaconda-ks.cfg rw-------. 1 root root 1.5K May 22:25 anaconda-ks.cfgls-la-a Show hidden files or directories [[emailprotected] ~]# ls-la total usage 32dr-
{} \;/bin/find: '/enterprise Db_backup/postgresql/network-scripts ': No such file or Directory[[email protected] ~]# echo $?1
Obviously, the above command returned the wrong result, but the customer reflected that the data in the folder 7 days before the script execution was deleted.
Problem Analysis:
To reproduce the failure. This issue is analyzed in a separate server that performs the find command by simulating data alone. Test steps such as the following:
CADisplayLink for iOS Core Animation seriesFor a long time, I have always wanted to learn CoreAnimation, but there are too many things involved. If I want to finish it all at once, I won't allow it. In the future, I will make up for it intermittently. CADisplayLink was used in the recent project, so I took some time to look at it. I. Introduction 1. The CADisplayLink framework is the same as other CoreAnimation classes and is in QuartzCore. framework. 2. The main feature of the function CADispla
IOS development,Principle FPS computing
CoreAnimation has a very useful classCADisplayLinkThis class is called before each frame is drawn and can obtain the timestamp. Therefore, we only need to calculate the number of frames in 1 s.
-(Void) envokeDisplayLink :( CADisplayLink *) displayLink {if (_ lastTimestamp =-1) {_ lastTimestamp = displayLink. timestamp; return ;}_ countPerFrame ++; NSTimeInterval int
(Data);/* if (current = head) {// if it is a header, consider the back pointer of the header, the front pointer of the back pointer of the original header, newLink. next = current. next; current. next. previous = newLink; // newLink. previous = current; // current. next = newLink;} else if (current = rear) {// newLink. next = null; rear = newLink; // current. next = newLink; // newLink. previous = current;} else {newLink. next = current. next; current. next. previ
[Email protected] home]# chmod 766 test.txt[Email protected] home]# ls-l-rwxrw-rw-. 1 root root 0 April 19:47 test.txtThen we found that the file permissions became what we just needed. owner=rwx, group=rw-, other=rw- The above-mentioned way to modify the permissions of the file is relatively simple, but if you do not know R, W, x the corresponding number of three permissions to represent the meaning of the estimate is a bit difficult to understand, so here is another way to change the file per
chmodAction: Change file or folder permissionsComments:A All UsersU ownerG All Groupso Other personsrwx corresponding permissions are 4, 2, 1, respectivelyCommon options:-R recursively iterates through subdirectories and changes them to all files and subdirectories in the directoryInstance:[[emailprotected]~]#touch123[[emailprotected]~]#mkdir321[[ emailprotected]~]#lltotal4-rw-r--r--1rootroot 0mar3112:39123drwxr-xr-x2rootroot4096mar31 12:39321[[emailp
1. Open Folder command: CDCd/dirExample: Opening the ETC directorycd/etc/2. View current directory command: PWDExample: Current Location/tmptmp]# pwd/tmp3. View all files and folders under current path: LSExample: currently under the/etc/sysconfig/network-sprits directorynetwork-scripts]# lsIfcfg-eth0 ifdown-isdn ifup-aliases Ifup-plusb Init.ipv6-globalIfcfg-lo ifdown-post IFUP-BNEP ifup-post net.hotplugIfdown ifdown-ppp Ifup-eth ifup-ppp network-functionsIFDOWN-BNEP ifdown-routes ifup-ippp ifup
Tags: trie ttl intermediate performance file in query LAN order GitHubResources:
YCSB GitHub Address: Https://github.com/brianfrankcooper/YCSB
Wiki:https://github.com/brianfrankcooper/ycsb/wiki
Installation reference: Https://github.com/brianfrankcooper/YCSB/tree/master/mongodb
Some previous Test experience: http://www.sdpnosql.net/index.php/archives/3/http://www.sdpnosql.net/index.php/archives/13/
1 installationInstall JAVA,MVN,YCSB based on a reference document (HTTP
The project needs to test the performance of MongoDB, see the next online many practices are tested using YCSB, so began to learn to use YCSB.Resources:
YCSB GitHub Address: Https://github.com/brianfrankcooper/YCSB
Wiki:https://github.com/brianfrankcooper/ycsb/wiki
Installation reference: Https://github.com/brianfrankcooper/YCSB/tree/master/mongodb
Some previous Test experience: http://www.sdpnosql.net/index.php/archives/3/http://www.sdpnosql.net/index.php/archives/13/
#ls命令: The LS command can not only view the files contained in the Linux folder, but also can view the file permissions (including directories, folders, file permissions), view directory information, etc. [Email protected]_168_102_centos/]# lsbin data etc Lib lost+found mnt proc sbin SRV tmp varboot Dev home lib64 media opt root SELinux sys usrLs–a: Show all files, including the. Start of hidden files [Email protected]_168_102_centos/]# ls-A. Readahead
CentOS7.3 compile and install Python3.6.2,
I am using CentOS7.3 to install Python3.6.2
1. Check whether Python has been installed.
Centos7 is installed with Python2.7.5 by default, because some commands use it, such as yum, which uses python2.7.5.
Run the python-V command to check whether Python is installed:
# python -VPython 2.7.5
Check the location of the Python executable file:
# which python/usr/bin/python
Go to the bin directory:
# Cd/usr/bin/# ls-al python * lrwxrwxrwx. 1 root 34 August 2
07:29:12 CST
In actual application, you can select or omit command options as needed, and the command options and parameters can be combined with the command name in any form. For example, the following command only consists of a command and a command option "-n". The omitted command parameter is used to list the system name.
[root@centos6 ~]# uname -ncentos6.5_X64
The following commands are composed of command names and command parameters, while the command options are omitted. they are used t
backupset; # defaultCONFIGURE datafile backup copies for device type disk to 1; # defaultCONFIGURE archivelog backup copies for device type disk to 1; # defaultCONFIGURE maxsetsize to unlimited; # defaultCONFIGURE encryption for database off; # defaultCONFIGURE encryption algorithm 'aes128 '; # defaultCONFIGURE archivelog deletion policy to none; # defaultCONFIGURE snapshot controlfile name to '/opt/oracle/product/10.2.0/dbs/snapcf_ge02.f'; # default
Ii. Compare the AIX that can be backed up no
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.