Download EC2 User Guide for Linux - Documentation
Transcript
Amazon Elastic Compute Cloud User Guide for Linux Instances EBS Performance Note • This step may take several minutes up to several hours, depending on your EC2 instance bandwidth, the IOPS provisioned for the volume, and the size of the volume. Using dd: The if (input file) parameter should be set to the drive you wish to initialize. The of (output file) parameter should be set to the Linux null virtual device, /dev/null. The bs parameter sets the block size of the read operation; for optimal performance, this should be set to 1 MB. [ec2-user ~]$ sudo dd if=/dev/xvdf of=/dev/null bs=1M • Using fio: If you have fio installed on your system, you can copy and paste the command below to initialize your volume. The --filename (input file) parameter should be set to the drive you wish to initialize. Note To install fio on Amazon Linux, use the following command: sudo yum install -y fio To install fio on Ubuntu, use the following command: sudo apt-get install -y fio [ec2-user ~]$ sudo fio --filename=/dev/xvdf --rw=randread --bs=128k -iodepth=32 --ioengine=libaio --direct=1 --name=volume-initialize When the operation is finished, you will see a report of the read operation. Your volume is now ready for use. For more information, see Making an Amazon EBS Volume Available for Use (p. 578). RAID Configuration on Linux With Amazon EBS, you can use any of the standard RAID configurations that you can use with a traditional bare metal server, as long as that particular RAID configuration is supported by the operating system for your instance. This is because all RAID is accomplished at the software level. For greater I/O performance than you can achieve with a single volume, RAID 0 can stripe multiple volumes together; for on-instance redundancy, RAID 1 can mirror two volumes together. Amazon EBS volume data is replicated across multiple servers in an Availability Zone to prevent the loss of data from the failure of any single component. This replication makes Amazon EBS volumes ten times more reliable than typical commodity disk drives. For more information, see Amazon EBS Availability and Durability in the Amazon EBS product detail pages. If you need to create a RAID array on a Windows instance, see RAID Configuration on Windows in the Amazon EC2 User Guide for Microsoft Windows Instances. Contents • RAID Configuration Options (p. 624) • Creating a RAID Array on Linux (p. 625) RAID Configuration Options The following table compares the common RAID 0 and RAID 1 options. 624
Related documents
Amazon Elastic Compute Cloud User Guide for Linux
Amazon Virtual Private Cloud User Guide
Amazon Elastic Compute Cloud User Guide for Microsoft Windows
AWS Tools for Windows PowerShell User Guide
AWS Command Line Interface User Guide
Erste Schritte mit AWS
UDOO Starting manual (beta)
IST-FP6-034286 SORMA D5.3 Integrated SORMA system & System
Downloading - All IT eBooks
Ubuntu Server Guide
User`s Guide energyPRO
Ubuntu Server Guide