Yichun, December 26 (Rain) 25th this day, Jiangxi Yichun College is said to be "graced", this year, the newly elected academician of the Chinese Academy of Sciences Chen Xianhui back to his alma mater. At the symposium, Chen Xianhui that year's teacher came, his classmate friends came, we share Chen Xianhui that year in school experience. At the same time, Chen Xianhui also spoke at the symposium, he said, now achieved and his
In the HPUX operating system, the LV is drawn from the VG, and the LV is made into a file system, then mount the file systemCreating a logical Volume LVOL5#lvcreate-L 20480m-n lvol5/dev/vg01Note: LVOL5 is the name of the LVUse character device files (with R) to create a new file system in Logical volume RLVOL5#newfs /DEV/VG01/RLVOL5Or#newfs-F FSTYPE/DEV/VG01/RLVOL5Hooking up a logical volume# Moun
clarify the truth. This is an important experience in life.
8
7 months
Day
, Suining city-Jia, 62 km + 25 km
By car, 23.5
RMB It was so hot last night that all the hotel seats were very hot and could not fall asleep. Finally, I pulled the seats to the floor to sleep, and woke up again in the middle of the night. If Xi Zi in Sichuan is so hot, it is estimated that the temperature is above 40 degrees. In Suining, his hometown is becoming more and more friendly. There are two famous thi
grade is different, has forgotten the college entrance examination mode,Also do not know the skills of the problem, but a simple talk about mathematics, before I took an examination of advanced mathematics, the requirements of a comprehensive very high, but nearly 30 years to test over 90% types of questions, and choose, the fill in the blanks will almost lock those pieces of the problem are regular, so the teachers should be more summary of the team, For the senior students to learn less time
PrefaceAPP Scenario Description:When you are unable to plan your storage properly, the storage re-planning (eg, one or several apps that write bigdata for a certain LV-mount point in a post-maintenance job may soon be out of space for your LV mount point, but it's worth noting that Does your other LV mount point have a large storage space? Basically not applied t
1. Expand LV capacity
You do not need to detach the file system to increase the LV capacity.
The procedure is as follows:
A. Use fdisk to set partitions with 8e System ID
B. Create a PV using pvcreate
C. Use vgextend to add PV to VG to resize VG
D. Use lvresize to add the PE of the new PV to the LV.
E. Increase the file system capacity through resize2fs.
Example
RESIZE2FS: Adjust the size of the Ext file systemWith logical volume LV usage: Resize2fs/path/to/lv_name 3G adjusts the logical boundary size of the LV to 3GI. Extending the logical Volume LV:(the physical boundary of the logical volume must be extended before the logical boundary is extended)lvextend physical boundaries of an extended logical volume-L [+]#/path/
LV cannot be automatically activated after the system is restarted (boot. lvm after. loca) We recently discovered that the suse11sp2 system solved the problem of abnormal crashes and introduced another problem. For example, this lv cannot be automatically activated, and the problem is solved one by one. 1. lv can be manually activated, but dcoadbpro cannot be au
In Aix, The lvcb information of LV is located at 512 bytes of each LV header, and a copy of all LV lvcb is also available in vgda, if the lvcb of the LV header is inconsistent with the lvcb in vgda, how can we synchronize it? However, this situation is rare, but it only provides a way of analyzing problems.
If there is
Environment first: AIX7.1OracleASM11.2.0.3 the size of flashdg in ASM needs to be increased to 35 GB in the current test environment ), diskgroup is created based on the lv divided in raw mode in vg. Since the test environment only notifies the AIX administrator, the AIX administrator increases the number of pp of fsflashdglv through smitlv.
First, let's explain the environment: AIX 7.1 Oracle/ASM 11.2.0.3. In this test environment, we need to increas
physical volumes of the subordinate. It can be seen that the volume group size is the total size of all physical volumes in the volume group. The vgcreate command can create a volume group, and vgextend can add a physical volume to a volume group.
PE: The physical disk area is the smallest storage unit used for management in the volume group. The size is determined when the volume group is created. Once the volume group is created, its PE size is fixed and unchangeable, the default PE size is 4
Environment first: AIx 7.1 Oracle/ASM 11.2.0.3 Single Instance
In this test environment, the flashdg size in ASM needs to be increased to 35 GB (currently 10 Gb). diskgroup is created based on the LV divided in RAW mode in VG. Because only the AIX administrator is notified in the test environment, the AIX administrator increases the number of PP of fsflashdglv through Smit LV. After adding the number, you c
11.11) change the LV size. For example, to change the 800 mb LV to 800 mb: # lvextend-l 800/dev/vg01/lvdata, note: Here-l 800 means to expand "to" MB, instead of expanding by 800 mb, it is still not completed. To expand the file system, you can refer to the following methods: # umount/dev/vg01/lvdata
# Extendfs-F vxfs/dev/vg01/lvdata
# Mount/dev/vg01/lvdate B. Delete the original
Steps:(1) add a new 8e systemID partition;(2) use the pvcreate command to construct the PV;(3) use the vgextend command to add PV to vg_1;(4) Use the lvresize command to add the PE in the newly added PV to lv_1;(5) Use the resize2fs command to expand the LV capacity to the entire file system;(1) add a new 8e systemID partition. Since the previous four primary partitions are created, if you want to create another partition, delete/dev/sdb4, create an e
1, expansion already has the LV on the LVM1.1 New PV--pvcreate/dev/sd*1.2 Add the new PV to the LVM-->vgextend vg_ruiy/dev/sd*1.3 Viewing LVM--vgdisplay-v Vg_ruiy after adding PV1.4 Expansion LV---lvextend-l + 20g/dev/vg_ruiy/lv_root1.5 File system Expansion--resize2fs/dev/vg_ruiy/lv_rootCongratulation,work out!2, create new LVpvcreate/dev/sd* [Pvcreate-f-b/dev/sd*]Vgcreate vg_name/dev/sd*Lvcreate-n data001
Size 10.00 GiBAllocatable NOPE Size 0Total PE 0Free PE 0Allocated PE 0PV UUID BKBSSE-TUGX-KUGI-LIEW-LH5Y-PBZO-KEZVWT8. Create VG [named DATA_VG][Email protected] ~]# vgcreate DATA_VG/DEV/SDB1/DEV/SDC1Device DATA_VG not found (or ignored by filtering).Dev_is_mpath:failed to get device for 8:17Physical volume "/DEV/SDB1" successfully createdPhysical volume "/DEV/SDC1" successfully created[Email protected] ~]# Vgdisplay---Volume Group---VG Name DATA_VGSystem IDFormat lvm2Metadata Areas 2Metadata S
convert the actual partition into the 8e system format, and the command pvcreate is used to convert the partition into the physical volume that can be used.
PE (physical extend) entity extended Block
PE is the smallest storage unit of LVM, generally 4 MB. It is the basic unit of VG. PE is the unit of data storage for VG, for example, block. The PE size is not fixed, but changeable. Therefore, PE determines the flexibility of LVM, that is, it can be expanded or reduced.
VG (volume group) scroll
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.