booksvast.blogg.se

Volume manager note 4
Volume manager note 4





volume manager note 4

Doan"ls -ld "toverifythattheproperpermissionsarethere. "mount /"tomountthefilesystem Test 1. Forexample:"/dev/vgbill/lvbill /maindir/subdir/share vxfs rw,suid,largefiles,delaylog,datainlog 0 2" 2. Edit/etc/fstabusingviandaddtheproperentry 1. pwillmakeanysubdirectoriesinthepaththatdonotalreadyexist Settheproperownershipandpermissionsonthemountpoint 1. Forexample:"mkfs -F vxfs -o bsize=8192,largefiles /dev/bgbill/lvbill" CreatetheMountPoint 1. PathtoLVisoftheform/dev/VGNAME/LVNAME 2. oareoptions,suchasbsize(BlockSize)andlargefiles. Fisfilesystemtype,suchasvxfsfortheVeritasFileSystemorJFS 2. newfs-Fvxfs/dev/vg02/lvol1 Usingmkfs: 1. CreatetheLogicalVolume(ProcedureBelow) 2. DescriptionĬreate a new filesystem: (Anewfilesystemwillrequireanewlogicalvolume) 1. IfIBMSDDisbeingusedthisfilecontainsthemappingofvpathtothecorrespondingdisk-target-lun. Accessitwiththestringscommand. Functionįile /dev/dsk/cxtxdx /dev/rdsk/cxtxdx /dev//group /etc/lvmrc /etc/lvmtab /etc/vpath.cfg Blockdevicefordisk Characterdevicefordisk Characterdevicefile(createdwiththemknodcommand)thatallowsthelvmkernelandthelvmcommands tocommunicate Scriptthatstartseachvolumegroupbaseduponthecontentsof/etc/lvmtab Thisfilehasthedevicefileassociatedwitheachdiskinavolumegroup.Accessitwiththestrings command. Commandusedtodisplayinformationaboutphysicalvolumes Commandusedtochangeinformationaboutthevolumegroup,suchastoactivateaninactivevg Commandusedtocreatethevolumegroups Commandusedtodisplayinformationaboutvolumegroups,-vistheverboseoptionwhichwilllistlvsand pvs. CreatesaphysicalvolumebycreatingtheLVMdatastructuresonthephysicaldiskcalledphysicalextents. The-foptionwillforcethecreationofthePV-potentiallydestroyingoldPVinformation.

volume manager note 4

Containoneormorephysicalvolumes,aphysicalvolumecanonlybeinonevolumegroup(poolof partitions)Ĭommand lvcreate lvdisplay-v/dev// pvchange pvcreate/dev/rdsk/cxtxdx pvcreate-f/dev/rdsk/cxtxdx pvdisplay/dev/dsk/cxtxdx pvdisplay-v/dev/dsk/cxtxdx vgchange vgcreate vgdisplay[VG_NAME} vgexport vgimport Commandusedtocreatelogicalvolumes Commandusedtodisplayinformationaboutlogicalvolumes Changestheattributesofexistingphysicalvolumes. Thephysicalvolumeisorganizedintoblockscalledphysicalpartitions(sameasphysicalextent?) PhysicaldiskthatisbeingmanagedbyLVM Alogicalvolumethatisconfiguredtowriteacrossmorethanonediskinastripe.

volume manager note 4

Unitusedforallocatingdiskspacetologicalvolumes,defaultsizeis4MB.Itisasetofcontiguousdisk blocks. Allocatesthespaceinsideavolumegroup,thelogicalvolumegetsthefilesystem Mappingalogicalextenttomorethanonephysicalextent.Logicalvolumesaremirrored,notdisks. Logicalextentsareusedtocreatethelogicalvolume-theyarethesamesizeasphysicalextents HPStorageformatusedforinterchangeoffilesbetweenHPsystems. Term JournaledFileSystem(JFS) LogicalExtents LogicalInterchangeFormat(LIF) LogicalVolumes Mirroring PhysicalExtent(PE) PhysicalPartitions PhysicalVolume Striping Volume VolumeGroup Definition Unixfilesystemthatusesajournaledlogtorecordchangestothefilesystem.Intheeventofafailurethe logcanbeusedtorecover. Logical Volume Manager (LVM) using HP-UX Glossary







Volume manager note 4