LIF Directory* | Contains a list of other disks in the volume group and whether or not they are bootable |
PVRA | Contains imports PV-related information such as:
|
BDRA* | Specifies where the root filesystem is found |
LIF* | Contains ISL, HPUX, AUTO, LABEL that are LIF files. These are put there when the mkboot and lvlnboot commands are run. |
VGRA | Contain volume group description area (VGDA) and volume group status area (VGSA) |
Physical Extents | Physical extents for the file system, swap, etc |
Bad Block Pool | Provides alternate locations for bad blocks |
pvchange | Allows you to change a physical volume is some way. for an example you can allow or disallow adding extents to this physical volume. |
pvcreate | Is used to create a physical volume that will be part of a volume group. |
pvdisplay | shows information about a physical volumes you specify |
pvmove | you can move extents from one physical volume to other physical volumes. |
mknod | this command is used to create th major/minors numbers of a volume group |
vgcfgbackup | used to save the configuration of a volume group. |
vgcfgrestore | used to restore the configuration of a volume group. |
vgchange | makes a volume active or in-active |
vgcreate | you can create a volume group and specify all of its parameters. |
vgdisplay | display information related to a volume group |
vgexport | remove a volume group from the system, but does not modify the logical volume information on the physical volumes. You can then import the volume group onto another system i.e in a cluster environment. |
vgextend | Physical volumes can be added to a volume group by specifying the physical volume to be added to the volume group. |
vgimport | used to import a volume group from another system |
vgreduce | reduce the volume group by removing th specified physical volume. |
vgremove | remove the volume group completely from the system |
vgscan | rebuild the /etc/lvmtab file |
vgsync | when a volume group become stale you can resync that volume which resync's all the physical extents in each mirrored logical volume in the volume group. |
lvcreate | create a new logical volume. |
lvchange | change the logical volume in some way |
lvdisplay | display information on a specified logical volume |
lvextend | increase the number of physical extents to a logical volume. You will need to use the extendfs after extending a logical volume. |
extendfs | expands the filesystem within the logical volume. You would use fsadm if you have OnlineJFS installed. |
mkboot | places boot utilities in boot area |
lvlnboot | use this to sepup a logical volume to be a root, boot, primary swap or dump volume. This can be undo with lvrmboot. |
lvsplit or lvmerge | are used to split or merge a logical volume that is mirrored |
lvmmigrate | prepares a root filesystem in a disk partition for migration to a logical volume. You would use this if you had a partition to convert to a logical volume |
lvreduce | decrease the number of physical extents allocated to a logical volume |
lvremove | remove a logical volume from the volume group |
lvrmboot | if you don't want a logical volume to be root, boot, primary swap or a dump device. |
lvsync | when a logical volume becomes stale you can resync the logical volume |
newfs | place a new flesystem on a logical volume |
fsck | check/repair the integrity of a filesystem |
fsadm | peforms a number of tasks when using a OnlineJFS sch as dfragmentation, resizing, online backup, etc |
Create a new volume group, logical volume and filesystem | pvcreate /dev/rdsk/c0t1d0 |
Create a stripped filesystem | lvcreate -i 3 -I 32 -L 24 -n lvol1 /dev/vg01 -i number of stripes |
Mirror root and swap disk | pvcreate -B /dev/rdsk/c0t6d0 setboot -a 8/8.6.0 |
replace a non-mirrored disk | lvreduce -m 0 -A n /dev/vg01/lvol1 /dev/dsk/cxtxdx vgcfgrestore -n /dev/vgXX /dev/rdsk/cxtxdx Notes: |
replace a mirrored disk | vgcfgrestore -n /dev/vgXX /dev/rdsk/cxtxdx Notes: |
replace mirrored boot disk | vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtxdx Notes: |
export and import a volume group | System One: System two: |
extend VxFS file ssytem using onlineJFS | lvextend -L 800 /dev/vg01/lvol1 fsadm -F vxfs -b 800M /ora_data01 |
change a logical volume to support largefiles | fsadm -F vxfs -o largefiles /dev/vg01/rlvol1 |
display the boot area | lifls -Clv /dev/dsk/c0t6d0 |
display boot information | lvlnboot -v /dev/vg00 |
display all disks in the system | ioscan -funC disk |
make a dump device | lvchange -C y /dev/vg00/dump (makes it contiguous) lvlnboot -d /dev/vg00/dump |
display dump devices | lvlnboot -v |
To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.