Test the hard disk read/write speed in linux.
After buying an ssd hard disk, I want to compare it with an ordinary mechanical disk. Because the desktop is installed with the ubuntu system, I just want to use the linux Command for a simple test.
The following are ssd perform
The following step-by-step article describes how to configure shared disk Cluster for SQL Server on a red Hat Enterprise Linux system and its associated use (for test-only learning, basic article)I. Creating shared disks and ClusterMicrosoft Official configuration document: Https://docs.microsoft.com/en-us/sql/linux/sql-server-
network adapters.
3Com 3c509
NE2000 compatibles
Tulip-based
Intel EtherExpress PCI
About Software:
It is very easy to make a floppy disk that can be guided by FLOPPYFW. But you have to go to http://www.zelow.no/floppyfw/download/first to download FLOPPYFW to your computer's hard disk. FLOPPYFW the latest version should be 1.0.5 or higher, FLOPPYFW is a mirrored file that can be used
# dd if=floppyfw-1.0.5.
In linux, the fdisk command is usually used to learn disk partitions. of course, for disks smaller than 2 TB, we basically use the fdisk command for partitioning. below we will briefly introduce the basic commands and scenario simulation common commands for fdisk operations on disks. fdisk-fdisk for linux system disk p
.
After the system is installed, use MiniTool Partition Wizard Home Edition 7.0 to plan the hard disk. Directly, which will be explained later.
A total of 1.86 TB,
Windows:
GB system partition, primary partition
231.5G game installation
Download files GB
G download game
GB software installation
150G tool
Shared hard disk:
GB documentation
331.5G various music,
On a Linux server, when the partition planning of an existing hard disk does not meet the requirements (eg: too little space left on the root partition to continue installing a new System program), the partitions on the hard disk need to be redesigned and adjusted, and sometimes new hard disk devices need to be added t
I. Detection of New Hard Disks[Root @ localhost ~] # Fdisk-l list all hard disk devices and their partition information in the current systemThe list information has the following parameters:Device: the name of the Device file in the partition.Boot: whether it is a Boot partition. If it is a Boot partition, It is identified "*".Start: Start position of the partition in the hard disk (number of cylinders)End
device. The sector size of the MBR is typically 512 bytes. The first 446 bytes are used to store bootloader, and the next 64 bytes are partitioned tables, where each 16 bytes identifies a primary partition, so a hard disk supports up to four primary partitions, and the last 2 bytes are 5A (hexadecimal), also known as the encapsulation code, to identify if the hard disk is bootable.MBR determines that the h
consistent with the probability statistics.
B. Test the disk I/O read speed.# Df-mFilesystem 1M-blocks Used Available Use % Mounted on/Dev/mapper/VolGroup00-LogVol0019214 9545 8693 53%//Dev/sda1 99 13 82 14%/bootNone 506 0 506 0%/dev/shm
# Time dd if =/dev/mapper/VolGroup00-LogVol00 of =/dev/null bs = 8 k2498560 + 0 records in2498560 + 0 records out247.99 s real 1.92 s user 48.64 s systemThe above test reads 247.99 MB of files in 77.48 seconds, and t
The Linux partition differs from the Windows,linux under the hard drive device name (IDE hard disk is HDX (x is from a-d) because the IDE hard disk is up to four, the SCSI,SATA,USB hard disk is SDX (x is a-Z), the hard disk primar
10 df commands for viewing disk space in Linux or Ubuntu
In Linux, you can use the command line tool named df to check disk space. The df command represents the disk file system. Using the df command, you can find the
impact on their work. Administrators can help users to retrieve the use of disk space, or increase the user's quota as needed.1. Reporting disk quotasCreating a disk usage report requires running the Repquota tool. For example, the Repquota/home command produces the following output:Report for user quotas on Device/de
LVM disk management
1. LVM introduction... 1
Ii. Basic Terms of LVM... 2
3. Install LVM... 3
4. create and manage LVM... 4
2. Create PV .. 6
3. Create VG... 7
4. Create LV .. 9
5. LV formatting and mounting... 10I. Introduction to LVM
LVM is short for Logical Volume Manager (Logical Volume management), which is implemented by Heinz Mauelshagen on the Linux 2.4 kernel. LVM logically sets partitions of one or
Tags: enc windows GPT before writing for primary start runI. Description of FDISK commandFDISK is a partition management tool under Linux, and it is a type of tool software such as partition Assistant under Windows. Anyone who has a sub-zone installed operating system knows that hard disk partitioning is necessary and
partition, with the MBR not being together.To create a partition:Fdisk, Sfdisk, partedTo view the disks available to the system: fdisk-lView disk usage in detail: fdisk-l/dev/sd[a-z]The FDISK command is detailed-D: Delete a partition-N: Create a partition-P: Disk partition information-W: Save exit-Q: Do not save exit-L: View the system ID for each partitionFidisk-l/dev/[sh]d[a-z]To see if the system kernel
I. df commandDF comes from the coreutils software package and comes with it during system installation. We can use this command to view the disk usage and the location where the file system is mounted. For example:
[Root @ localhost beinan] # DF-lHFilesystem capacity in use available % mount point/Dev/hda8 11g 6.0g 4.4g 58%//Dev/SHM 236 M 0 236 m 0%/dev/SHM/Dev/sda1 56G 22g 35g 39%/mnt/sda1We can see that the system is installed in/dev/hda8; there is
Step 4: Format and mount the data disk
If you select a data disk when you create an instance, after you log on to the instance, the system needs to format the data disk and mount the data disk.
In addition, you can configure the data disk in multiple partitions according t
/linux/201410/45618.htm
2./dev/hdb The overall data back to the specified path image file
DD if=/dev/hdb f=/root/image hdb–> memory-> image file
3. Restore the backup file to the specified disk
DD if=/root/image f=/dev/hdb image file –> memory-> HDB
4. Backup/DEV/HDB overall data, and use the Gzip tool to compress, save to the specified path
DD If=/dev/hdb
Fio is a great tool for testing IOPS, for stress testing and validation of hardware, supporting 13 different I/O engines,includes: Sync,mmap, Libaio, Posixaio, SG v3, splice, NULL, network, Syslet, Guasi, Solarisaio, etc. FIO website address: http://freshmeat.net/projects/fio/One, FIO installationwget http://brick.kernel.dk/snaps/fio-2.0.7.tar.gzYum Install Libaio-develTAR-ZXVF fio-2.0.7.tar.gzCD fio-2.0.7 MakeMake Installtwo, Random Read test:Random
, primary Partition
231.5g game Installation
Download files GB
G download game
GB Software Installation
150G Tool
Shared Hard Disk:
GB documentation
331.5g various music, movies, pictures
Linux: use the latest fedora20
300 M boot partition, primary partition, no raid, because grub2 does not support raid, so boot is separately divided
300 M boot backup partition,
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.