12/28/2022 0 Comments Volume manager note 4![]() Havetheusertestthefilesystem,andreportbackwithanyproblemsĮxtending a VxFS Filesystem (Online JFS) 1. Doan"ls -ld "toverifythattheproperpermissionsarethere. Doa"bdf ".Thiscommandwillshowifthefilesystemismounted,andit'ssize. ![]() "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. 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. ![]() Adeviceusedforstorage-eitheranentirediskorapartition. Thephysicalvolumeisorganizedintoblockscalledphysicalpartitions(sameasphysicalextent?) PhysicaldiskthatisbeingmanagedbyLVM Alogicalvolumethatisconfiguredtowriteacrossmorethanonediskinastripe. 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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |