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
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
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
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
Linux uses lvresize to expand or reduce the LV size
Environment: CentOS 6.71. Create and mount the directory/u01 and/data
1. create directory Mount node/u01,/data
mkdir -p /{u01,data}
2. Create an lv named lv_u01 with a size of 10 Gb. Divide the space from vg_bkjia. vg_bkjia here is the vg name.
lvcreate -L 10g -n lv_u01 vg_bkjia
3. format it as an ext4 File System
mkfs.ext4 /dev/mapper/vg_bkjia-lv_u01
4. S
To all the champions of the glory of the players to detailed analysis to share the experience of LV Bu and playing.
Experience Sharing:
Bo Bu Whether it is a group or a single line?? Enemy, first of all must first use 2 skills to add a shield to themselves, and then with the shield under the premise that we open 1 of skills and enemy hard drive a wave.
and BU's 3 skills are his big strokes, not only can the pursuit of the enemy to harvest, but al
Lv's new product deeply integrates simple philosophy with classical meteorology. Its design details are roughly as follows:
The LV material is waterproof and abrasion-resistant, and the extremely tough and strong pin between the toilet paper and the toilet paper makes each tear take some effort.
The above design makes each roll of LV toilet paper very durable;
The sewing needle code between one toil
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
Preface:(Application scenario Requirement analysis)Since the installation of the system is not properly planned storage, or as the business expansion to the storage space requirements of the geometric growth, the original planned system storage is insufficient service current business needs, while the current system app is running more perfect, admin does not want to re-plan the new architecture OS, so extend disk Capacity is imminent, so how does your OS architecture adapt to the OS automatic C
Pvdisplay command to display the properties of a physical volume
[Root@test ~]# Pvdisplay
---Physical volume---
PV name /dev/sda2
VG name vg_test
PV Size 9.51 gib/not usable 3.00 MiB
Allocatable Yes (but full)
pe Size 4.00 MiB Total
pe 2434 free
pe 0
allocated PE 2434
PV UUID uufpno-w0l9-8tly-fait-zzil-2rh4-suvk2z
---Physical volume---
PV Name
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
AIX5.3ORACLE10GRAC environment, because CHMOD and CHOWN are not synchronized in two nodes when creating the LV, the node that has not set the permission reports a ORA-01186ORA-01157ORA-01110 Error
AIX5.3 ORACLE10G RAC environment, when creating a LV because CHMOD, CHOWN is not synchronized in two nodes, resulting in nodes with no permissions set reported ORA-01186 \ ORA-01157 \ ORA-01110 Error
AIX5.3 O
Modify the lv problem created by fsck to automatically mount the USB flash drive-Linux general technology-Linux technology and application information. For more information, see the following. I used VMware's virtual RHEL5.0 to insert a USB flash disk and create an LV named/dev/vg0/lv1. the disk was created and mounted successfully,
I want to modify fstab so that it will be automatically mounted when the V
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.