specific target[[emailprotected] ~]# iscsiadm--mode node--targetname iqn.2015-09.com.node:tgt1--portal 192.168.221.130:3260# BEGIN RECORD 6.2.0-873.13.el6node.name = IQN.2015-09.COM.NODE:TGT1NODE.TPGT = 1node.startup = Automaticnode.leading_ Login = noiface.hwaddress = ........................8. Then list the disks that are used, and FDISK lists all the logged-on certified disks[[emailprotected] ~]# fdisk-ldisk/dev/sda:21.5 GB, 21474836480 bytes255 heads, sectors/track, 2610 cylindersUn its = c
A brief description of the MD5 algorithm is: MD5 handles the input information in 512-bit groupings (512-bit grouping?). Remove 512 bits of data per processing? ), Each grouping is divided into 16 32-bit sub-groupings (16 times 32 is just 512), After the processing of some columns (how to deal with it?) ), the output o
sudo fdisk-lsudo fdisk/dev/sdbHelp commandCommand (mfor help): mCommand ActionA toggle a bootable flagb Edit BSD DisklabelC Toggle the DOS compatibility flagD Delete a partitionL list known partition typesM Print this menun Add a new partitiono Create a new empty DOS partition tableP Print the partition tableQ Quit without saving changess create a new empty Sun Disklabelt change a partition ' s system IDU Change display/entry unitsV Verify the partition tableW Write table to disk and exitX Extra
hard drive1. Check the current drive usage status:Df-h2. To view the new hard drive, DISK/DEV/SDA 4T hard drive is required to mount.#fdisk –lDevice Boot Start End Blocks Id System/DEV/SDB1 * 1 512000 LinuxPartition 1 does not end on cylinder boundary./DEV/SDB2 36405 291908608 8e Linux LVMdisk/dev/sda:4000.8 GB, 4000787030016 bytes255 heads, Sectors/track, 486401 cylindersUnits = Cylinders of 16065 * 8225280 bytesSector size (logical/physical): bytes/512
recovery.
Disadvantage: write performance is slightly worse than RAID 0 + 1 (same read performance)
My ideas
The newly added hard disks are divided into four 1G areas, namely 1, 2, 3, and 5.
Convert each two to a RAID 1 volume/dev/md {1, 2}
Convert the two RAID 1 volumes into a RAID 0 volume/dev/md0
Convert RAID 0 to pv and vg
Then create your own space through lv
This space is RAID 1 + 0.
Detailed implementation process
Here we add a hard disk 2 for the experiment.
We do not want to resta
be displayed directly, but it is not mounted, you can click the USB flash drive with the mouse to display the file.++ ++Format a USB flash drive as an example:# Sudo umount/dev/sda1 // You must uninstall the partition first.
Format as a FAT partition# Sudo mkfs. vfat-F 32/dev/sdb1 //-F parameters must be capitalized. The parameters include and 32, which correspond to FAT12, FAT16, and FAT32 respectively.++ ++
Disk/dev/sda: 250.1 GB, 250059350016 bytes255 heads, 63 sectors/track, 30401 cylinders
integrated with the motherboard, it has become a choice for players, especially those who need large storage space, such as video and audio production.
The initial RAID is divided into different levels, each of which has its own theoretical advantages and disadvantages. Different Levels strike a balance between the two targets, increasing data reliability and increasing storage (group) read/write performance. Over the years, applications with different RAID concepts have emerged.How to Create a
disk, seeRational Planning of your hard disk partition
Iii. fdisk-lView hard disk and partition information;
Plan your hard disk partition properly, We know that the total number of primary partitions (including extended partitions) cannot exceed four, nor can we enclose extended Partitions between primary partitions. According to this principle, it is easier to divide hard disk partitions and reduce unnecessary troubles in the future;1. Use fdisk-L to view the number of hard disks mounted
1. Shut down the VM, select Settings, add the hard disk, create a virtual disk, select the SCSI type, set the disk capacity, and specify the name of the stored operating system file.
2. log on to the VM and switch to the root user,
Root @ openstack :~ # Fdisk-l
Disk/dev/SDB: 42.9 GB, 42949672960 bytes255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectorsUnits = sectors of 1*512 = 512 bytesSecto
hard disk partitions, we know that the total number of primary partitions (including extended partitions) cannot exceed four, nor can we enclose extended Partitions between primary partitions. According to this principle, it is easier to divide hard disk partitions and reduce unnecessary troubles in the future;
1. Use fdisk-L to view the number of hard disks mounted to the machine and the partition information;
[Root @ localhost beinan] # fdisk-l
Disk/dev/hda: 80.0 GB, 80026361856 bytes
255 hea
. Before inserting a mobile hard disk, use fdisk-l or more/proc/partitions to view the system's hard disk and hard disk partition.
[Root at pldyrouter/] # fdisk-l
Disk/dev/sda: 73 dot 4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sda1 1 4 32098 + de Dell Utility
/Dev/sda2*5 2554 20482875 7 HPFS/NTFS
/Dev/sda3 2555 7904 42973875 83 Linux
/De
Linux tips 5-format a USB flash drive and linux tips 5 --
Generally, it is very easy to format a partitioned USB flash disk. You only need to use The mkfs command to specify the target file system. The example is as follows:
$ sudo fdisk -l$ sudo mkfs -t vfat /dev/sdb1
The-t parameter is the target file format. Other parameters include ext3 and msdos. The default value is ext2.We can also use the following simple command to do this:
mkdosfs(8), mke2fs(8), mkfs.bfs(8), mkfs.ext2(8), mkfs.ext
the terminal and run
sudo gparted
The gparted tool will be opened, right-click the gray unallocated area, create and format a file system in ntfs format (after the operation is complete, remember to click the application above the interface), and shut down.Install win7
Plug in the boot disk of Windows 7 after shutdown. Similar to opening the boot disk of ubuntu, install Windows 7 in the new partition.
After the installation is complete, the system will automatically enter the windows system. If
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.