On scaleio, xtremsw cache can be deployed in two ways:
Xtremsw cache is used inside each server as cache-cache is implemented under scaleio Data Server (SDS), which is similar to the concept of vnx fast cache or Vmax cache in the traditional SAN world.
Use the xtremsw cache on the application side as the cache-perform the cache under scaleio Data Client (SDC). This concept is similar to the server side caching in the data center.
Caching in
Build one of the basic Linux frameworks
Building a Linux by yourself can not only deepen your understanding of Linux, but also help you learn embedded Linux. The process of building a Linux (kernel compilation, file system creation, graphical interface, driver, etc.) is basically the same as that of developing an embedded Linux.1. Development Environment
Redflag Linux 6.0
VMware 7.1.3build-3242852. Add a disk
Add a new virtual hard disk and select "ide" as the hard disk type, as shown in:
Note:
In SUSE Linux 10, raw devices bare devices are unformatted partitions or disks, which are also called raw partitions ), A special character device that is not read by Unix through a file system. It is read and written by the application. A device that is not directly managed by the operating system without being buffered by the file system. I/O efficiency is improved because I/O is managed across operating systems.If Oracle 10g RAC is installed on SUSE Linux 10, Oracle 10g does not support stori
command:#/Sbin/scsi_id-g-u-s/block/sdaThe result is:# 360022a11000be24a0004aeee0000000a \ RESULT in configuration
Cause analysis:
When configuring a scsi disk during Oracle RAC installation, the traditional method is to point to a specific drive letter, as shown in/etc/udev/rules. the contents of the d/60-raw.rules configuration file. The KERNEL field indicates the specific drive letter.
ACTION = "add", KERNEL = "sdb", RUN + = "/bin/raw/dev/raw/raw1% N"ACTION = "add", KERNEL = "
Disk Management
-- Raid1 + 0 volume + LVMPreparations
Take two disks as an example: SDB and SDC. Three primary partitions are created for each hard disk.
Sdb1 1g, sdb2 1g, sdb3 1g
Sdc1 1g, sdc2 1g, sdc3 1g
Step 1: Create sdb1, sdc1, sdb2, sdc2, sdb3, and sdc3 as raid1, md1, md2, and md3 respectively.
Step 2: Create md1, md2, and md3 as raid0 volume md0
Step 3: Use LVM volume management to create the raid0 volume md0 and create the LV logical volume st
Disk Partition-gdisk usage, disk partition-gdisk
Gdisk usage
Gdisk-InteractiveGUIDpartitiontable (GPT) manipulator
GPTfdisk (akagdisk) isatext-modemenu-drivenprogramforcreationandmanipulation
Ofpartitiontables.
1. Reasons for using gdisk
(1) The fdisk command does not support GPT partitioning.
[root@local ~]# fdisk /dev/sdbWARNING: fdiskGPTsupportiscurrentlynew, andthereforeinanexperimentalphase. Useatyourowndiscretion.Welcometofdisk (util-linux 2.23.2).Changeswillremaininmemoryonly, untilyoude
[Email protected] desktop]# mkfs.ext3/dev/sdcmke2fs 1.41.12 (17-may-2010)/DEV/SDC is entire device, not just one partiti on! Proceed anyway? (y,n) Yfilesystem label=os type:linuxblock size=4096 (log=2) Fragment size=4096 (log=2) stride=0 blocks, Stripe width=0 blo cks61054976 inodes, 244190646 blocks12209532 blocks (5.00%) reserved for the Super Userfirst data block=0maximum Filesyste M blocks=42949672967453 block groups32768 blocks per group, 32768 f
found, but the process of invoking the deleted file continues to execute normally and the content can be read and written correctly from the file. Why is that?This is because the RM operation only reduces the file I_nlink, if there is no other link i_nlink is 0, but because the file is still referenced by the process, so the file corresponding to the I_count is not 0, so even if the RM operation, but the system does not really delete the file, When only I_nlink and I_count are 0, the file is ac
;First we add a few hard drives to do the Btree file system:[[emailprotected]~]#fdisk-l disk /dev/sda:21.5GB,21474836480 bytes, 41943040 sector units= Sector of1*512=512bytes sector size (logical/Physical): 512 bytes /512 bytes i/o size (min/Best):512 bytes /512 BYTE disk label type: DOS disk identifier:0x000f09eb device BootStart EndBlocks idsystem/dev/sda1*2048 102604751200083 Linux/dev/sda21026048 41943039NBSP;NBSP;NBSP;NBSP;20458496NBSP;NBSP;NBSP;8ENBSP;NBSP;LINUXNBSP;LVM Disk /dev/sdb:21.5
Scene:1. When you need to intercept a picture part of the area as the background of a control.2. You need to tile the picture into a large area to let him zoom in on his own initiative.3. Or if you need to merge pictures.Code:CDC SDC; CDC DDC;SDC. CreateCompatibleDC (NULL);dd C. CreateCompatibleDC (NULL); CBitmap Destbmp;destbmp.createcompatiblebitmap (CClientDC (NULL), width,height),
1: Add two new disks to the virtual machine settings, 1 2g,1 5G (i mount two because I'm going to do a swap experiment, if I just mount a 5G with LVM)2: Log in the system, use Fdisk-l to view the disk information (please restart)3:LVM ManagementA) Creating logical partitionsFdisk/dev/sdc#因为磁盘是空的, so I first created a primary partition to play with, size is 1GN (Create a new partition)P (primary partition)Carriage return (mode start position)+1G (prima
example, sdc and sdd are used as bare devices, one for ocr, and the other for votingdisk www.2cto.com bo2dbp: ~ # Fdisk/dev/sdc Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. changes will remain in memory only, until you decide to write them. after that, of course, the previous content won't be recoverable. warning: invalid flag 0x0000 of pa
2016-01-30 Mount Failure Problem resolution[Email protected] ~]# MOUNT/DEV/SDC/DTAMount:you must specify the filesystem type[Email protected] ~]#[Email protected] ~]# mount-t ext4/dev/sdc1/dataMount:wrong fs type, bad option, bad Superblock ON/DEV/SDC1,Missing codepage or helper program, or other errorIn some cases useful info are found in Syslog-tryDMESG | Tail or so[[emailprotected] ~]# cat/proc/filesystemsnodev sysfsnodev rootfsnodev bdevnodev proc
--mounte D: Show details of mounted file systemsBtrfs filesystem show--all-device: Show details of all file systemsBtrfs filesystem Show/path: Displays the details of the specified file systemBtrfs filesystem Label: Displays the label of the file systemBtrfs filesystem resize: Reduce or increase the file system capacityBtrfs filesystem DF: Displays information about the file system that is already mountedBtrfs FileSystem Sync Sync operationNow let's do the operation, as demonstrated:1.mkfs.btrfs
/raw1%N"kernel== "Raw1", owner= "grid", group= "Oinstall", mode= "777"The result in the configuration is obtained by/SBIN/SCSI_ID-G-u-s%p specified in program. For example:If you need to use/DEV/SDA as a RAC device, you can perform:#/sbin/scsi_id-g-u-s/BLOCK/SDAThe resulting results are:result in #360022a11000be24a0004aeee0000000a \ \ ConfigurationCause Analysis:When an Oracle RAC configures a SCSI disk during installation, the traditional way is to point to the specific drive letter, as follows
Disk Management---File system detection and interchange partition(i) File system detectionfsck--check and fix Linux file system errors.When to use?This command is usually used only if it is root and the file system has a problem. Do not use this command normally, otherwise it may cause damage to the system.Format:fsck [-T file system type] Device nameOptions:-T Fs-type: This option is not available, Linux can now analyze the system type through Superblock[Email protected] ~]# fsck-t EXT4/DEV/SDC
followsMkfs.ext4/dev/vdbPvcreate/dev/vdbVgextend Vmvg/dev/vdbLvextend-l +49g/dev/mapper/vmvg-rootResize2fs-p/dev/vmvg/rootThird, adjust the existing partition sizeDuring the use of the fedora13-x86_64 process, it was found that the system assigned to the root user LVM shares too little.[Email protected] ~]# df-hFilesystem Size used Avail use% mounted on/dev/mapper/volgroup-lv_root50G 11G 37G 23%/Tmpfs 878M 100K 878M 1%/DEV/SHM/DEV/SDA1 485M 28M 432M 7%/boot/dev/mapper/volgroup-lv_home406G 411M
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.