If the machine has data, you must be very careful when operating. The internal samba server cannot be accessed, and there is nothing in/share. No data is found. Later, I checked it carefully and found that the machine had five hard disks, which seemed to be a soft raid.
1. Run the fdisk-l command to view and find
/Dev/sde1 1 60801 488384001 fd Linux raid autodete
2. cat/proc/mdstat, md0, and md1 are all inactive.
3. I 've taken it all offline for a long time. I am afraid to perform too many oper
language Standard Version name: ECMAScript (ECMA is the European Association of Computer manufacturers, it is said that it may be a standard, in addition to JavaScript to follow this standard, there are xx .... )Jscript (ie's description of the implementation version of the language)ECMA1:
ES3 (ECMASCRIPT3): All Web browsers are implemented. Marks the ECMAScript as a true programming language.
ES4: Hang Up, no official version issued
ES5:2009 year
ES6:2015 year
ES7:2016
Requirements: The virtual machine needs to expand the hard disk capacity, through the Vcenter Edit resource settings, the original 50G expansion to 100G. But not immediately. The following actions are available:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/B1/wKioL1d6mWuCIUL8AAA4Dt_3u9w879.png "title=" Qq20160705011341.png "alt=" Wkiol1d6mwuciul8aaa4dt_3u9w879.png "/>After the modified 100G, log in to the virtual machine to view the following:[Email protected]_test etc]# df-hFile
In this experiment, we need to add two new 30 GB hard disks.
[[Email protected] ~] # Uname-
Linux zzsrv1.localdomain 3.10.0-123. el7.x86 _ 64 #1 SMP mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
We can display the disk without restarting it.
[[Email protected] ~] # Echo "---">/sys/class/scsi_host/host0/scan
[[Email protected] ~] # Echo "---">/sys/class/scsi_host/host1/scan
[[Email protected] ~] # Echo "---">/sys/class/scsi_host/host2/scan
View Disks
[[Email protected] ~] # Fdisk-
Requirements: The virtual machine needs to expand the hard disk capacity, through the Vcenter Edit resource settings, the original 50G expansion to 100G. But not immediately. The following actions are available:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/B1/wKioL1d6mWuCIUL8AAA4Dt_3u9w879.png "title=" Qq20160705011341.png "alt=" Wkiol1d6mwuciul8aaa4dt_3u9w879.png "/>After the modified 100G, log in to the virtual machine to view the following:[Email protected]_test etc]# df-hFile
The construction of enterprise-level application systems usually stores systems and data separately, and creates raid. The newly installed centos6.5 requires a data disk to be mounted and can be automatically mounted at system startup.
1. Manually mount the disk
View the disk partition information and run the fdisk command.
[[Email protected] TSP] # fdisk-l
Disk/dev/SDB: 1476.5 GB, 1476529225728 bytes255 heads, 63 sectors/track, 179511 CylindersUnits = cylinders of 16065*
Learning from linux-disk management and learning from linux
1: df is used to view the capacity information of mounted disks.
-I. View inodes usage
-H is displayed in proper units
-K-m is displayed in k M units.
2: view the space occupied by a file or directory by du [-abckmsh] [file name and directory name]
The du + directory only lists the sizes of directories and Their subdirectories.
The du-a + directory lists the subdirectories and file sizes.
Commonly used du-sh + directory representation t
When you are young, remember these simple commands and make a small record. Let's take a look at them when you can't remember them.
Environment: Oracle linux 6.3I. View the current partition and File System
[Root @ OEL63 ~] # Df-hFilesystem Size Used Avail Use % Mounted on/Dev/mapper/vg_oel63-lv_root18 GB 11G 5.9G 65%/Tmpfs 496 M 375 M 121 M 76%/dev/shm/Dev/sda1 485 M 55 M 405 M 12%/boot[Root @ OEL63 ~] # Fdisk-lDisk/dev/sda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersU
Tags: CTO. com format com min using res border extended partition1. Add 10G HDD. Hot swap is actually supported on the server2. Fdisk-l View[[emailprotected] ~]# fdisk-l #如果识别不到新插的硬盘, to view the disk, the virtual machine requires a reboot to load the new disk properly. disk/dev/sda:53.7 GB, 53687091200 bytes, 104857600 sectorsunits = sectors of 1 * = bytessector size (logic al/physical): bytes/512 bytesi/o size (minimum/optimal): bytes/
tool for viewing all the partition tables in your system, including all USB devices, using root privileges to execute the following commands:[[emailprotected] ~]# fdisk-ldisk/dev/sda:21.5 GB, 21474836480 bytes, 41943040 sectorsunits = sectors of 1 * 512 = Bytessector Size (logical/physical): bytes/512 bytesi/o size (minimum/optimal): bytes/512 bytesdisk Labe L t
4.8G 37M 4.6G 1%/home
Note The df-h command sees only the partitions and capacities that have been mounted, the hard disk that is not mounted, and the capacity that is not allocated on the existing hard disk, and you can use Fdisk-l to view the physical hard drive.
[root@localhost ~]# fdisk-l disk/dev/sda:214.7 GB, 214748364800 bytes, 419.4304 million sectors Units = Sector of 1 *-The bytes sector size ( Logical/Physical): 512 By
Oracle urgently fixes Bash vulnerabilities, and more than 40 products are still waiting in line
The Shellshock vulnerability was initially estimated to have affected dozens of Oracle products. However, the patches released by Oracle only cover a few products. Currently, there are more unpatched products, includes more than 40 Big Data Appliance, Oracle Communications, Oracle Fusion, and Oracle Switch ES1-24.
Oracle released updates last week to fix B
on the enumerated value. In this way, you can modify the configuration file once, regardless of 3, 100, or 1000, this is the benefit of using the factory model.
However, there is another small problem in the simple factory mode. if an object is added to the factory, the factory class must be added simultaneously if... else... branch, but this problem is not difficult to solve for the Java language, as long as the package path is defined, you can useReflectionYou do not need to modify the factor
collection.Enumset copyOf (enumset s): creates a Enumset collection of the same type as the collection element that specifies a Enumset collection.enumset noneof (Class elementtype): Creating an element type is an empty Enumset collection of the specified enumeration type.Enumset of (e First, E ... rest): creates a collection that contains one or more enumerations that are worth Enumset, and the incoming enumeration values must belong to the same enumeration class.Enumset Range (e from, E to):
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.