In vmware linux, after a new disk is added, refresh the disk, scan the SCSI bus again, and add the SCSI device without restarting the VM.
[Root @ centos4 scsi_host] # ls
Host0 host1 host2
[Root @ centos4 scsi_host] # fdisk-l
Disk/dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1*512 = 512 bytes
Sector size (logical/physical): 512 bytes/
Hot Standby shell script file mysql1 # cat mysqlbackup. sh #! /Usr/local/bin/fish # The backup policy is daily full backup # set the backup path variable set backupdir/usr/db/backup # generate the backup Directory mkdir-p $ backupdir # Delete the backup time backup for more than one month find $ backupdir/-mtime + 30-type d-delete # Start backup innobackupex -- user = root -- password = 'yue5bkgof $ '-- parallel = 12 $ backupdir/ mysql1 # cd/usr/db/backup/mysql1 # mysql1 # lltotal 442drwxr-xr-x
1, what is Ace (slightly)
2, what is Proactor (slightly)
3. Example:/ace_wrappers/examples/reactor/proactor/test_proactor
3.1. Operating Environment
172.16.34.11:winxp
172.16.33.34:linux (version slightly)
172.16.33.23:solaris (version slightly)
3.2, 34.11 as the server side, 33.34 as the client:
Server Side starts First:
D:/share/ace_server_code/ace_wrappers5.4/examples/reactor/proactor>test_proactor-d C:/test.txt
Client initiates send file:
[Jcwang@portal proactor]$./test_proactor-h 172.16.
display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only)Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-2610, default 1): Using default value 1Last cylinder, +cylinders or +size{K,M,G} (1-2610, default 2610): +10GCommand (m for help): pDisk /dev/sdb: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 *
Linux disk relationship knowledge
I have learned more or less about linux disk management, including hard disks, logical disks, and lvm, however, I encountered a lot of problems and confusions when I checked the linux database yesterday. I also reviewed the related knowledge.
First, let's take a look at the disk situation: df-k
File System 1 K-block used available % mount point
/Dev/mapper/vg_sspdb1-lv_root
51606140 2754580 46230120 6%/
Tmpfs 32984140 0 32984140 0%/dev/shm
/Dev/sda1 495844 38042
1. database information operating system version: OEL6.5x64 database version: Oracle11.2.0.4x64RAC ..
1. database information operating system version: OEL6.5x64 database version: Oracle11.2.0.4x64RAC ..
1. Database Information
Operating system version: OEL6.5 x64Database Version: Oracle 11.2.0.4 x64 RACThis article adds a storage disk to oracle 11.2.0.4 x64 RAC for OEL6.5 and merges it into the original ASM volume group to expand the storage space. The detailed modification process is as follo
low 12bit) is required for addressing the physical page."Pagetable" (page table), a page table with a size of 4KB, placed in a physical page. Consists of 512 8-byte PTEs (page table entries). The size of the page table entry is 8 bytes (64 bits), so there are 512 page table entries in a page table. The contents of each item in the page table (8 bytes, 64 bits) low 12 bits after the M-12 bits are used to pu
frequently used)
Assembly mode:Soft raid is system-based. When the original system is damaged, we need to re-assemble the raid.-A (for example, mdadm-A/dev/md1/dev/sdb5/dev/sdb6)Zeng Long Mode:
Used to add disks and resize Arrays
-G (for example, [root @ localhost ~] # Mdadm-G/dev/md2-n 4)
View:Mdadm-D/dev/md # (displays raid array details)Cat/proc/mdstat (view raid status)
--------------------------------------------------------------------------------Next, let's try the specific operation !!
Centos disk partition resizing
The procedure is as follows:
Step 1. view the current partition of the Local Machine[Root @ linuxidc ~] # Df-hFile System capacity in use available % mount point/Dev/mapper/VolGroup-lv_root7.7G 7.1G 155 M 98%/Tmpfs 3.9G 296 K 3.9G 1%/dev/shm/Dev/sda1 485 M 64 M 396 M 14%/boot/Dev/sda3 83G 350 M 79G 1%/mediaStep 2. view the local disk[Root @ linuxidc ~] # Fdisk-l
Disk/dev/sda: 107.4 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylindersUnits = cylinders
Linux disk relationship knowledge and linux disk experience
I have learned more or less about linux disk management, including hard disks, logical disks, and lvm, however, I encountered a lot of problems and confusions when I checked the linux database yesterday. I also reviewed the related knowledge.
First, let's take a look at the disk situation: df-k
File System 1 K-block used available % mount point
/Dev/mapper/vg_sspdb1-lv_root
51606140 2754580 46230120 6%/
Tmpfs 32984140 0 32984140 0%/dev/
What is the difference between directly attaching a hard disk and attaching a partition in Linux ?, Linux mountingZookeeper
1. Problem
What is the difference between directly mounting a hard disk and attaching a partition in Linux?For example, the hard disk of/dev/sdb can be mounted directly after mkfs. ext4/dev/sdb,And fdisk partitioning, used in mkfs in mount,What is the difference between the two?
2. Answer 1
Are you sure you don't need to partition? Instead of dividing a hard disk into one
Linux disk and File System Management (1) _ partition formattingLinux disk management Hard Disk: mechanical hard disk SSD solid state disk mechanical: track sector: minimum texture storage unit, each sector size is 512 bytes cylinder cylindrical: partition basic unit; the first sector of the hard disk is 512 bytes MBR: Master Boot Record the hard disk Master Boot records MBR accounted for 446 bytes: the boo
What is the difference between directly mounting a hard disk and attaching a partition in Linux?Zookeeper
1. Problem
What is the difference between directly mounting a hard disk and attaching a partition in Linux?For example, the hard disk of/dev/sdb can be mounted directly after mkfs. ext4/dev/sdb,And fdisk partitioning, used in mkfs in mount,What is the difference between the two?
2. Answer 1
Are you sure you don't need to partition? Instead of dividing a hard disk into one partition?Direct us
Tags: bin pts 1.4 Sys creating DOS/ETC nbsp CRCFirst, disk formatDisk partition can not be used directly, you need to format each partition, formatting is actually installed system files.Command mke2fs: Formatting into XFS system files is not supportedMKFS.EXT4 = = mke2fs-t ext4 two commands equal-B: Sets the amount of space that each data chunk occupies when partitioning-I: Indicates the size of the inode is set-N: Indicates data for inode setting-C: Indicates if there is a problem detecting th
verify the partition table
W write table to disk and exit
X extra functionality (expertsonly)
Command (m for help): p
Disk/dev/sdb: 96.6 GB, 96636764160 bytes
255 heads, 63 sectors/track, 11748 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal):
Nandflash driver porting series Article Navigation:
Nandflash driver porting (1)
Nandflash driver porting (2)
Nandflash driver porting (III)
Nandflash driver porting (4)
Nandflash driver porting (5)
Nandflash driver porting (6)
Six in total
Here we will introduce the nfcon and nandflash control registers in the cloud6410cpu.
8.1 OverviewRecently nor Flash Memory price has increased and PR ice for SDRAM and a nand flash memory is moderatly placed.The 6410 is equipped with an internal SRAM buf
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.