Ifyouexperienceahardwarefailurethatrequiresyoutorecreatea volumegroup, logicalvolume,orfilesystem,youcanuseeitherthesystemorvolume group backup.Afilesystembackupcanalsobe usedtorecreatefilesystems whilea logicalvolume backupcanbeusedtorecreatelogicalvolumes.These“containers”
must berecreatedtoprovidea placetorestorethedata.
Youcanrecreateoneormorevolume groups,logicalvolumesorfilesystems as they aredefinedonthebackup, oryoucanoptionallychangethevolumegroup, logicalvolume orfilesystemcharacteristics,includingthedisklocation,filesystem and logicalvolume sizes,oranyotherattribute.
Note: Thecontainersyouwanttorecreatemust haveinformationpertainingto themonthebackupmedia.Avolumegroupbackupofonlythevg00 volumegroupcannotbeusedtorecreateanyothervolume group.However, thisbackupcanbeusedtorecreatesinglelogicalvolumesorfilesystems that werecontained withinvolume groupvg00.Thesystembackup, however, alwayscontains informationaboutall volumegroups,logicalvolumes,and filesystems,evenifnotallvolumegroupdatawas includedonthebackup.
Youdo nothavetousethebackupmediatorecreatea volumegroup,logical volume orfilesystemonthesamesystem.Youcanusethemedia toperformthe recreationonanothersystem,therebycopyinganenvironmentfromonesystemto another.
Note: Bydefault,thisoption recreatesthevolumegroup,logicalvolume, and filesystemstructuresbutdoesnotrestorethedataintothem.Youmay optionallychoosetorestorethedatawiththisoption,oryoumayusethe RestoreData froma Backupoptionseparately.
Torecreateoneormorevolume groups,logicalvolumes,orfilesystems:
1. Atacommandline,type smit.
2. From theSMITmenu,selectIBMTivoliStorageManagerforSystemBackup andRecovery.
3. Select Backup&Recovery Options.
4. Select RecreateVolumeGroups,LogicalVolumesorFilesystems.
Note: From a commandline,type smitsb_create.
5. On theDeviceSelectorscreen, highlightthedeviceyouwanttouseandpress Enter.
6. Ifyouselectedatapedriveorvirtualdevice,enterthebackupsequence number.Thedefaultvalue is“1”,indicatingthatyouwanttousethefirst backuponthemedia.Ifyou“stacked”multiple sequentialbackupsonthe media, andwanttousetheinformationfromadifferentbackup,enterthe backupnumberand pressEnter.
IfyouselectedaTSMvirtual device,selecttheTSMBackupIDfromthelistof backups onthenext selectorscreen.
7. Ifthebackupisasystemorvolume groupbackup,selectthetypeofbackup youaregoingtorecreate.Youhavetwooptions:
Volume Group (all LVs and filesystems) Logical Volume and/or Filesystem
Highlight thetypeofbackupyouare creatingandpressEnter.
IfthebackupisaFilesystem orLogicalVolumeBackup,therecreatetypeis assumedtobe “LogicalVolumeand/orFilesystem.”
8. Depending onyour responsetothepreviousprompt,selectfromthe displayed listeitheravolume grouporlogicalvolumetocreate.Toselecta single option,highlighttheoptionand pressEnter. Toselectmultipleoptions, highlighteachoptionand pressF7toselect.Whenyouhavemadeall
selections,pressEntertocontinue.
9. Oneofthefollowingscreensisdisplayed.Thesescreensareexamples ofthe screensthatare displayedwhenyourecreateeither asinglevolume groupor twologicalvolumesfroma tapedevice:
The followingisanexplanationofeachfield:
HostnameofServer
Theserverhostnameifa serveroptionwasselectedontheprior deviceselectorscreen.Youcannotchangethis field.
Device orfilename
Thedeviceordisk imagefilenamepreviouslyselected.Youcannot changethis fieldonthisscreen.
TSM BackupID
Thisoptionwillonlybe displayedwhentheDeviceorfile nameisa TSM virtualdevice.Thevalueforthisfieldispropagatedfroma previous inputscreenandmaynotbe changed.
Edit theLogicalVolumeinfo beforeproceeding?
Default=yes.Thispromptisdisplayedonlywhen selectingtorecreate logicalvolumesorfilesystems.Ifyouwanttoview orchangethe logicalvolumeorfilesystem information,suchasthedisklocations, sizes, orotherattributes,beforerecreatingthelogicalvolumesand
Recreatea Volume Group from a Backup
Type or select valuesin entry fields.
Press Enter AFTER makingall desired changes.
[Entry Fields]
Hostname of Server hambone
Device or file name /sysback.images/chukra>
TSM backup ID
Edit the Volume Groupinfo before proceeding? yes +
New Volume Group Name []
Volume Group(s) tocreate [vg00]
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Figure10-1.RecreatingaSingleVolumeGroup
Recreatea Logical Volume or Filesystem from a Backup
Type or select valuesin entry fields.
Press Enter AFTER makingall desired changes.
[Entry Fields]
Hostname of server hambone
Device or file name /sysback.images/chukra>
TSM backup ID
Restore FilesystemMountpoint Permissions yes
Edit the Logical Volumeinfo before proceeding? yes +
New Volume Group Name []
Logical Volume(s) tocreate [lv01]
Figure10-2.RecreatingaTwoLogicalVolumesfromaTapeDevice
|
filesystems, keepthedefaultvalueof “yes.”Otherwise,torecreatethe logicalvolumesorfilesystemswithoutviewingorchangingthe information,pressTabtochangethevalueto“no.”
RestoreFilesystemMountpointPermissions
Default=no.Specify “yes”ifyouwould liketorestorethefilesystem permissionsfromthebackupimagewhenthefilesystemisrecreated.
Edit theVolumeGroupinfo beforeproceeding?
Default=yes.Thispromptisdisplayedonlywhenselectingtorecreate volume groups.Ifyouwanttoviewor changethevolume group, logicalvolume,orfilesysteminformation,suchasthedisklocations, sizes, orotherattributes,beforerecreatingthevolumegroupand its logicalvolumesandfilesystems,keepthedefaultvalueof“yes.”
Otherwise,torecreatethevolume group,logicalvolumesor
filesystems withoutviewingorchangingtheinformation,pressTabto changethevalue to“no.”
New VolumeGroupName
Default=(blank/none). Ifyouarerecreatinga volumegroup,youcan entera newvolumegroupnameinthisfield.Thisisparticularly usefulif youwanttorecreatea volumegroupbut theoriginalvolume groupbythesamenamestillexistsonthesystem.Youcannotentera value inthisfieldifyouarecreatingmore thanonevolume groupat onetime.
Note: Specifythelogicalvolumenamein theform of“lvname”and not“/dev/lvname”.
Ifyouarerecreatingoneormorelogicalvolumes, enteringavalue in this fieldindicatesthatthelogicalvolumestobecreatedwillbe placedinthespecifiedvolumegroup.Inthiscase, thevolume group nameyouentermust beanactivevolume grouponthesystem.
New LogicalVolumeName
Default=(blank/none). Ifyouarerecreatinga logicalvolume, youcan entera newlogicalvolumenameinthisfield.Thisisparticularly usefulif youwanttorecreatea logicalvolumebuttheoriginallogical volume bythesamenamestillexistsonthesystem.Youcannotenter a valueinthis fieldifyouare creatingmorethanonelogicalvolume at onetime.
Ifyouarerecreatingoneormorelogicalvolumes, enteringavalue in this fieldindicatesthatthelogicalvolumestobecreatedwillbe placedinthespecifiedvolumegroup.Inthiscase, thevolume group nameyouentermust beanactivevolume grouponthesystem.
Restorefilesystempermissions?
Default=Np.Specify“yes”tothisoption ifyouwouldlikethe permissionsofthis filesystem restoredfromthebackupduring the process torecreatethestructure.
LogicalVolume(s)tocreate
Thisfieldisdisplayedonlywhenselectingtorecreatelogicalvolumes and filesystems.Thisfieldwillcontainthenamesofthelogical volumesselectedonthepriorselectionscreen.Youcanchangethe logicalvolumestocreatebyaddingor removingentriesfromthislist, separatingeachentrybyaspace.
|
Althoughonlythelogicalvolume nameisindicatedhere,ifthelogical volume containsafilesystem,thefilesystemwillberecreated.
Notethatinformationregardingthelogicalvolumestorecreatemust be containedonthebackupmedia previouslyselected.
Volume Group(s)tocreate
Thisfieldisdisplayedonlywhen selectingtorecreatevolume groups.
Thisfieldwillcontainthenamesofthevolumegroupsselectedonthe prior selectionscreen. Youcanchangethevolumegroupstocreateby adding orremovingentriesfromthislist,separatingeachentrybya space. Notethatinformationregardingthevolumegroupstorecreate must becontainedonthebackupmediapreviouslyselected.
10. Whenyouhavemadeall selections,pressEntertobegin.
The mediaisreadtoobtaintheinformationonthevolume groups,logicalvolumes or filesystemsselected.
Ifyouselectedtoeditthevolume group,logicalvolumeor filesysteminformation, a screensimilartothefollowingisdisplayed:
The optionsforvolume groupsarenotdisplayedwhenyouselectto recreate logicalvolumes.Also,if thisisapowerbackup,theoptionforchanging filesystem informationisnotdisplayed.Thesemenus provideoptionsforchanging virtually all attributesforvolumegroups,logicalvolumes, andfilesystems.Thisprocessis identical toreinstallinga systemfromasystem backup.Inbothcases,thedetailed stepsforchangingthis informationisprovidedinChapter11,“Changingthe Volume Group,LogicalVolumeandFilesystemAttributes,”onpage11-1.
The volumegroup,logicalvolume, andfilesystemsare thencheckedtoensurethat they canbe recreatedbasedonthecurrentsystemresourcesavailable.Ifthereare inconsistencies,suchasnotenoughdisk spaceorunassignedphysicalvolumes (disks), theappropriatemessages aredisplayedand youmust changethevolume group orlogicalvolume informationbeforetheprocesscancontinue.
+---+
| ChangeVolume Group & Logical Volume Information | +---+
SelectPhysical Volumes for Volume Groups Change Volume Group Attributes SelectPhysical Volumes for Logical Volumes
Change Logical Volume Attributes Change Filesystem Attributes
+---+
| Select this optionto change the physical volumes which are assigned to each |
| volume group. |
+---+
| Use ARROW or Tab keysto move and ENTER to Select. Press ESC for Main Menu. | +---+
Figure10-3.EditingtheVolumeGroup,LogicalVolume,orFilesystemInformation
Iftherearenoinconsistencieswiththenew system,youareasked:
Are you sure you wish to create the volume group(s) (y/n)?
or
Are you sure you wish to create the logical volume(s) (y/n)?
Answering“y”tothis questionrecreatesthevolumegroupsorlogicalvolumesas specified.Whentheprocesshascompleted, youare askedtopressEntertoreturn totheSMITscreen.