]
6. prepare a piece of hard disk space for ASM : You can first view the partitions using the Fdisk-l command. I have a hard drive with no partitions for ASM, Use the fdisk-l command to see this hard drive called SDC, and then we start to partition this hard drive:
[Email protected] ~]# FDISK/DEV/SDC
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF Disklabel
Buildi
to be bound to ASM disk, for example we want to use/DEV/SDC and/DEV/SDD as ASM disks, then:# scsi_id--whitelisted--replace-whitespace--DEVICE=/DEV/SDC1ata_vbox_harddisk_vb36a9e548-1838194a# scsi_id--whitelisted--replace-whitespace--DEVICE=/DEV/SDD1ata_vbox_harddisk_vb9808fc7f-cdf350303. Write the Udev rules file, program write scsi_id command, the result of the above command to write the UUID returned, which is no different from the OEL5, but the syn
Three types of HDD management:Add a disk three steps:1. Add disk 1.1 basic diskThe virtual machine manually adds a hard drive of 1 blocks of 4G size and requires a reboot for the experiment:Fdisk-l List all hard drive names and locations on the system (including new drives)FDISK/DEV/SDB//planning for the newly added SDB driveEnter interaction after execution: Follow the prompts to divideCommon directives in Fdisk interactive modeM: View the Help information for the operation instructionsP: List
1, after the system plugged into the USB device, from the console interface has the following prompt:From the console information, you can see the inserted USB device name.As you can see, the plugged-in USB device is sde4.However, if the CRT tool is remotely connected to the past, you can use the following command to view the USB device.2. Use the LSBLK command to find the USB device nameThe lsblk command lists information for all available block devices and can also show dependencies between th
created, create a logical volume;4. Creating a file system in a logical volume; (Advanced format)5. Mount the load;Management operations for physical volumes:Pvcreate: Create a physical volume and add the disks or partitions you want to add to the volume group to the physical volume;Pvdisplay: Displays details of physical volumes;PVS: Displays simple information about a physical volume;Pvremove: deleting physical volumes;Pvmove: Move all the PE in one physical volume to a different physical vol
System: CentOS 6.3--New partitionFdisk-l/DEV/SDC # Viewing partitionsFDISK/DEV/SDC # Creating partitions: N # New Partition: P # Create primary partition: 1 # Specify the partition number: Enter # Start (default is not filled): +150g # End (set the partition size to 150G, the rest of the space is all divided directly enter)Command (M for help): t # change partition typePartition number (1-4): 1 # Specify pa
org.springframework.context.annotation.Configuration /** * Data configuration, initialization operation * * @author SDC * */@Configurationpublic class Esconfiguration implements FACTORYBEAN DAO layer, data layer, additions and deletions for simple data encapsulation Package Org.githup.es.dao;import Java.util.map;import Java.util.uuid;import Org.elasticsearch.action.admin.indices.create.createindexresponse;import Org.elasticsearch.action.admin.indi
意这里指定分区格式化 ######### #提示信息会显示inode和block的数量 # # #block一般是4K, 100M HDD automatically dropped to 1024l;# #除了根和boot不需要磁盘检查----T une3fs-c 0-i/dev/sdb1;# #mount/dev/adb1/mnt# #写入启动挂载的rc. local; (or: Fstab in the system1.uuid or partition 2. mount point 3. File type 4. mount parameter default 5.0 partition backup no (1 or 0) 6. Disk check (other than ROOT1, 2)Part partitionparted/dev/sdc### #大于2T必须使用, less than can also be usedGun development of the #######
When you get an SD card, you need to format, partition, modify parameters in the Linux environment, please look over.Ubuntu Virtual Machine Environment1, insert, force point, because there may be poor contact, causing the computer is not recognized.2,cat/proc/partions or fdisk-l (some may need to go to get administrator privileges, deei~ command before +sudo on line)For example: cat/proc/partitionsMajor Minor #blocks name 2 0 4 fd0 8 0 167772160 SDA 8 ; 1 163576832 sda1 8 2 1 sda2 8
corresponding to the kernel tree (this is important ~ Kernel version must correspond, many problems are due to the kernel version inconsistency)Burn and write SD card (while cool to *.exe)Linux comes with tool--dd
Format SD card for VFAT format
Mkfd.vfat /DEV/SDB1(here is not wrong, different SD card, hanging in the name may not be consistent, I am here is SDB, also note that here is the SDB1 format, SDB is a partition table, SDB1 is the remaining space of the U disk ... I ju
not the problem, but actually do it, GPT in the NTFS partition in the Win7, want to use this partition as a regular U disk use is not, had to go back to the MBR partition table. If you are moving a hard drive with GPT you should have no problem. So you still use MBR partitions, so you'll need to use Fdisk or cfdisk, you can't use Gdisk and cgdisk that support GPT, and 4k alignment is automatically done. Interestingly, if you want to convert a GPT partition table into an MBR partition table, you
Fdisk View disk
[root@db11g ~]# Cat/etc/redhat-release
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
[root@db11g ~]#
[root@db11g ~]#
[root@db11g ~]# Fdisk-l
disk/dev/sda:32.2 GB, 32212254720 bytes
255 heads, Sectors/track, 3916 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Device Boot Start End Blocks Id System
/DEV/SDA1 * 1 104391 Linux
/dev/sda2 3916 31350847+ 8e Linux LVM
disk/dev/sdb:17.1 GB, 17179869184 bytes
255 heads, Sectors/track, 2088 cylinders
Units = Cyli
burning the image file.
Enter command under Terminal:
sudo dd bs=4m if=xubuntu-13.04-desktop-armhf_odroidu2_20130503.img | PV | sudo dd OF=/DEV/SDC
The ' SDC ' is a disk device file that eMMC originally mounted, noting that it is not ' sdc1 ' or ' sdc2 '. Your device may be ' SDB ' and so on, according to your own device.
If you do not have PV installed, then the command changes slightly, as follows:
s
itself)
3. Grub-install--ROOT-DIRECTORY=/MEDIA/DEV/SDC
Use this command to create a boot sector and grub required files for SDC (personal understanding)
Note that the--root-directory=/media is the parent directory of the Mount point/media/boot, and the understanding can refer to the system/boot directory is also located in the/root directory,
The contents of the/boot depend on whether you mount the boo
The previous introduction of disk storage this time to implement how to manage the disk, how to partition, create file system and other administrative partition commands1. LSBLK list all currently mounted devices[[emailprotected] ~]#lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsr0 11:0 1 3.7G 0 rom sdb 8:16 0 20G 0 disk sda 8:0 0 200G 0 disk ├─sda1 8:1 0 1G 0 part /boot├─sda2 8:2 0 48.8G 0 part /├─sda3 8:3 0 29.3G 0 part /data├─sda4 8:4
information will be logged locally:/var/lib/iscsi/nodes/iqn.2011-09.com. nfschina: rhcs-storage08/
The next time iscsi is started, it will automatically read the information and log on to the device. To cancel Automatic Logon, delete the corresponding folder.
# Iscsiadm-m node-T iqn.2011-09.com. nfschina: nfs-storage24-p 192.168.0.24-l
# Iscsiadm-m node-T iqn.2011-09.com. nfschina: nfs-storage07-p 192.168.0.7-l
Log on to the target device.
After successful logon, you can use fdisk-l to find tw
Lab environment: RedHatEnterpriseLinuxServerrelease5ORALCE10g10.2.0.1 I. Disk planning partition my lab machine has three hard disks, sda, s
Lab environment: Red Hat Enterprise Linux Server release 5 ORALCE 10g 10.2.0.1 I. Disk planning partition my lab machine has three hard disks, sda, s
Lab environment:Red Hat Enterprise Linux Server release 5ORALCE 10g 10.2.0.1
I. Disk planning and partitioningMy lab machine has three hard disks, sda, sdb, and sdc
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.