Your SlideShare is downloading. ×
  • Like
Storage manager
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Storage manager

  • 937 views
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
937
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Portlock Storage Manager 4.0 for NetWare User’s Guide
  • 2. Portlock Storage Manager for NetWareThe Portlock storage management software described in this book is furnished under a LicenseAgreement and may be used only in accordance with the terms of the agreement.Manual Version: 4.0Date of Publication: July, 2007NO WARRANTY. The technical documentation is being delivered to you AS IS and Portlock makesno warranty as to its accuracy or use. Any use of the technical documentation or the informationcontained therein is at the risk of the user. Documentation may include technical errors, typographicalerrors or other inaccuracies. Portlock reserves the right to make changes without prior notice.All technical documentation made available by Portlock is the copyrighted work of Portlock. Nopart of this publication may be copied without the express written permission of Portlock, 101 NorthMain Street, Butte, Montana 59701.Copyright 2000-2007 Portlock. All Rights Reserved. Portlock, the Portlock logo, Portlock StorageManager and the Portlock Boot CD are trademarks of Portlock.Other vendor product names mentioned in this manual may be trademarks or registered trademarksof their respective companies and are hereby acknowledged. Printed in the United States.
  • 3. Portlock Storage Manager 4.0 for NetWare User’s Guide License AgreementIMPORTANT: Read this before using your copy of Portlock Storage Manager 4.02 for NetWare. Thisdocument is a legal agreement between you (an individual or business), the Licensee and Portlock.Use of the enclosed software indicates your acceptance of these terms. As used in this LicenseAgreement, the term SOFTWARE means the software electronically generated or included on theCD or media provided with this License Agreement. The term SOFTWARE does not include anysoftware that is covered by a separate license offered or granted by a person other than Portlock.IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, EITHER DESTROY ORRETURN (INTACT) THE SOFTWARE PACKAGE CONTAINING THE CD OR DISK MEDIA,ALONG WITH THE OTHER COMPONENTS Of THE PRODUCT TO THE PLACE OFPURCHASE FOR A REFUND OF THE PURCHASE PRICE.1. PROPRIETARY RIGHTS. The SOFTWARE and any accompanying documentation are theproprietary products of Portlock or its licensors and are protected by national laws and internationaltreaty provisions. Ownership of the SOFTWARE and all copies, modifications, translations, andmerged portions thereof shall remain with Portlock and its licensors.2. GRANT OF LICENSE and TERM. The SOFTWARE and accompanying documentation arebeing licensed to you, which means you have the right to use the SOFTWARE only in accordancewith this License Agreement. The SOFTWARE is considered in use on a computer when it is loadedinto temporary memory or installed into permanent memory. PERSONAL LICENSE: This licenseis personal to you. You may not sublicense, lease, sell or otherwise transfer THE SOFTWARE orany of the accompanying documentation to any other person. You may use the SOFTWARE onlyfor your own personal use if you are an individual, or for your own internal business purposes ifyou are a business. COMPUTER-SPECIFIC LICENSE: Each permitted copy of the SOFTWAREmay be used only in connection with a hard drive(s) that is permanently connected to ONE specificcomputer (either a stand-alone computer or a computer connected to a network) owned or leasedby you. Once a copy of the SOFTWARE has been used on a computer, it may not be used on anyother computer, unless you have permanently stopped using (e.g., sold, destroyed or relinquishedpossession of) the SOFTWARE on the original computer. If the SOFTWARE is made available on anetwork, only ONE specific computer may access it. It may not be used on any additional computerswithout purchasing additional licenses. NUMBER OF COPIES LICENSED: You are authorized touse ONLY a single copy of the SOFTWARE on a single computer. All copies of the SOFTWAREmust include our copyright notice and other legal notices. UPDATES AND SUPPORT: You areentitled to receive one year of technical support from the date of purchase. This support period isvalid during the life of the product, which commences when the product is released to manufacturingand ceases six months after the release of the next major version of the product. Technical supportshall be limited to telephone or e-mail support from Portlock’s offices, unless Portlock specificallyagrees otherwise in writing. TERM: This license is effective from your date of purchase and shallremain in force until terminated. You may terminate the license and this License Agreement at any
  • 4. License Agreementtime by destroying the SOFTWARE and the accompanying documentation, together with all copiesin any form.3. BACKUP COPY. Only ONE copy of the SOFTWARE may be created for archival or backuppurposes.4. NONPERMITTED USES. Without the express prior written permission of Portlock, youmay not (a) use, copy, modify, alter or transfer, electronically or otherwise, the SOFTWARE ordocumentation except as expressly permitted in this License Agreement, or (b) translate, reverseprogram, disassemble, decompile or otherwise reverse engineer the SOFTWARE.5. EXPORT CONTROLS. Certain uses of the SOFTWARE by you may be subject to restrictionsunder U.S. regulations relating to exports and ultimate end uses of computer software. You agree tofully comply with all applicable U.S. laws and regulations, including but not limited to the ExportAdministration Act of 1979 as amended from time to time and any regulations promulgated thereunder.6. U.S. GOVERNMENT RESTRICTED RIGHTS. If you are acquiring the SOFTWARE onbehalf of any unit or agency of the United States Government, the following provision applies: It isacknowledged that the SOFTWARE and the documentation was developed at private expense andthat no part is in the public domain and that the SOFTWARE and documentation are provided withRESTRICTED RIGHTS. Use, duplication or disclosure by the Government is subject to restrictionsas set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clauseat DFARS252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable. Contractor / Manufacturer is: Portlock, 101North Main Street, Butte, MT 59701.7. LIMITED WARRANTY. (a) Portlock to you, the original end user, (i) that the SOFTWARE,other than third-party software, will perform substantially in accordance with the accompanyingdocumentation and (ii) that the SOFTWARE is properly recorded on the disk media. This LimitedWarranty extends for ninety (90) days from the date of purchase. Portlock does not warrant anythird-party software that is provided with the SOFTWARE, but Portlock agrees to pass on to youany warranties of the owner or licensor to the extent permitted by the owner or licensor.(b) This Limited Warranty does not apply to any Software that has been altered, damaged, abused,miss-applied or used other than in accordance with this license and any instructions included on theSOFTWARE and the accompanying documentation.
  • 5. Portlock Storage Manager 4.0 for NetWare User’s Guide(c) Portlock’s entire liability and your exclusive remedy under this Limited Warranty shall be therepair or replacement of any Software that fails to conform to this Limited Warranty, or at Portlock’soption, return of the price paid for the SOFTWARE. Portlock shall have no liability under this LimitedWarranty unless the SOFTWARE is returned to Portlock or its authorized representative, with a copyof your receipt, within the warranty period. Any replacement SOFTWARE will be warranted for theremainder of the original warranty period or 30 days, whichever is longer.(d) THIS WARRANTY IS IN LIEU OF AND EXCLUDES ALL OTHER WARRANTIES NOTEXPRESSLY SET FOR THEREIN, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOTLIMITED TO ANY WARRANTIES OF MERCHANT ABILITY, FITNESS FOR A PARTICULARPURPOSE, NON-INFRINGEMENT OR WARRANTIES ARISING FROM USAGE OF TRADEOR COURSE OF DEALING.(e) THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERSWHICH VARY FROM STATE TO STATE.(f) Your failure to return the enclosed registration card or complete the electronic registrationincluded with the SOFTWARE may result in Portlock’s inability to provide you with updates to theSOFTWARE, and you assume the entire risk of performance and result in such an event8. LIMITATION OF LIABILITY. IN NO EVENT SHALL PORTLOCK’S LIABILITYRELATED TO ANY OF THE SOFTWARE EXCEED THE LICENSE FEES ACTUALLY PAIDBY YOU FOR THE SOFTWARE. EXCEPT FOR A RETURN OF THE PURCHASE PRICEUNDER THE CIRCUMSTANCES PROVIDED UNDER THE LIMITED WARRANTY, NEITHERPORTLOCKSOFTWARE NOR ITS SUPPLIERS SHALL IN ANY EVENT BE LIABLE FOR ANY DAMAGESWHATSOEVER ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USETHE SOFTWARE, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, SPECIAL,INCIDENTAL OR CONSEQUENTIAL DAMAGES, AND DAMAGES FOR LOSS OF BUSINESSPROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHERPECUNIARY LOSS, EVEN IF PORTLOCK HAS BEEN ADVISED OF THE POSSIBILITYOF SUCH DAMAGES, WHETHER SUCH LIABILITY IS BASED ON CONTRACT, TORT,WARRANTY OR ANY OTHER LEGAL OR EQUITABLE GROUNDS. BECAUSE SOME STATESDO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIALOR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU9. NO WAIVER. Any failure by either party to this agreement to enforce a specific part of theagreement in a specific situation is not a waiver of rights under the agreement. The party may stillenforce the rest of the agreement in that situation and may still enforce some or all of the agreementin other situations.
  • 6. License Agreement10. AGREEMENT. This License Agreement constitutes the entire agreement between you andPORTLOCK pertaining to its subject matter. The laws of the State of Montana govern this LicenseAgreement. Any litigation arising from this license will be pursued only in the state or federalcourts located in the State of Montana. Even if part of the agreement is held invalid, the rest of theagreement is still valid, binding and enforceable.
  • 7. Portlock Storage Manager 4.0 for NetWare User’s Guide Table of ContentsChapter One:About Portlock Storage Manager .................................................................................. 14What is Portlock Storage Manager? ......................................................................................................... 15Design Philosphy of Portlock Storage Manager ....................................................................................... 15Before Loading Portlock Storage Manager ............................................................................................. 15Technical Support ................................................................................................................................. 17Chapter Two: Using Portlock Storage Manager ................................................................................. 18Introduction to Portlock Storage Manager ............................................................................................... 19Introduction to Portlock Remote ............................................................................................................. 19Introduction to Portlock Installation Methods ......................................................................................... 19Portlock Storage Manager Installation Methods ...................................................................................... 19Installing Portlock Storage Manager on NetWare .................................................................................... 20Method One: Using INSTALL.NLM or NWCONFIG.NLM ................................................................... 21Method Two: Using PINSTALL.NLM ................................................................................................... 23Method Three: Using the directory SYS:/STORMGR ............................................................................. 25Loading Portlock Storage Manager ........................................................................................................ 25Chapter Three: Drive Commands ....................................................................................................... 26Introduction to the Drive Commands ....................................................................................................... 27Explanation of the Drive Initialize Command .......................................................................................... 28Explanation of the Drive Sector Copy Command ...................................................................................... 30Explanation of the Drive Compare Command .......................................................................................... 30Explanation of the Drive Verify Command .............................................................................................. 31Chapter Four: Partition Commands ................................................................................................... 34Partition Commands ............................................................................................................................. 35Activate Partition Command .................................................................................................................. 35Check Partition Command ..................................................................................................................... 36Combine NW 6 Master Partitions Command ........................................................................................... 37Convert to a NW 6 Partition Command ..................................................................................................... 37Copy Partition Command ...................................................................................................................... 38Create Partition Command ..................................................................................................................... 39Delete Partition Command ..................................................................................................................... 41Hide Partition Command ....................................................................................................................... 41Image Partition Command ..................................................................................................................... 42Resize Partition Command .................................................................................................................... 43Unhide Partition Command ................................................................................................................... 43
  • 8. Table of ContentsChapter Five: Volume Commands ....................................................................................................... 44Volume Check Command ..................................................................................................................... 45Volume Delete Command ...................................................................................................................... 45Volume Rename Command ................................................................................................................... 45Chapter Six: Pool Commands .............................................................................................................. 46Introduction to Pool Commands ............................................................................................................. 47Check Pool ............................................................................................................................................ 47Copy Pool .............................................................................................................................................. 48Delete Pool ............................................................................................................................................ 49Move Pool ............................................................................................................................................. 49Chapter Seven: Image Commands ...................................................................................................... 52Overview of the Image Commands ......................................................................................................... 53Disaster Recovery ................................................................................................................................. 54Cloning a Server .................................................................................................................................... 54Upgrade of Hard Drives .......................................................................................................................... 54Write an Image to a Disk File .................................................................................................................... 55Write an Image to a TCP/IP Link .............................................................................................................. 57Write an Image to a Tape Drive ................................................................................................................. 58Write an Image to a CD/DVD Recorder .................................................................................................... 59Write an Image to an FTP Server .............................................................................................................. 59Online Imaging .............................................................................................................. 60Chapter Eight: Restore Commands .................................................................................................... 62Introduction to the Restore Commands ................................................................................................... 63Read Image from a Disk File.................................................................................................................... 63Read Image from a TCP/IP Link .............................................................................................................. 64Read Image from a Tape Drive ................................................................................................................. 65Read Image from a CD/DVD ................................................................................................................... 66Read Image from a Web Server. ............................................................................................................... 66Read Image from an FTP Server .............................................................................................................. 67
  • 9. Portlock Storage Manager 4.0 for NetWare User’s GuideChapter Nine: Repair Commands ....................................................................................................... 70Introduction to the Repair Commands ..................................................................................................... 71Create a Sector Image of a Disk Drive Command ....................................................................................... 71Fix Master Boot Record (MBR) .............................................................................................................. 72NetWare Traditional Partition and Volume Recovery Commands ............................................................ 73Copy a Corrupted Volume to a New Volume .............................................................................................. 74Repair a Volume with a missing Volume Segment ..................................................................................... 74Backup FAT Tables to a Disk File .............................................................................................................. 74NetWare NSS Partition and Volume Recovery Commands ....................................................................... 75Rebuild a Pool’s Tree .............................................................................................................................. 75VMware Partition and Volume Recovery Commands .............................................................................. 76Chapter Ten: Hardware Commands ................................................................................................... 78Chapter Eleven: System Commands ................................................................................................... 80Open Logfile ......................................................................................................................................... 80Close Logfile ......................................................................................................................................... 81Recv File ............................................................................................................................................... 81Send File ............................................................................................................................................... 81Disk Format .......................................................................................................................................... 82Chapter Twelve: License Renewal ....................................................................................................... 84AppendixA:Automated Imaging with the use of CRON.NLM ............................................................ 86Appendix B: Portlock Storage Manager and NSS Snapshots ............................................................... 90Online Imaging and NSS Snapshots ........................................................................................................ 90Scripting Support in Portlock Storage Manager ....................................................................................... 91Guidelines for Crosss-Platform Compatibility of NSS ............................................................................. 92What is NSS Snapshotting? .................................................................................................................... 92Benefits of Pool Snapshopts .................................................................................................................... 93How to Enable Snapshots ........................................................................................................................ 94Activating NSS Snapshots ..................................................................................................................... 94Mounting a NetWare NSS Pool Snapshot ................................................................................................. 95Glossary .............................................................................................................................................. 98
  • 10. Table of Contents
  • 11. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 1 About Portlock Storage Manager This chapter includes the following topics: • What is Portlock Storage Manager? • Design Philosophy of Portlock Storage Manager • Before Loading Portlock Storage Manager • Copying Portlock Storage Manager to a floppy diskette • Technical Support14
  • 12. Chapter 1 About Portlock Storage ManagerWhat is Portlock Storage Manager?Portlock Storage Manager is software designed to optimize server and desktop storage and protectcritical business data. Users can copy, create, clone, image, restore and resize partitions and volumes.Recovery of failed servers is very fast and dramatically simplified. Portlock Storage Managersupports creating images of Linux, NetWare and Windows servers (Windows currently in Beta).Images can be stored on disk files, TCP/IP communication links, FTP servers and SCSI tape drives.Third-generation imaging technology supports streaming to the fastest SCSI tape drives or usinghigh performance communications over TCP/IP for server-to-server cloning.Portlock Storage Manager provides full-featured control over the size and layout of partitions,volumes, NSS (Novell Storage Services) volumes and NSS Storage Pools. Compaq, IBM and DELLDiagnostic partitions are also supported. With Portlock Storage Manager 4.0, NetWare and Linuxcustomers have a backup, storage management and disaster recovery solution that provides supportfor imaging, moving, managing and recovering Novell Storage Services (NSS) pools, volumes andpartitions on both SUSE LINUX and NetWare system kernels. In addition, Portlock Storage Managersupports all other leading filesystems, such as Reiser, Ext2, Ext3, etc.Design Philosophy of Portlock Storage ManagerPortlock Storage Manager breaks commands into groups of commands based on the concepts ofDrive, Partition, Volume, Pool, Image, Restore and Repair. For example, if you want to resize avolume, use the command Volume Resize, located under Volume Commands. If you want to resize apartition, then use the command Partition Resize under Partition Commands. Before you can modifya storage item, you must select it. Once an item is selected, a command menu will be displayed withthe supported commands for that item. NOTE: Not all features are available for all file system types.Before Loading Portlock Storage ManagerWe recommend installing the latest Service Packs, especially if you are using NSS. However, thisis not a requirement. Our Quality Assurance Department attempts to test Portlock Storage Manageron all versions of NetWare with all Service Pack releases.Verify your NetWare and NSS volumes prior to modifying them with Portlock Storage Manager.Portlock Storage Manager performs a volume check on Traditional and NSS volumes prior tobeginning any modification operation. This ensures that there is no volume corruption and ensuresthat Portlock Storage Manager supports the feature set of the volumes. Novell is constantly improvingNetWare and this may result in new file system features being added. Portlock Storage Managerchecks every data structure in a volume to ensure that all features are recognized and supported. 15
  • 13. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager operates the same in all supported OS environments: Dismounting wherethe underlying OS requires it. The program controls the underlying OS disk access in order to completeits functionality. Therefore, it is generally a poor idea for end users to be connected when PortlockStorage Manager is working on the server. Portlock Storage Manager does not require clients tolog off from the server. Servers usually do not need to be rebooted after running Portlock StorageManager. Only the volume being modified needs to be dismounted. However, when a volume isdismounted, files on that volume are no longer accessible. If a volume is dismounted when files areopen, users will not be able to write to these files. NOTE: BACKUP your data. Protect your data by maintaining current and reliable backups before you begin any storage management operation. Install and use an Uninterruptible Power Supply (UPS). Portlock Software engineers design fault-tolerant features wherever possible in Portlock Storage Manager. However, not every disk operation can withstand power failures. Protect your servers and desktops with UPS devices.16
  • 14. Chapter 1 About Portlock Storage ManagerTechnical SupportPortlock is committed to providing support for its products that exceeds the industry standardfor software companies. We provide support via our web site www.portlock.com, email andtelephone.NOTE: Technical Support is only available in English.Before Contacting Technical SupportVerify that you are running the current version of Portlock Storage Manager. Our products are updatedoften. The README file may indicate that we have already corrected your problem. • Run Portlock Storage Manager with the stormgr -logfile=stormgr.log command line option. Technical Support will usually ask for the log file so that we can see your hardware and software configuration. • Write down any error or warning messages exactly as displayed by Portlock Storage Manager. This will often help Technical Support identify the location of the error in the Portlock Storage Manager source code. This can greatly speed up resolution of a support issue. • Know the operating system name and version. • Know the makes and model numbers of the hardware you are usingContacting Technical Support by Email or TelephoneIf you are reporting a problem using Portlock Storage Manager, our preferred support contact is byemail – support@portlock.com – you will receive a response within ONE business day.If you prefer, you can contact our Technical Support Engineers via telephone: +1-406-723-5200 or44 (0) 1256 392990 (best choice for Europe). 17
  • 15. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 2 Using Portlock Storage Manager This chapter includes the following topics: • Introduction to Portlock Storage Manager • Introduction to Portlock Remote • Introduction to Portlock Storage Manager Installation Methods • Por tlock Storage Manager Installation Methods • Quick Installation of Portlock Storage Manager on Novell Open Enterprise Server • Installing Portlock Storage Manager on NetWare • Uninstalling Portlock Storage Manager using NWCONFIG • Uninstalling Portlock Install, Remote and Related Products • Loading Portlock Storage Manager18
  • 16. Chapter 2 Using Portlock Storage ManagerIntroduction to Portlock Storage ManagerPortlock Storage Manager is designed to support a large variety of bare-metal disaster recovery,server-to-server migration and storage management operations. Users can copy, create, clone, image,restore and resize partitions and volumes. Users can also image and restore from disk files, tape,CD/DVD, FTP and web servers. Recovery of failed servers is very fast and dramatically simplified.No other storage management product offers such a breadth of features.Introduction to Portlock RemotePortlock Remote is a Windows-based program that supports remote control of Portlock StorageManager. Portlock Remote executes from a DOS box on a Windows platform. You can use thisprogram rather than using other screen capture tools, such as Rconj or Rconsole.Introduction to Portlock Installation MethodsPortlock Storage Manager can be installed onto machines running NetWare and Linux operatingsystems using several methods. All of the files necessary to support these methods are available fromthe web and from the Portlock Boot CD (PBCD).Download Portlock Storage Manager 4.02 from:http://www.portlock.com/products/storagemanager/evaluate/The Portlock Boot CD may be downloaded from:http://www.portlock.com/products/storagemanager/boot_cd.aspxThe files on the Portlock Boot CD are accessed using two methods: 1. Boot the PBCD into local mode and recover the file(s) from the appropriate products subdirectory. This method is described fully in a separate document on our web site. 2. Insert the PBCD into a running Windows-based machine and take advantage of the auto- starting menu that pops up containing access paths to all Portlock products.Portlock Storage Manager Installation MethodsThe required file(s) may be downloaded from:http://www.portlock.com/products/storagemanager/evaluate/ 1. Remote installation of Portlock Storage Manager on NetWare using Portlock Install. File(s): Portlock Storage Manager Windows-based Installer. 2. Installation of Portlock Storage Manager natively on NetWare servers from a floppy diskette. File(s): Minimum files to run Portlock Storage Manager from a floppy. Unzip to a formatted floppy diskette. 19
  • 17. Portlock Storage Manager 4.0 for NetWare User’s Guide 3. Installation of Portlock Storage Manager natively on NetWare servers using NWConfig or Pinstall methods. File(s): Download the zipped NetWare-based Installer. Unzip and execute NWConfig or PInstall to run Portlock Storage Manager on a NetWare server. Create the directory SYS:/STORMGR. Unzip into this directory. No installation is required. Create a temporary directory on your NetWare server and unzip these files into this directory.NetWare 3.x & 4.x - run PINSTALL.NLM to install.NetWare 5.x & 6.x - run NWCONFIG.NLM to install. NOTE: Updated software evaluation licenses are available at : http://por tlock .com/download/ portlock.zipQuick Installation of Portlock Storage Manager onNovell Open Enterprise Server 1. Start a bash shell at the NetWare server console. Type “bash” at the server prompt. 2. Create a directory to store the Portlock Storage Manager files. Type “mkdir sys:/stormgr” at the bash prompt. 3. Switch directories to sys:/stormgr. Type “cd /stormgr” at the bash prompt. 4. Download Portlock Storage Manager: Type “wget www.portlock.com/download/stormgr_ 40.zip” at the bash prompt. 5. Unzip the files. Type “unzip stormgr_40.zip” at the bash prompt. 6. Copy your purchased license (optional). Insert a floppy diskette with your license. Type “copy a:stormgr.lic stormgr.lic”. 7. Exit the bash shell. Type “exit” at the bash prompt. 8. Start Portlock Storage Manager. Type “sys:/stormgr/stormgr” at the server prompt.Installing Portlock Storage Manager on NetWareIf you are installing from a CD-ROM, insert the CD-ROM into your drive. If you downloaded thesoftware, the software is packaged as a ZIP file. Create a temporary directory on your system andunzip the files. There are three supported installation methods:Method One: Using INSTALL.NLM or NWCONFIG.NLMMethod Two: Using PINSTALL.NLM20
  • 18. Chapter 2 Using Portlock Storage ManagerMethod Three: Using the directory SYS:/STORMGR WARNING: Do not use emm386.exe in config.sys for the DOS version of Storage Manager. There are many issues associated with this memor y manager. Por tlock Storage Manager has removed the need for emm386.exe.Method One: Using INSTALL.NLM or NWCONFIG.NLMFirst, copy the files either to a floppy diskette or to a temporary directory on your server.Next, from the NetWare system console, type nwconfig and press [Enter]From the Configuration Options menu, select Product Options and press [Enter].From the Other Installation Actions menu, select Install a product not listed and press [Enter]to continue. 21
  • 19. Portlock Storage Manager 4.0 for NetWare User’s GuideThe Previously Specified Paths menu will appear. Press [Enter] to continue. NOTE: Even though the highlighted Previously Specified Path may not be correct, go ahead and continue because the next screen will give the option to specify a different path.A confirmation box will appear. Press [F3] to specify a different path or [Enter] to continue.At this point, specify a directory path. In the example below, C:STORMGR was entered becausethat is where we unzipped the Portlock Storage Manager files. Press [Enter] to continue.Indicate which file groups you want installed by using the [Enter] key to toggle the [X] next to eachitem. Because there is only one group for the Portlock Storage Manager version to be installed andit is already marked, we will continue by pressing [F10] to Accept marked groups and continue.After accepting the marked groups, the File Copy Status screen will appear. On top of this screen, theAvailable Options menu will appear. To continue, select Install Storage Manager by highlightingit and pressing [Enter].22
  • 20. Chapter 2 Using Portlock Storage ManagerThe Portlock License Agreement will appear. Make sure you read the entire License Agreementby using the down arrow key to scroll through the document and when finished, press [ESC] tocontinue.From this screen, select the option Accept License Agreement and press [Enter]. To reject thelicense agreement, select the option Reject License Agreement. If you choose to reject the licenseagreement, you will be unable to install Portlock Storage Manager and you will be returned to theConfiguration Options menu.The file copy procedure will begin after you accept the license agreement. Once all of the fileshave been copied and the status bar reaches 100%, a message box will appear indicating that theinstallation of Portlock Storage Manager is complete. Press [Enter] to continue and [ESC] to exitNWCONFIG.Method Two: Using PINSTALL.NLMFrom the server console, type: load a:pinstall.nlm if the files are on a floppy diskette, or type load<path>/pinstall.nlm if the files are on a directory on the server. In example below, pinstall.nlm islocated in the STORMGR directory on the C: drive. 23
  • 21. Portlock Storage Manager 4.0 for NetWare User’s GuideFrom the Install Portlock Storage Manager screen, choose YES to begin installing Portlock StorageManager. Press [Enter] to continue.This screen shows the Portlock License Agreement. After reviewing the license agreement, press[Enter] to continue and accept the license agreement or [ESC] to return to the previous screen.From the Available Options menu, choose Accept License Agreement (if you accept the terms ofthe agreement) to continue with the installation and press [Enter].The Software Installation Progress screen displays showing the installation of Portlock StorageManager was successful.24
  • 22. Chapter 2 Using Portlock Storage ManagerMethod Three: Using the directory SYS:/STORMGRTo install using the directory SYS:/STORMGR, copy the files to the SYS:/STORMGR directory onyour server. The software can also be copied to any directory on your server.Loading Portlock Storage ManagerThe default installation directory for Portlock Storage Manager is SYS:/STORMGR. To load PortlockStorage Manager, type: load sys:/stormgr/stormgr. We recommend including the logfile commandline option: load sys:/stormgr/stormgr –logfile=sys:/stormgr.log or if you are going to manipulatestorage on the SYS: volume then save the logfile to the C: drive as shown in the Execute from DOSline. To execute Portlock Storage Manager from DOS, type: stormgr –logfile=c:/stormgr.log. Asa shortcut, create a file in the SYS:/SYSTEM directory named stormgr.ncf. Place the followingcommand line into this file: load sys:/stormgr/stormgr –logfile=sys:/stormgr.log. After attemptingthis procedure, you can type stormgr at the server console and load Portlock Storage Managerwithout specifying the path and options. 25
  • 23. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 3 Drive Commands This chapter includes the following topics: • Introduction to the Drive Commands • Explanation of the Drive Information Command • Explanation of the Drive Initialize Command • Explanation of the Drive Sector Copy Command • Explanation of the Drive Compare Command • Explanation of the Drive Verify Command26
  • 24. Chapter 3 Drive CommandsIntroduction to the Drive CommandsThe Drive Commands are designed to diagnose problems and perform various storage managementoperations at the drive level. With the use of Drive Commands, a storage device can be copied,compared, checked for errors and/or cleared of all existing data. The Drive Commands make it fastand easy for users to work with their storage devices at the drive level without the need to worryabout partitions, volumes and files.The Main Menu offers access to all the features of Portlock Storage Manager quickly and easily. Toaccess the Drive Commands, select Drive Commands from the Main Menu and press [Enter].Inside the Drive Commands you will find information regarding your drives that currently resideon the device selected which will include partition type, partition size, free space, drive type andvirtual environment.If you have multiple devices in your configuration they will be listed under the Select Drive menuas shown below. Select your desired device for a list of options.Your list of options will include Drive Attach, Copy, Create, Expand, Information, Initialize, Compareand Verify. Drive Attach, Copy, Create and Expand are primarily for virtual environments. 27
  • 25. Portlock Storage Manager 4.0 for NetWare User’s GuideYou will find the rest of the Drive Commands useful for incidents such as information about yourdrive or checking the sectors of your drive for errors and performance. Drive Initialize must be usedwith caution because it will completely delete all partitions on your device.Drive InitializeThe Drive Initialize command will rewrite the boot sector of a device. This will delete all partitiontable information. This command is designed to be used on new devices that do not yet have a validpartition table. NOTE: Do not run this command on a device with valid partitions. This will wipe your device clean.Highlight and select the device you wish to initialize:You will be warned that all partitions on your device will be deleted. If you proceed, you will loseall data on your device.28
  • 26. Chapter 3 Drive CommandsYou have the option of writing all device sectors with a data pattern. You may skip this phase. When“Write All Device Sectors with Data Pattern” is selected, Portlock Storage Manager will start sector-by-sector initialization of the selected disk drive.It is not always necessary to initialize every sector of your drive. This can be a lengthy process,depending on the size and speed of your device. 29
  • 27. Portlock Storage Manager 4.0 for NetWare User’s GuideDrive Sector CopyThe Drive Sector Copy command is used to copy one disk drive to another. The two driveswill be an exact copy of each other. This command is typically used during data recovery.It should not be used as a method to make a copy of a partition. Most modern operatingsystems embed information into the partitions that must be modified for correct disk cloning.You should use the Partition or Image Commands to manage your partitions.Drive CompareThe Drive Compare command will compare two disk drives. This command can be run after a DriveSector Copy to verify that the copy was successful. NOTE: You must have two devices on your system in order to run this command.Select the drive you wish to make your comparison with:30
  • 28. Chapter 3 Drive CommandsIf you are trying to compare two drives that are not the same size, Portlock Storage Managerwill prompt you with a message stating the amount of sectors that will be compared. Thesize of sectors will be dependant on the size of your drives.Drive VerifyThe Drive Verify command will perform a test of the disk device. There are several types of tests,including Read-Only and Read-Write. Read-Only commands will not modify the media, and are safeto run when there are partitions and volumes present. The Read-Write commands are destructiveand will destroy partitions and volumes. WARNING: Do not execute Read-Write commands on a device with valid partitions and volumes. Doing so will delete all data.1. Read-Only Sequential VerifyThis method performs a read-only sequential scan of the disk drive. Block sizes from 1 sector to128 sectors per I/O are supported. No data is written to the drive. This is also a quick method todetermine the read performance of a disk drive.2. Read-Only Random VerifyThis method performs a read-only random scan of the disk drive. The software generates a randomnumber which determines the sector to read. Block sizes from 1 sector to 128 sectors per I/O aresupported. No data is written to the drive. This method is quick in determining the random I/Operformance of a disk drive. 31
  • 29. Portlock Storage Manager 4.0 for NetWare User’s Guide3. Read-Write Sequential VerifyThis method verifies that data can be written to a disk drive and then read back. A data pattern thatis unique to each sector is written to the disk and then compared on read back. Block sizes from 1sector to 128 sectors per I/O are supported. For this verify mode, an option is to perform an extensiveverify, which writes multiple data patterns to the disk drive. This includes performing a bit-walk datapattern to detect missing sector bits. Data is written to the drive, which will destroy all partitions,volumes and data on the disk drive.4. Read-Write Random VerifyThis method verifies that the data can be written to a disk drive and then read back. The softwaregenerates a random number that is used to determine the sector to write/read. Block sizes from 1sector to 128 sectors per I/O are supported. For this verify mode, an option is to perform an extensiveverify, which writes multiple data patterns to the disk drive. This includes performing a bit-walk datapattern to detect missing sector bits. Data is written to the drive, which will destroy all partitions,volumes and data on the disk drive.Two options for verifying your disk drive are verifying the entire drive or part of the drive. If youchoose to verify only part of the drive, Portlock Storage Manager will prompt you for informationregarding the length of the drive verification you wish to carry out.32
  • 30. Chapter 3 Drive CommandsPortlock Storage Manager will give you the option of how many sectors per I/O to complete. NOTE: Portlock Storage Manager supports various size I/O operations. The size of an I/O is measured in sectors. The larger the I/O size, the faster most drives can transfer data. Most devices are limited to 128 sectors (64 KB) per I/O operation. Some devices can transfer larger amounts.Give Portlock Storage Manager a number of passes you wish Drive Verify to make. In most cases,one pass is substantial.The drive verification process will begin and may take a few minutes. 33
  • 31. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 4 Partition Commands This chapter covers the following commands: • Partition Commands • Activate Partition • Copy Partition • Defragment Partition • Delete Partition • Dismount Partition • Display Partition • Format Partition • Hide Partition • Image Partition • Mount Partition • Resize Partition • Unhide Partition34
  • 32. Chapter 4 Partition CommandsPartition CommandsThe Partition Commands are designed to help you manage and diagnose problems and performstorage management operations3 at the partition level. By selecting the Partition Commands fromthe Main Menu of Portlock Storage Manager, you will find a number of options to assist you inmanaging your system. Note: There are several features within the Partition Commands that are only usable when running under a NetWare system.From the Partition Commands you will have the option to Activate, Check, Copy, Create, Defrag,Delete, Dismount, Display, Format, Hide, Image, Mount, Resize and Unhide. There are many differentscenarios for each command, all of which can be beneficial when managing your system.Activate PartitionThe Activate Partition command is used to modify which partition will be set to boot in the MasterBoot Record (MBR). For example, various MS-DOS partitions could be present on a drive, but onlyone could be active or able to “boot.” 35
  • 33. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager will provide you with a list of partitions to activate. Your system will notboot from an inactive partition.Check PartitionThe check partition feature will ensure that you have no warnings or errors that reside with any ofthe partitions on your device.Portlock Storage Manager will provide you with a list of partitions on your device. Choose thepartition that you wish to check.36
  • 34. Chapter 4 Partition CommandsOnce the partition check is complete and you have not received any notices or warnings, you willsee that everything is checked with a “Success.”Combine NetWare 6 Master PartitionFrom the Select Partition Command menu, select Combine NW 6 Master Partitions and press[Enter]. The selected NetWare 6 master partition tables will be combined and you will be returnedto the Select Partition Command menu. NOTE: Once you’ve combined partitions, you cannot revert those partitions to their original state.Convert into a NetWare 6 PartitionSelect the Convert into a NW 6 Partition from the Select Partition Command menu. 37
  • 35. Portlock Storage Manager 4.0 for NetWare User’s GuideWhen migrating or copying partitions, ensure that you have an activated partition. If there is noactivated partition or the correct partition is not activated, your system may not boot. Partitionsmarked with an asterisk (*) are bootable partitions.Checking your partition may be a good idea before beginning any image or copy to ensure that yourhave no errors or corruption with any one partition.Copy PartitionChoose the option “Copy Partition” as seen below. This willallow you to copy your partition to free space on your existingdrive or to an additional device on your system. For example:You have a 9 GB drive that is almost full and you would liketo replace this drive with a larger one. You can accomplish thisby installing a new, larger drive (if applicable) and copy thepartition to the larger drive and resize it using the PartitionResize command.After selecting your device, its partitions are displayed. Once you have selected the partition youwish to copy, Portlock Storage Manager will ask you where you want to copy your partition. If youhave no other existing devices on your system, you will need to copy your partition to the originaldevice. You will not have the option to copy a partition if you do not have enough free space on theoriginal device.Two pools with the same name cannot reside on the same server. Portlock Storage Manager will askyou to rename the partition/pool that your are copying. NOTE: You may rename your partition/pool back to its original name once the original partition/pool has been discarded.38
  • 36. Chapter 4 Partition CommandsPortlock Storage Manager checks all partitions before allowing management operations to ensurethat you are not moving or managing a potentially corrupted partition.You will need to rename your volume just as you did for your pool because Portlock Storage Managerdoes not allow you to have duplicate volume names.Select the device you wish to copy to and ensure you have enough free space on this device beforebeginning the copying process.Upon copying your volume, you will have the option to resize your pool. Portlock Storage Managerwill provide you with a minimum and a maximum size. If you do not wish to resize, select the defaultsize provided and press [Enter].The copying process will begin and may take a few minutes.Create PartitionThe Create Partition command will allow you to create partitions so that data management canbe more streamlined and changes can be made to the layout and location of your volumes and data.This command is most commonly used to prepare an un-partitioned disk or disk with available freespace for use. A number of different partitions can be created using this command. Partitions thatcan be created with Portlock Storage Manager are DOS, FAT16, FAT32, NetWare, NTFS, LinuxSwap and ReiserFS. 39
  • 37. Portlock Storage Manager 4.0 for NetWare User’s Guide NOTE: Portlock Storage Manager can only create a partition if there is available free disk space to do so.Portlock Storage Manager will provide you with a list of partition types to create. Select the typethat you wish to create and press [Enter].Create either a NetWare Traditional or NSS partition.Portlock Storage Manager specifies a minimum and a maximum size for your partition. Specify thesize for your new partition and press [F10].40
  • 38. Chapter 4 Partition CommandsDelete PartitionDeleting a partition is sometimes necessary to create free space for different scenarios. To delete apartition, select Delete Partition from the Partitions Command menu.The partitions you may delete are displayed:Hide PartitionThe Hide Partition command will allow you to hide partitions by changing their partition type inthe Master Boot Record (MBR). This command is most useful when copying a NetWare partitionwithout renaming the volumes inside of it. By hiding the partition, NetWare will not have a conflictwith volume names.Choose the partition that you wish to hide from the selection list and then confirm the process. 41
  • 39. Portlock Storage Manager 4.0 for NetWare User’s GuideImage PartitionThis allows you to take an image of a partition. The Image Partition command is designed to takea sector-by-sector image of the partition. It should not be used for normal image/restore operationsas it is only designed to be used for disaster recovery in the event of a failure.This command is intended for data recovery operations and not for duplicating partitions as mostmodern operating systems embed information into the partitions that must be modified for correctpartition cloning.Select the partition that you wish to image from the selection menu:Portlock Storage Manager will provide you with several types of destinations to choose from. Choosethe one that best suits your needs. For more information on imaging and destination selection, pleasesee the Imaging Commands.42
  • 40. Chapter 4 Partition CommandsResize PartitionThis command resizes DOS, NetWare and NSS partitions. A partition can beresized larger or smaller, contain one or more volume segments, be resizedby changing the starting or ending position of a partition and can also bemoved. Volumes within a partition are not resized by this command. DOSpartitions can be resized larger and smaller,both in place and upon image restoration.NSS partitions may only be resized larger.However, NetWare Traditional partitionsmay be resized both smaller and larger. Adequate disk space for resize-larger is needed since PortlockStorage Manager does not move partitions for the resize process.Portlock Storage Manager will provide you with a list of partitions toresize. Choose the partition you wish to resize and press [Enter].You will now be given a minimum and a maximum size that you willbe able to resize your partition. Enter the new size in MB and press [Enter].Unhide PartitionThe Unhide Partition command will do the opposite of the hide commandby reverting the partition type bit in the MBR. Do not use duplicate volumenames. Portlock Storage Manager will detect duplicate volume names andwill prevent you from proceeding until the volumes have unique names. Usethe Volume Rename Command to rename your volume.Once you have chosen Unhide Partition, Portlock Storage Manager will show you a list of all thehidden partitions on your device. Selectthe partition you wish to unhide and press[Enter]. 43
  • 41. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 5 Volume Commands This chapter includes the following topics: • Volume Check Command • Volume Delete Command • Volume Rename Command44
  • 42. Chapter 5 Volume CommandsThe Volume Commands are a subset of NetWare-specific commandsthat will allow the user to perform a variety of tasks on NetWarevolumes. A few of the more commonly used commands are VolumeRename, Volume Resize/Merge and Volume Copy. If you wish towork with volumes and not partitions, this would be the appropriateselection. Depending on which version of NetWare you are using,Portlock Storage Manager will present the appropriate commandson the Volume Menu. On servers running versions of NetWare thatuse NSS technology, a NSS Volume Command item will be availablefrom the Volume Menu.Portlock Storage Manager will provide youwith a list of all the volumes on your server.Select the volume that you wish to manage.Volume CheckThe Volume Check command allows a quick, comprehensive checkof the selected volume. When this command is used, Portlock StorageManager will read and analyze the primary FAT Table, verify theSecondary FAT, read the directory tables and analyze the DIR Tables.This is a read-only command that checks a volume for errors. It doesnot repair any volume errors. Use the NetWare VREPAIR programto repair a Traditional NetWare volume.If your volume check passed without anyerrors you will be able to continue withmanaging your volume.Volume DeleteThis will permanently delete a volume from your pool and device.Use this command with caution as all data may potentially be lostVolume RenameEnter a new volume name for your volume. This must be aunique name for Portlock Storage Manager to accept it. 45
  • 43. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 6 Pool Commands This chapter includes the following topics: • Introduction to the Pool Commands • Activate Pool • Check Pool • Copy Pool • Create Pool • Create Volume • Deactivate Pool • Delete Pool • Hide Pool • List Pools • Move Pool • Rebuild Pool • Rename Pool • Resize Pool • Undelete Pool • Unhide Pool • Verify Pool46
  • 44. Chapter 6 Pool CommandsIntroduction to the Pool CommandsThe activate Pool Command will allow the user to activate the currently selected pool. Once theuser selects this option, Portlock Storage Manager will activate the selected pool and return to theNSS Pool Command menu. NOTE: When possible, make sure you have a verified backup of all of the volumes in the Pool you are trying to rebuild. A system crash that halts running processes can cause volume errors, but they are typically repaired during volume mount. If the errors persist, use Rebuild Pool and Verify Pool commands to try and resolve any problems.Check PoolThe Check Pool Command will allow the user to test the integrity of the selected pool. Some of thetests that will be performed include Verification of NSS Partition, Super Block, Free Tree, CheckPoint, Name Tree, Dir Tree, User Tree, Leaf Tree and more.From the Select NSS Pool Command menu, select Check Pool by highlighting it and pressing[Enter]. You will be prompted to dismount any mounted volumes before proceeding. NOTE: The Check Pool command uses Portlock’s pool- checking facilities with Portlock Storage Manager on a pool and it only reads the pool and does not correct any errors. 47
  • 45. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager will show you a list off pools that reside on your server. Choose the poolthat you wish to perform the check.You may continue managing your pool after the pool check passes.Copy PoolThe Copy Pool command allows you to copy an existing Pool to a new storage location on an existingdisk or a new disk. The copy will create a new pool with all of the volumes inside the pool. You willneed to assign new, unique names to the pool and the volumes inside the pool.Portlock Storage Manager will require you to rename your pool and volume as you cannot haveduplicate pool and volume names on your server.48
  • 46. Chapter 6 Pool CommandsSelect the device that you wish to copy your pool to. Verify that you have enough free space on yourdevice or Portlock Storage Manager will not allow you to begin the copying process.Delete PoolThe Delete Pool command allows you to delete existing pools on your server. If a pool is deletedunintentionally while using Console One, you can use Portlock Storage Manager to undelete thepool. Select the Undelete Pool option to see which pools may be undeleted.Move PoolThis command allows you to “move” a pool from one storage location to another. The process involvesPortlock Storage Manager hiding the original pool and copying it to the new storage location. Themoved pool is identical to the hidden pool. All rights, restrictions, etc. are preserved as part of themove. This command is ideal when used to migrate from old storage to new storage, such as a locallyattached disk to a new SAN environment. Select Move Pool from the Pool Commands menu tomove a pool. If the move does not complete successfully, unhide the original pool and try again. 49
  • 47. Portlock Storage Manager 4.0 for NetWare User’s GuideAfter you select the pool to move and the device to move your pool to, Portlock Storage Managerwill perform a pool check to ensure your pool is in good condition before moving it.During the pool remove you will be given the option to resize your pool. Portlock Storage Managerwill give you a minimum and a maximum size to choose from.Once the pool move is complete you can confirm the move was a success by checking your deviceand the data in your pool.50
  • 48. Chapter 6 Pool Commands 51
  • 49. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 7 Image Commands This chapter includes the following topics: • Overview of the Image Commands • Disaster Recovery • Cloning a Server • Upgrading Hard Drives • Writing Image to a Disk Drive • Writing an Image to a TCP/IP Link • Writing an Image to a Tape Drive • Writing an Image to a CD/DVD Recorder • Writing an image to a FTP Server • Online Imaging52
  • 50. Chapter 7 Image CommandsOverview of the Image CommandsPortlock Storage Manager images Compaq, Dell and IBM diagnostic partitions, DOS FAT-16partitions, Traditional Volumes and NSS Volumes. The volumes within a NetWare partition are imaged,but NetWare partitions are not imaged. Imaging the NetWare partition is unnecessary as they arecreated on the fly by Portlock Storage Manager during a restore. The Image Command dismountsWindows file systems before imaging when the Portlock Boot CD (WinPE) is used.Portlock Storage Manager images Traditional and NSS Volumes by storing the volume ATA blocksand file system structure into the image. This allows the volumes to be resizable during the restore.Portlock Storage Manager implements a third-generation technology for imaging NetWare serversthat maximizes the performance of the image and restore commands. For most systems, PortlockStorage Manager can easily stream the fastest SCSI tape drives such as Quantum’s LTO-3. An entireNetWare server can be saved into an image that can be stored as an image file on another server or asan image written to a SCSI tape drive. Images can consist of multiple files that are “spanned.” Spanningsupports images that are larger than the media to which they are written (i.e., CD/DVDs).Restoring an image can be done from DOS or NetWare. An entire server or just portions of theserver can be restored from the image. Portlock Storage Manager does not support individual filerecovery from images. This is a deliberate design decision due to our goal of very high performanceand compressibility of images.DOS FAT-32 partitions cannot be resized. This is a feature that will be added in a future release.Compaq Diagnostic partitions are not resizable when restored. This is also deliberate, asDiagnostic partitions are special types of partitions. Partitions can be enlarged using the PartitionCopy command. NOTE: It is not possible to image volumes within a pool. To move a volume from one pool to another, you need to use the Volume Copy command.Portlock Storage Manager images Traditional and NSS volumes by storing the volume data blocksand file system structure into the image. This allows the volumes to be resizable during the restore.Portlock Storage Manager can image a NetWare server while NetWare is running or from DOS.Device drivers written for NetWare are 32-bit drivers that have been optimized for performance.For this reason, we recommend imaging servers from NetWare instead of from DOS. DOS devicedrivers are typically 16-bit, real-mode drivers that are usually optimized for small memory size, notperformance. You will often see a two-to-one performance difference between DOS device driversand NetWare device drivers. 53
  • 51. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager supports both the NWPA (HAM) drivers and NWIO (DSK) drivers forcommunicating with tape drives. Portlock Storage Manager interfaces directly with the HAM driverswhen using the NWPA interface. When using the NWIO interface, Portlock Storage Manager uses theASPI interface. NWPA drivers are faster. Portlock Storage Manager only supports ASPI drivers forcommunicating with tape drives under DOS. ASPI drivers provide interface to SCSI Host Adaptersthat are consistent with various SCSI Controllers.Disaster RecoveryIf you are using Portlock Storage Manager to create an offsite disaster recovery image, remember thatwhen you restore the image, only the data present at the time you created the image will be restored.Any newer files will not be part of the image that you have. For disaster recovery, you need to restorethe image that you made with Portlock Storage Manager and overwrite the information with thelatest version of the backup. This will provide you with all of the data up to the most recent backupthat you restored. Your only consideration is that all of your user IDs and passwords for these userIDs will be the ones that were used when the Portlock Storage Manager image was created. Backupsoftware such as FutureGate’s DeTroubler® supports restoration of NDS objects, which is acceptablein a single-server tree, but please consult your backup software manual for more information.Cloning a ServerThis method is used when you are upgrading the hardware for your server. In this case, you usePortlock Storage Manager to create an image of the old server and restore it on your new server.Once the image is restored to the new server, you may have to modify the server so that it supportsthe new disk controller and Network Interface Card before your users will be able to login to theserver. Please consult the manuals for your new hardware to ensure you have the correct driversloaded for the disk subsystem under NetWare.Upgrading Hard DrivesThis is the simplest solution for upgrading your server. Create an image of your server, remove theexisting drives, install the new drives and restore the Portlock Storage Manager image, resizing thevolumes as appropriate.The imaging process will give you the following options: • Image entire system • Image a single disk drive • Create a Sector Image of a disk drive • Create a Sector Image of a partition • Create a Sector Image of a disk region54
  • 52. Chapter 7 Image CommandsCreating a sector image of a disk drive and of a partition is also the same process as theaforementioned Drive and Partition Commands. Choose to Create a Sector Image whenyou would like a bit-for-bit image. However, this command is most commonly used for datarecovery purposes and backing up a failing drive partition or region – errors and all.When selecting to image your system your will receive a list of all the partitions that resideon the device you selected. You may skip a partition for the imaging process by pressing F5.By default, Portlock Storage Manager will select all partitions on your device. Press [Enter]to image your entire server and view the image status next to each partition.If you have volumes present, you will be asked if you wish to purge all volumes.Write Image to a Disk FileFor your imaging process Portlock Storage Manager provides you with several differenttypes of destinations for ease of management. Your destination selection will consist of: • Write image to a disk file • Write image to a TCP/IP link • Write image to a Tape Drive • Write image to a CD/DVD Recorder • Write image to an FTP Server 55
  • 53. Portlock Storage Manager 4.0 for NetWare User’s GuideThis guide will take you through each selection. For the first destination select Write imageto a disk file.Your image can be written to a DOS partition or a NetWare volume. Specify the path foryour image and press [Enter].Portlock Storage Manager provides you with several options pertaining to the image being created. Thefirst option you are given is Compression, which can be enabled or disabled. Enabling compressionwill create smaller file sizes but will take longer to image and restore. Disabling compression increasesimaging and restoring speeds but results in larger file sizes.The second option is Image File. With Image File, you may: 1. Auto-name image files. This will name the files with an increasing numeric extension for each image file, such as .001, .002, etc. 2. Ask for new image filename when the image file is full. Enabling this will automatically split the entire image file into 2,000 MB segments. 3. Split Image Files at 2,000 MB. This value can be changed. Enabling this will automatically split the entire image file into 2,000 MB segments. 4. Wait after each image file change. Enabling this will pause the process after each image file change. Since all the choices are pertinent to our example, we will press [Enter] to continue. NOTE: Portlock Storage Manager supports limiting the size of each image file to any size in multiples of 1,000,000 bytes. If you want to create an image that is limited to 650 MB for writing to a CD-ROM, specify a size of 650 in the Split. If you want to use removable media and you want to exchange the media when full, enable the Wait after each image file change option. If you want to write images to a Windows partition and have Portlock Storage Manager auto-name each file after the first one, enable the Auto- name image files field.56
  • 54. Chapter 7 Image CommandsAuto-naming image files will cause Portlock Storage Manger to write with the name of the imagefile that you specify. If you specified an image filename of netware.img, a new file is created witha suffix of .000 (e.g. netware.000) when the file size limit is reached. As each file fills a new file iscreated, e.g. netware.001, etc. If the disk runs out of space, you will be prompted for a new filename,and the process can repeat on the new disk drive or volume. NOTE: Never give the initial image file a numeric extension as you may overwrite one of the files that you require as part of the image. Also ensure that the image files are no larger than 2,000 MB in size.Portlock Storage Manager will begin the imaging process and it may take a few minutes tocomplete.Write Image to a TCP/IP LinkPortlock Storage Manager supports sending an image over a TCP/IP link. The machine that is runningon the other end of the TCP/IP link can be Portlock Storage Manager running in Restore Mode,which implements server-to-server cloning. The other end of the TCP/IP link can also be PortlockImage Manager, (IMAGEMGR.NLM , located in the same directory as Portlock Storage Manager)which can receive data from TCP/IP and write it as a disk file, or write it to a SCSI tape drive. Thelatter supports a multi-server environment with only one SCSI tape drive. 57
  • 55. Portlock Storage Manager 4.0 for NetWare User’s GuideWhen using Portlock Storage Manager on two servers with one executing the Image Servercommand and the other server executing the Restore Server command, you can clone servers atvery high speeds. Portlock Storage Manger has been written with special performance features forhigh-speed tape drives. With the increased size of disk drives and RAID arrays, classic file-by-filebackup methods are too slow.Portlock Storage Manager can compress the image as it is being written. For a server-to-servermigration, you should not enable compression because it can slow the process down. From theCompression Mode menu, select whether to disable or enable Software Write Compression andpress [Enter] to continue.When transferring an image via TCP/IP, one side needs to be a server, and the other side needs to bea client. The system that is running as a server must be started first. The system running as a serverwill listen for a connection from the other system (client). Select the TCP/IP mode for this systemand press [Enter] to continue.When selecting TCP/IP Server mode, Portlock Storage Manager will provide you with the IPaddress of your server and then listen for a connection from the client side. Please view the RestoreCommands for completing your migration.Write Image to a Tape DrivePortlock Storage Manager supports all SCSI tape drives that support writing in Variable LengthMode. Portlock Storage Manager does not support tape drives that only support block mode. Thisis not an issue, as all modern SCSI tape drives support Variable Length Mode. It provides bettertape capacity and higher performance.58
  • 56. Chapter 7 Image CommandsPortlock Storage Manager writes to a SCSI tape drive using a 32,768-byte block size. This blocksize was chosen to maximize performance and tape capacity. Portlock Storage Manager will writeto a tape until the Early Warning of End of Media is detected. A file mark is written to the tapeand the tape is rewound. The cycle repeats itself with a new tape until all data to be imaged has beenwritten to tape. This allows an image to be spanned across multiple tapes.Portlock Storage Manager encodes header information while writing to tape. This header informationensures that data written to tape can be verified when read back. If compression is enabled, additionalinformation is written to ensure the validity of the uncompressed data.Write Image to a CD/DVD RecorderThis command allows you to directly image to a DVD recorder. As most servers do not have DVDrecorders installed (in some cases not even a DVD-ROM), a better option may be to image theserver to an FTP server (see next section for details) andthen burn those created images to a DVD or CD to do a filerestore (see Chapter 8 for details on restoration of imagesfrom a disk file).The DVD image command creates an image of your server on a recordable DVD. If the media isnot formatted then Portlock Storage Manager will format the media and then proceed to write theimage. If the image size exceeds the capacity of the media, you will be asked to remove the existingmedia and insert new media so the image can be spanned to accommodate the full image.Write Image to a FTP ServerImaging and restoring using a remote FTP server allows network administrators to store and retrieveimages of volumes, partitions and even entire servers. This function is good for backups and forstoring and retrieving images used in a test environment. From the Select Image Destination menu,select Write image to an FTP server by highlighting it and pressing [Enter].* See Write Image to a Disk File on page 56 for your Compression and Image File options NOTE: Some FTP servers are case sensitive for file names. For example, if a file is “DOS.img,” specifying “dos.img” will not work. 59
  • 57. Portlock Storage Manager 4.0 for NetWare User’s GuideYou are prompted to enter the IP address, the name of the file that is to be created and the usernameand password of the remote FTP server. Portlock Storage Manager will communicate with the serverand start the actual imaging process. It will also simultaneously send the image to the FTP serverto be stored as an image file.Depending on your user rights on your FTP server, you may be able to send your image to a specificfolder. Note: Some FTP servers have a default timeout setting that may need to be configured before you begin the imaging process. If your timeout setting is not sufficient, the imaging process may not complete.Online ImagingPortlock Online Imaging provides block based imaging for NetWare 6.5 SP3 or later NSS Pools whilethey are active with mounted volumes. Portlock Online Imaging depends upon Novell SnapShotBackup. An NSS Pool, which can be empty, is used by Novell SnapShot Backup to store the deltasduring an image command. Portlock Storage Manager automatically freezes the selected pools,creates the snapshots, images the pools, thaws the selected pools and finally deletes the snapshots.Common reasons that Online Imaging fails: • The Pool is corrupted. • The Pool holding the snapshot is corrupted. • The Pool has too many deleted files. Consider purging the volumes within the pool. • The Pool does not have sufficient free space. Cleanup the volumes within the pool. • There is too much I/O activity on the Pool. NetWare must duplicate data that is modified on the pool during an online image. Consider moving some application’s datasets to other volumes to balance pool I/O. • There is not enough free space on the pool holding the snapshot. • There are hardware problems causing I/O errors on either the Pool or the pool holding the snapshot.60
  • 58. Chapter 7 Image CommandsNSS Pools Must be in a Stable and Warning-Free State for NetWare’s SnapshotFeature to Work CorrectlyCheck your Pool: • Run “Check Pool” from Portlock Storage Manager. • This command is located under the “Pool Commands” menu. • Add the command line option “-logfile=filename”, without the quotes when starting Portlock Storage Manager. • Specify the full path to the log file (example: -logfile=C:/STORMGR.LOG). • You can specify a floppy so that nothing on the server is modified (-logfile=A:/ STORMGR.LOG). • Do not specify a volume located on a pool that you are “checking” as the log file would be closed before the full results of the Pool Check could be written.Verify your Pool: • Execute Novell’s “nss /poolverify” command from the console. Select the pool to be verified. See the notes below about log files.Rebuild your Pool: • If there are any warnings or errors from the above commands run a “nss /poolrebuild” and then repeat the check and the verify.Troubleshooting Pool Errors During an Online Image • Reboot the server so that everything is in a stable state. • Consider purging the volumes in the pool. We have seen a number for issues (NetWare bugs) when there are a lot of “unpurged” files. • Manually create a snapshot and verify both the original pool and the snapshot pool: • Assuming that your problem pool is called “SYS” and you have another pool called “TEST” to store the snapshot, execute the following commands from the NetWare console: • mm snap list - This will display any snapshots on the server. This should be an empty list • mm snap create sys test sys_snap - This creates a new snapshot called “SYS_SNAP”, stores the temporary pool data on pool “TEST”. The original pool is called “SYS”. Change the names according to your setup. • mm snap list - Verify that your snapshot was created successfully. • mm snap activate sys_snap - This activates the snapshot pool called “SYS_SNAP”. • nss /PoolVerify=SYS - This will verify the active pool “SYS”. • nss /PoolVerify=SYS_SNAP - This will verify the snapshot of pool “SYS” • When Portlock Storage Manager is performing an “Online Image” of a pool, SYS_SNAP is the pool being imaged. 61
  • 59. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 8 Restore Commands This chapter includes the following topics: • Introduction to the Restore Commands • Read Image from a Disk File • Read Image from a TCP/IP Link • Read Image from a Tape Drive • Read Image from a CD/DVD • Restore Image using Secondary CD/DVD devices with the Portlock Linux Boot CD • Read Image from a Web Server • Read Image from an FTP Server • Portlock Image Manager62
  • 60. Chapter 8 Restore CommandsIntroduction to the Restore CommandsThe Restore Commands are a subset of commands that allow the user to restore an image previouslycreated by Portlock Storage Manager’s Image Commands. An image can be restored from a varietyof locations including a Disk File, across a TCP/IP link, a Tape Drive, a CD/DVD, a Web Serverand an FTP Server.NOTE: The “index.ftp” file is not automatically created. It is a “static” user-created file whichis put on the FTP server. The “index.ftp” file contains comments, remarks and a selectable list ofimages. This option is mainly used if you would like to have a lot of different images on the FTPserver but don’t want to remember the names and details of every image. You can put image namesand comments in this file and select them from Portlock Storage Manager. A short example of an“index.ftp” file is listed below: • [dos.img] This is an image of a DOS partition • [diag.img] This is an image of a Diagnostic partition • [nw4.img] This is an image of a NetWare 4 server • [nw5.img] This is an image of a NetWare 5 server • [nw6.img] This is an image of a NetWare 6 serverIf you do not wish to create this file, you can use the [F5] key to get a directory listing of your FTPserver and select the file that you wish to restore.From the Select Image Source menu, choose Read image from a Disk File. This can be a file froma partition or external device. 63
  • 61. Portlock Storage Manager 4.0 for NetWare User’s GuideThe image can be retrieved from a DOS partition, NetWare volume or a USB disk drive. Enter thefilename of the image file and the source and press [Enter]. In this example, TEST.IMG is beingrestored from the SYS volume.Read Image from a TCP/IP LinkThis command will allow you to receive an image sent by either Portlock Storage Manager orPortlock Image Manager. This command is most commonly used to send a volume or partitionfrom one system to another across the wire. For example, you have an 8 GB volume you would liketo move from Server A to Server B. One easy way to transfer this volume is to set up Server A inImage Mode and write that image to TCP/IP and at the same time setup Sever B in restore mode andread the image from TCP/IP. Using this procedure, the volume would simultaneously be restored onServer B acting much like a volume copy, except the volume is sent across the wire and the transferspeed is relatively fast. With 100-Megabit full-duplex Ethernet, transfer speeds of 7 MB per secondare easily achieved. Note: In the above example, Server A needs to be set to Server Mode and started first. Server B needs to be set to Client.When using the Restore Commands, you should always choose Client from the TCP/IP Mode. Theserver side will already be waiting from a connection.You will be prompted for the IP address of the machine you are imaging after choosing Client fromthe restore side. Make sure you have the correct IP address or a connection will not be made andyou will not be able to image and restore.64
  • 62. Chapter 8 Restore CommandsOnce a connection is made, Portlock Storage Manager will provide you with the partition(s) of thedevice you are imaging from. When you are ready to begin the restore process, press [Enter] tocontinue.The restore process will begin and may take a few minutes to complete. For this example, we restoreda 10 GB image in 10 minutes.Once your image has completed, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful.Read Image from a Tape DriveThis command allows you to restore an image from a tape drive. This is a common use of the imagecommand as tape drives have been recognized as the most popular media for backup purposes formany years. 65
  • 63. Portlock Storage Manager 4.0 for NetWare User’s GuideRead Image from a CD/DVDThis command will allow you to restore an image from a CD/DVD drive. We recommend using thePortlock Boot CD to boot your system when restoring an image from CD/DVD. Use a portable USBdrive and restore your files from the CD/DVD. This means using two CD/DVD drives – one to bootfrom and the other to restore from. Note: Please see Sending Image to CD/DVD for proper restore methods.Read Image from a Web ServerPortlock Storage Manager can read an image from a web server. This allows Portlock StorageManager to read a previously created Portlock Storage Manager image from a web server usingHTTP commands and port 80. The Portlock Storage Manager image must be in a directory that ananonymous user can access. The file does not have to be linked to from a web page, it just needs tobe an unsecured location. This option allows you to have images of your servers available for disasterrecovery, server deployments or test servers.Portlock Storage Manager can encrypt your image to prevent it from being intercepted during animage or restore.Specify the TCP/IP address and image file to retrieve. This will be the address of your web server.66
  • 64. Chapter 8 Restore CommandsOnce a connection is made, Portlock Storage Manager will show you the partition(s) of the .img filethat resides on your web server. When you are ready to begin the restore process, press [Enter].Portlock Storage Manager allows you to choose which device you wish to restore your image to. Selectyour device, confirm you have enough free space and press [Enter] to begin the restore process.The restore process will take a few minutes to complete. For this example, we restored a 10 GBimage in 10 minutes.When your image completes, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful.Read Image from an FTP ServerPortlock Storage Manager supports using FTP servers for both imaging to and restoring from. Thisincludes NAS devices that support the FTP. Create a disaster recovery image of your server and save itto an FTP server. Retrieve and install this image using FTP or HTTP onto a bare-metal machine. 67
  • 65. Portlock Storage Manager 4.0 for NetWare User’s GuideEnter the username and password of your FTP server. If your login credentials are incorrect, youwill be unable to retrieve the .img file from your server. You may press F5 for a directory listing onyour FTP server, providing you have the correct username and password.* See Write Image to a Disk File on page 56 for your Compression and Image File optionsAfter a connection is made, Portlock Storage Manager will display the partition(s) from your .imgfile that will be restored to your system. Press [Enter] to continue.Portlock Storage Manager will ask you which device you wish to restore your image to. Select yourdevice, verify it has enough free space and press [Enter] to begin the restore process.68
  • 66. Chapter 8 Restore CommandsThe restore process will begin and may take a few minutes to complete. For this example, we restoreda 10 GB image in 10 minutes.When your image completes, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful. 69
  • 67. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 9 Repair Commands This chapter includes the following topics: • Introduction to the Repair Commands • Create a Sector Image of a Disk Drive Command • Restore a Sector Image of a Disk Drive Command • DOS Partition Recovery Commands • NetWare Traditional Partition and Volume Recovery Commands • Copy a Corrupted Volume to a New Volume • Repair a Volume with a Missing Volume Segment • Backup FAT Tables to a Disk File • Restore FAT Tables from a Disk File • Recover a NetWare 386 Partition that has been Deleted • Repair a Mismatched Volume Directory Table • Copy Directory Tables to a Disk File • Restore Directory Tables from a Disk File • NetWare NSS Partition and Volume Recovery Commands • Windows Partition Recovery Commands • Change a Partition’s System Type Command • Sector Editor Command70
  • 68. Chapter 9 Repair CommandsIntroduction to the Repair CommandsThe Repair Commands in Portlock Storage Manager are invaluable. These commands have beendesigned to automatically find and restore deleted partitions and volumes and provide additionaldata recovery tools.Create a Sector Image of a Disk Drive CommandThe Create a Sector Image of a Disk Drive Command is used to make an exact image of an attacheddisk drive. Instead of imaging and restoring a server at the partition/volume level, this commandmakes it possible to create and restore an exact 1:1 bit-for- bit image of a selected disk drive. Thiscommand is commonly used to make backups of failing disk drives while upgrading from smaller tolarger drives. These “sector images” can be imaged and restored from a variety of devices, includinghard disks, across a TCP/IP link, tape drives, CD/DVDs, Web servers and FTP servers.Portlock Storage Manager will prompt you with a message stating this command is intended fordata recovery operation and not for duplicating drives as most modern operating systems embedinformation into the partitions that must be modified for correct drive cloning. 71
  • 69. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager will ask you to select the device for the sector image to be written to.Fix Master Boot Record (MBR)If the sectors in your MBR have been manipulated for any reason, Portlock Storage Manager willcorrect the MBR with the operating system that was selected.Portlock Storage Manager will prompt you that the MBR has been repaired.If you accidentally delete a DOS partition, Portlock Storage Manager will allow you to recover thepartition as long as no other partitions have overwritten it.It is recommended that a sector copy of the disk drive that contains the deleted partition be madeprior to attempting a partition recovery. Depending on how many disk drives you have, this maytake awhile.If Portlock Storage Manager is able to find a partition that is recoverable, the size of the partition andthe device it belongs to are displayed. Select this partition and hit [Enter] to recover the partition.72
  • 70. Chapter 9 Repair CommandsThe DOS partition has been successfully recovered and returned to its original location.NetWare Traditional Partition and Volume Recovery CommandsPortlock Storage Manager provides you with another list of options to choose from. Choose theoption that best suits your needs.For NetWare 6 Master partitions, sub partitions and Traditional volumes, the process is the same.If Portlock Storage Manager sees a partition, you will have the ability to recover it. If you haveoverwritten your deleted partition, there will be no chance to recover your partition.Portlock Storage Manager detects a deleted sub partition and allows you to restore your partitionto its original location.A NetWare 6 Master Partition was successfully recovered. 73
  • 71. Portlock Storage Manager 4.0 for NetWare User’s GuideCopy a Corrupted Volume to a New Volume Note: This command is only intended for Traditional Volumes.Repair a Volume with a Missing Volume Segment Note: This command is only intended for Traditional Volumes.Backup FAT Tables to a Disk File74
  • 72. Chapter 9 Repair CommandsNetWare NSS Partition and Volume Recovery CommandsPortlock Storage Manager provides you with a list of options for recovering and repairing NSSpartitions and volumes.Recovering a NetWare 6 Master and Sub partition is the same procedure as recovering a traditionalpartition. If Portlock Storage Manager detects your deleted partition, you will have the ability torecover it.Rebuild a Pool’s Free TreePortlock Storage Manager will provide you with a list off NSS pools to choose from to rebuild yourfree tree. Select the tree you wish to rebuild and press [Enter].Portlock Storage Manager will perform a pool check on your selected pool and rebuild your freetree. 75
  • 73. Portlock Storage Manager 4.0 for NetWare User’s GuideVMware Partition and Volume Recovery CommandsFor virtualization, Portlock Storage Manager detects if the boot code in sector 0 exists. Virtual diskscreated by virtual software programs appear to be correct in regards to sector 0 (MBR) but theyactually do not have any boot code. Storage Manager will install the correct boot code (if necessary)to prevent future problems with your system. NOTE: This command will only work with VMFS partitions.76
  • 74. Chapter 9 Repair Commands 77
  • 75. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 10 Hardware CommandsHardware Commands is a new feature in Portlock Storage Manager that provides informationabout your system. The list of features include: PCI information, CPU information and installingVMware device drivers.To display information about your CPU make and model, select Display CPU Information andpress [Enter].Portlock Storage Manager displays several screens with the make and model as well as the speedof your CPU.The next screen will give you your CPU type and model number.To display your PCI devices, select Display PCI Devices and press [Enter].78
  • 76. Chapter 10 Hardware CommandsPortlock Storage Manger will list your system’s PCI devices.The last feature displayed is generally used for virtual environments only. This will install the VMwareSCSI driver (vmscsi.sys) to your OS.Select the source for editing the Windows registry. For this example, we will select a physical diskpartition.In this example, our VMware server has two devices to choose from to install the VMware SCSI driver.However, only one of them has a partition. If nothing resides on your device it will be impossibleto install the driver.You have successfully installed the VMware SCSI driver to your device. 79
  • 77. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 11 System CommandsThe System Commands can open and close log files that can be used by Portlock Technical Supportto troubleshoot customer issues. The user can manually rescan for drives and partitions, as well assend and receive various files from other instances of Portlock Storage Manager and Portlock ImageManager.Although Portlock Storage Manager rescans drives and partitions by default after most operations,the System Menu will allow you to do so at anytime.Open LogfileThis command opens a user-defined log file for Portlock Storage Manager.To open your log file, specify the path of the created log file in the dialog box and press [Enter]. Ifyou specified the correct path, you will be notified that the log file has been opened.80
  • 78. Chapter 11 System CommandsClose LogfileTo close the log file, choose Close Logfile from the System Menu and press [Enter].Recv FileThis command will allow the user to receive a file sent from either Portlock Storage Manager orPortlock Image Manager. It is useful for transferring images across the wire via TCP/IP.Specify the path that you wish the file(s) be written to. For help, follow the examples below.Send FileSend File allows the user to send a file to another instance of Portlock Storage Manager or PortlockImage Manager. Portlock Image Manager receives an image and simultaneously writes the imageto a remote tape drive. Switch to remote mode to have Portlock Remote control Portlock StorageManager remotely. See the Appendices for Portlock Remote for details. 81
  • 79. Portlock Storage Manager 4.0 for NetWare User’s GuideSpecify the path of the file or press Insert to select a file and press [Enter].Portlock Storage Manager takes you through the same steps as if you were imaging over TCP/IP. Youwill choose Server Mode from the sending side and Client Mode from the receiving side.The server side waits for a connection until you have input the IP address of the server you aresending the image from on the client side. The send and receive process will begin.Disk FormatPortlock Storage Manager allows you to format a disk from the System Commands. Use cautionwith this command as this will remove all data from your disk.Portlock Storage Manager will display all of the devices in your system. Choose the one that youwish to format and press enter.82
  • 80. Chapter 11 System Commands 83
  • 81. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 12 License RenewalPortlock Product Licensing and License RenewalAll Portlock products come with free technical support and free product updates for the first 12months. Annual license renewal is available for all Portlock products. Portlock Storage Managerwill continue working after the license expires. However, you will not be able to update StorageManager or receive free technical support via e-mail or telephone. Renewing your Portlockproduct license before it expires allows you to continue updating Storage Manager to the newestversions as they become available and continue to receive free technical support for an additionalyear.Level 1If the renewal is purchased within 90 days of the maintenance expiration, the cost to renew yourproduct license is $199.00 USD.Level 2If your product license expiration date is greater than 90 days, the cost to renew your productlicense is $299.00.If your product license expiration date is greater than 12 months, a new license must be purchasedat full retail cost.Portlock License Renewal via Telephone and EmailTo renew your product license without using Portlock Storage Manager, you can call our office at(406) 723-5200 or email sales@portlock.com. You will be asked to forward your original Portlockproduct license key electronically to sales and to verify your purchasing and company informationcurrently on record. After your company and original purchase information have been verified, yournew license will be sent electronically. Your new license replaces your original product license.If you have any questions about Portlock licensing, please contact our Sales department:s a l e s @ p o r t l o c k . c o m o r r e a d o u r L i c e n s i n g a n d L i c e n s e R e n ewa l FAQ s a t :http://www.portlock.com/sales/purchasing_faq.aspx84
  • 82. Chapter 11 System CommandsTo renew within Portlock Storage Manager, choose License Renewal from the Main Menu. Fillout your information and submit. 85
  • 83. Portlock Storage Manager 4.0 for NetWare User’s Guide Appendix A Automated Imaging with the use of CRON.NLMCRON.NLM can schedule Portlock Storage Manager specified dates and times. CRON.NLM reads an ASCII text file called “CRONTAB” that you create in the SYS:ETC directory.The CRONTAB file tells the CRON.NLM when to run a NetWare console process, such asa NetWare *.NCF Batch file. The formatting for CRONTAB and the CRON.NLM can beobtained below.FILES: CRON.NLM, CRON.MSG, NCSCRIPT.NLM, COPY.NLMNCSCRIPT.NLM – http://www.novell.com/coolsolutions/tools/1169.htmlCRON.NLM & CRON.MSG (cron5.exe)http://support.novell.com/cgi-bin/search/searchtid.cgi?/2939440.htmCOPY.NLM – http://www.netwarefiles.comResults: The CRON.NLM will run the .NCF file at your scheduled time. The COPY.NLMwill copy the NCSCRIPT job file, just before NCSCRIPT loads. NOTE: It’s recommended to obtain all of these files from the following URLs and save them to a floppy before beginning. Be sure to unzip your files before adding them to your floppy. Your CRON.NLM and CRON.MSG are inside of your cron5.exe file. NOTE: Be careful about capital letters and spacing when naming files and scripts. CRON is case sensitive to your files.86
  • 84. Appendix A Automated Imaging with the use of CRON.NLMSetup1. Copy and Paste NCSCRIPT.NLM into the SYS:SYSTEM directory2. Type “Load NCSCRIPT” in the system console once and then unload a. This creates the SYS:DISTRIB directory. Unload NCSCRIPT and refresh your SYS directory.3. Create your stormgr file in SYS:DISTRIB directorya. This is where you will put the path to load PSM. Right-click on the file and click edit file to add path directions b. Example: load sys:/stormgr/stormgr4. Copy and paste COPY.NLM into the SYS:SYSTEM directory5. Type “LOAD CRON.NLM” (without the quotations) in the autoexec.ncf of your file server, located in SYS:SYSTEM with the rest of the LOAD .NLM files.6. Copy and paste CRON.NLM to the SYS:SYSTEM7. Create a file named crontab in the SYS:ETC a. This is where you will put your CRON schedule b. Example: 00 21 * * * stormgr.ncf c. Also make sure this is where you put your .ncf file which is part of your script.8. Type “Load CRON” in your system console 87
  • 85. Portlock Storage Manager 4.0 for NetWare User’s Guide9. Create a .ncf file in your SYS:SYSTEM a. Example: stormgr.ncf b. This is the file you will run from the crontab file You will need to implement the following commands into this .ncf file by right-clicking on it and selecting edit file. NOTE: COPY.NLM is used to copy the file stormgr that you created from SYS:DISTRIB to the SYS:DISTRIBJOB directory just to run the file, this does not actually make a hard copy of the file. NOTE: Loading CRON will also create a CRON.LOG, which shows when your schedule has been run and if it has been run successfully. #STORMGR.NCF BEGIN UNLOAD COPY.NLM UNLOAD NCSCRIPT.NLM LOAD COPY SYS:DISTRIBSTORMGR SYS:DISTRIBJOBSTORMGR ? UNLOAD COPY.NLM LOAD NCSCRIPT /NOPURGE UNLOAD NCSCRIPT #STORMGR.NCF END EXPLANATION UNLOAD COPY.NLM # This uses the COPY.NLM to copy the file called stormgr (or the file that you created) # to NCSCRIPT’s # incoming job queue UNLOAD NCSCRIPT.NLM # This unloads the NCSCRIPT.NLM if it’s already loaded # There are no errors when this NCF tries to load it again LOAD COPY SYS:DISTRIB STORMGR SYS:DISTRIBJOBSTORMGR # This uses the COPY.NLM to copy the file called stormgr (or the file you created) to the JOB folder # To NCSCRIPT’S # incoming job queue88
  • 86. Appendix A Automated Imaging with the use of CRON.NLM ? UNLOAD COPY.NLM # This unloads COPY.NLM, AFTER A 10-SECOND WAIT. # The question mark tells the OS to Pause for 10 sec LOAD NCSCRIPT /NOPURGE # This loads NCSCRIPT and tells NCSCRIPT not to purge its JOB queue, which NCSCRIPT usually does on startup. NCSCRIPT Will first process the stormgr script and then it will purge the stormgr file.10. Copy the Paste the CRON.MSG file in the SYS:/SYSTEM/NLS/4 and in the SYS:SYSTEM directory11. Now in the Crontab that you created in the SYS:/ETC you will need to set your schedule to run your file that you created (stormgr.ncf). Each entry is checked in turn, and any entry matching the current time is executed. The entry * matches anything. A pound sign (#) is a comment. Valid values are: Minute (0-59) Hour (0-23) Day-Of-Month (1-31) Month (1-12) Day-Of-Week (0-6) Note: week starts with 0=Sunday EXAMPLES: (schedules are all in military time) #Min Hr Dat Mo Day Command #run time every minute * * * * * time stormgr.ncf #Run stormgr.ncf on the hour 0 * * * * stormgr.ncf #Do backup Mon-Fri at 4:30 30 16 * * 1-5 stormgr.ncf #Do backup on Friday night at 11:00pm 00 23 * * 5 stormgr.ncf #3:17 everyday run stormgr.ncf 17 15 * * * stormgr.ncf NOTE: The CRON.NLM will run the stormgr.ncf file at your scheduled time. The COPY.NLM will copy the NCSCRIPT job file, just before NCSCRIPT loads. This doesn’t actually create a hard copy, but rather places it into the job file for it to load and then erases it from the job file. 89
  • 87. Portlock Storage Manager 4.0 for NetWare User’s Guide Appendix B Portlock Storage Manager and NSS Snapshots Online Imaging, Backup and RestoreThe following discusses Portlock Storage Manager’s advanced support for NSS Snapshots,providing the ability to image mounted (online) and unmounted (offline) NSS Pools.IntroductionFrom administrators of single-server networks to giant server farms, one of the most often requestedimprovements in the storage management arena is the ability to recover a failed volume, pool, partitionor entire computer hard drive as quickly and transparently as possible.Portlock Storage Manager can create, activate, delete, etc. NSS Pool Snapshots is of great potentialvalue to NetWare customers. Falling disk prices have enabled imaged-based disk backups to be asinexpensive as tape, as well as faster and much more convenient. Days spent searching throughbackup tape index listings for an accidentally deleted file can now give way to a quick volume searchand restoration.Snapshot support in Portlock Storage Manager makes software-based backup and recovery operationsincredibly easy and non-intrusive to end users. Portlock Storage Manager enables the creation ofmultiple Read/Write point-in-time copies of NSS Pools, and can retain these copies independentlyfrom the original pool. NOTE: This feature is only supported on NetWare 6.5 SP3 and later versions.Online Imaging and NSS SnapshotsOnline Imaging and NSS Snapshots feature creates images of snapshots that can be used to makedata available to any host for archiving, testing or backup while production data continues to beupdated without interruption.Supported Novell NSS partition features: • Create NSS partitions. • Delete NSS partitions. • Hide NSS partitions. • Resize NSS type 1 (Non-Storage Group) partitions.90
  • 88. Appendix B Portlock Storage Manager and NSS Snapshots • Resize NSS type 2 (Storage Group) partitions. • Image and Restore NSS partitions. • Unhide NSS partitions.Supported Novell NSS volume features include: • Copy, clone and resize NSS Type 1 volumes. • Copy, and clone NSS Type 2 volumes. • Copy an NSS Non-Storage Group volume to a Storage Group volume. • Copy an NSS Storage Group volume to a Non-Storage Group volume. • Image and Restore NSS volumes.Scripting Support in Portlock Storage ManagerWe have added several command line options to automate scripting.1. You want to image your workstation or server to an FTP server: stormgr -script -os=6 -imageall - imageftp=192.168.1.10,anonymous,user@test.com,imgfile.img2. You have mapped a drive letter from DOS using either the Novell Client or the Microsoft Client. You want to image your workstation or server to this mapped drive letter. stormgr -script -os=6 -imageall -imagefile=g:imgfile.img -purge3. You want to image your NetWare 6.5 server using Online Imaging to an FTP server.stormgr -script -online -imageall -imageftp=192.168.1.10,anonymous,user@test.com,imgfile.imgDetails:-script Turn on scripting.-os=6 Set the version for NetWare emulation (3, 4, 5, 6 or 65). For Windows workstations, set to 6-imageall Image all disk drives and all partitions/volumes-imageftp=ip_address,ftp_user,ftp_password,filename-imagefile=filename-purge Purge a volume before imaging it. For NSS volumes, the volume must be mounted. Ifan NSS volume is not mounted then the volume will not be purged. Traditional volumes can bepurged while mounted or not mounted (scripting only).-purge will be ignored with -online.-nopurge Do not purge a volume before imaging (scripting only).-online Use Online Imaging for NSS Pools (enabled by default -- NetWare 6.5 and above).-skip_pool=pool_name Do not image the pool named pool_name.-vmsleep (default) Enables Virtual Machine Sleeping (CPU Idling)-novmsleep Disables Virtual Machine Sleeping 91
  • 89. Portlock Storage Manager 4.0 for NetWare User’s GuideGuidelines for Cross-Platform Compatibility of NSSThe following features of NSS are available for NSS on NetWare but not currently supported forNSS on Linux. • NSS Multiple Path I/O to Devices • NSS Software RAID 5 • NSS Pool Snapshots • NSS Encrypted Volume Support • User Space Restrictions on NSS Volumes • Mountable Media and Image Files • Novell Distributed File Services • Novell Archive and Version ServicesWhat is NSS Snapshotting?Note: The NSS Snapshot feature is only available on NetWare 6.5. In addition, this is not the sameas Novell ZENworks’ snapshot feature, which is an application cloner/installer.A pool snapshot is a metadata copy of a storage data pool. The snap preserves a point-in- time viewof a data pool, and supports data backup and recovery for that pool. You can create, manage anddelete a pool snapshot for any pool on your server. You can take a snapshot and activate it later toaccess the original pool’s data as it existed at the time of the snapshot. Both the pool and its snapshotscan be active and available concurrently. You can access data on the active pool snapshot just asyou would any other pool, even while data is changing on the original pool. Exercise caution whenusing this feature, because its implementation will cause server performance to decrease. A poolsnapshot facilitates non-disruptive backups because the snapshot becomes the source of the backup.As contrasted to a traditional, full-data copy of the pool, the metadata copy only takes a moment tocreate and occurs transparently to the user.With traditional backups, applications might be shut down throughout the backup routine.In comparison, the pool snapshot process makes the original pool available with almost imperceptibledelay.The pool snapshot function uses copy-on-write technology to enable the instantaneous block-levelsnapshot of a pool and requires only a fraction of the storage space of the original data pool. A poolsnapshot does not save an exact copy of the original data pool. Instead, the snapshot is a metadata-based copy that stores only the blocks of data that change subsequent to the instant of the snap. Thesnapshot combines the metadata and stored block data with the unchanged data on the original poolto provide a virtual image of an exact copy of the data at the instant the snapshot was taken, plusany end-user modifications made to that snapshot.92
  • 90. Appendix B Portlock Storage Manager and NSS SnapshotsBenefits of Pool SnapshotsPool snapshots save time and preserve data. They provide an instant copy of a pool that can helpexpedite routine maintenance procedures to back up, archive and protect data on that pool. Becausetraditional methods of duplicating large amounts of data can be expensive and time consuming, theefficiency of snapshots can be an important benefit for your enterprise. You can make snapshots asfrequently as needed to meet your data availability and resilience requirements. You can use poolsnapshots in a variety of ways to enhance your current storage infrastructure, including the followingscenarios:Supporting Backup OperationsA pool snapshot facilitates non-disruptive backups because the snapshot becomes the source of thebackup. As contrasted to a traditional, full-data copy of the pool, the metadata copy only takes amoment to create and occurs transparently to the user. With traditional backups, applications mightbe shut down throughout the backup routine. In comparison, the pool snapshot process makes theoriginal pool available with almost imperceptible delay.Archiving and Restoring DataAdministrators can archive pool snapshots to capture a history of the changes made to the originaldata pool. Pool snapshots can be used as a source for restoring information. Two common reasonsto restore information are user error and application errors.A user might inadvertently make changes to a file which needs to be reversed. Files can becomecorrupted or deleted. The pool snapshot provides a quick and easy way to locate and reinstateselected files.An application might be infected by a virus or be corrupted by other problems, causing the applicationto store erroneous data throughout the pool. With a pool snapshot, you can rollback all or part of theoriginal pool to a point in time before the virus or problem was known to exist in the system.Re-Creating Operational and Development EnvironmentsYou can write to the pool snapshot just as you would to any pool. You can work with and modifythe snapshot version of the data. For example, in a development environment, the engineers mightwant to repeat builds and tests of data in a particular snap. Snapshots can also provide a convenientsource for data mining, as well as testing and training environments. 93
  • 91. Portlock Storage Manager 4.0 for NetWare User’s GuideHow to Enable SnapshotsNovell interfaces into the NSS via the “_ADMIN” volume with NetWare 6.5 to flush and freeze a filesystem prior to taking a snapshot. This interface takes XML-formatted requests, which specify thepool name, a timeout and a hold timer. When requests are submitted, they are assigned keys that areunique to the given request. When queried with this key, the interface will return an XML-formattedresponse that includes the freeze status and other information.The simplest way to automate the freeze/snap/thaw process is to make use of the PERL interpreterincluded with NetWare. As a language, PERL easily handles string manipulation and parsing. Inaddition, the open-source and business communities have contributed hundreds of modules that canbe used to extend the capabilities of PERL without significant development effort. A standard setof modules ship with NetWare 6.5 SP3/Open Enterprise Server.Before the snapshot can occur, the snapshot function must render the original pool quiescent bybriefly halting data transaction activity when current transactions complete. It temporarily preventsnew writes to the pool and flushes the file system cache to make the pool current with existing writes.Open files are seen by the snapshot feature as being closed after these outstanding writes occur. Then,it snaps the now-stable pool and allows data transaction activity to resume.The quiescence process provides a consistent image at the instant the snapshot is made. Becausethe snapshot is consistent, it is not necessary to check the consistency of the file system or databasewhen you activate the snapshot for access. After the snap, the snapshot function continues to tracktransaction activity in the original pool. It determines which blocks in the original pool will changeas data writes are made to the original pool. It suspends write activity while it copies the originalblock data to the designated pool where it stores the pool snapshot, referred to as the “stored-onpool.” Then it allows a write to that block in the original pool. This keeps the snapshot metadataconsistent in time with the exact instant the snapshot was taken. As the original pool changes, thesnapshot can grow to the size of the stored-on pool.The average disk space requirements for a pool snapshot are 10 percent to 20 percent of the originalpool size. The actual space depends on how many writes are made to the original volume and thetime period that the snapshot exists before it is archived or deleted. Currently, a combination of upto 500 snapshots can exist on any given stored-on pool. Remember that the more snapshots you musttraverse to find data, the longer it takes to retrieve the data, and the slower the perceived responsetime to the user.Activating NSS SnapshotsAlthough the pool snapshot feature is inactive by default, the snapshot functions are working in thebackground to capture any changes being made to the original pool. For pool snapshots, Inactiveand Active are conditions related to the visibility of the pool snapshot to users as a pool. Active poolsnapshots are online; inactive pool snapshots are offline.94
  • 92. Appendix B Portlock Storage Manager and NSS SnapshotsYou activate a pool snapshot when you want to access the data on it, such as for data retrieval, datamodification and data backup. After the pool snapshot is active, it appears by its user-assignedsnapshot name in the pool list. Treat it as you would any pool to manage the pool and to activateand mount its volumes.The names of volumes on the pool snapshot are a modified version of the volumes on the originalpool. Generally, a “_SV” (snapshot volume) is added to the volume name. When you deactivate thepool snapshot, any snapshot volumes on it are automatically deactivated and its snapshot name isno longer listed in the pool list.Mounting a NetWare NSS Pool Snapshot1. Take a snapshot Define a subdisk on one storage LUN which will be used to hold the snapshot. Create the snapshot and activate it. At this point, you will have captured the “point in time” state of your target volume which will remain intact until the snapshot is deactivated or deleted.2. Expose the snapshot When you are ready to use the snapshot for a backup session or file recovery, expose it on a new target. Do not expose it on a target that is already connected to the NetWare server.3. Mount the snapshot onto the backup server If the NetWare backup server also contains the original volume (pool) then it is necessary to rename the original pool before mounting the snapshot volume. This can be done in Remote Manager simply by selecting the appropriate “pool” link from the Partition Disks menu. The option to rename the pool will appear. Once the pool is renamed, connect to the target on which the snapshot resides (through the iSCSI services menu in Remote Manager). Once connected, the volume should appear as a complete device/partition/pool/volume scheme in the Partition Disks menu. Select “Mount Volume” from the menu.4. Run the backup If you are doing a simple file recovery, you can copy the lost files back to your original volume directly. If you are running a backup, run your backup routine on the snapshot volume as though it’s a full, active volume. If you want to separate the backup IP server traffic from the production IP traffic, you can simply put the backup server onto a different subnet. The storage side will still be sharing the traffic load between the production servers and the backup server, but its effect on performance should be negligible. 95
  • 93. Portlock Storage Manager 4.0 for NetWare User’s Guide NOTE: Mounting a snapshot on a NetWare server which contains the target pool requires that the pool be renamed so the server does not contain two active volumes with the same pool name.5. Unmount the snapshot volume When the backup is complete, unmount the snapshot volume in NetWare and disconnect from the target. Rename the original pool back to its original name, if desired. Delete or deactivate the snapshot. NOTE: Novell Storage Services enables snapshot file services for backup and versioning of enterprise applications running on NetWare 6.5, even when files are open. For example, a GroupWise application opens a database and is always running during the nightly backup. NSS can keep an original backup of the database when that file was last closed. While the backup is running, NSS will backup the open file as well as the original copy.96
  • 94. Appendix B Portlock Storage Manager and NSS Snapshots 97
  • 95. Portlock Storage Manager 4.0 for NetWare User’s Guide GlossaryATA: Supports 1 or 2 hard drives, a 16-bit interface and PIO modes 0, 1 and 2. Also known asIDE.ATA-2: Supports faster PIO modes (3 and 4) and multiword DMA modes (1 and 2). Also supportslogical block addressing (LBA) and block transfers. ATA-2 is marketed asFast ATA and Enhanced IDE (EIDE).BIOS (Basic Input Output System): The BIOS is built-in software that determines what acomputer can do without accessing programs from a disk. On PCs, the BIOS contains all the coderequired to control the keyboard, display screen, disk drives, serial communications, and a numberof miscellaneous functions.Disk: A round plate on which data can be encoded. There are two basic types: magnetic and opticaldisks.EIDE (Enhanced Integrated Drive Electronics): A newer version of the IDE mass storage deviceinterface standard developed by Western Digital Corporation. It supports data rates of between4 and 16.6 MB/s, about three to four times faster than the old IDE standard. It can support massstorage devices of up to 8.4 gigabytes, whereas the old standard was limited to 528 MB. Because ofits lower cost, enhanced EIDE has replaced SCSI in many areas. EIDE is sometimes referred to asFast ATA or Fast IDE, which is essentially the same standard, developed and promoted by SeagateTechnologies. It is also sometimes called ATA-2.FAT (File Allocation Table): File systems used by DOS, DR-DOS, PC-DOS, and Windows to storeuser files and directories.FAT-12: A version of the DOS FAT that uses twelve-bit numbers to store disk block addresses.FAT-16: A version of the DOS FAT that uses sixteen-bit numbers to store disk block addresses.FAT-32: A version of the DOS FAT that uses thirty-two-bit numbers to store disk block addresses.GB (Gigabyte): A GB is 1,073,741,824 bytes. However, most disk drive companies use 1,000,000,000as a GB when referring to disk drive capacity.HotFix: HotFixing of disk sectors prevents data from being stored in a bad sector or cluster.During aHotFix, the operating system automatically detects bad disk sectors, relocates the data to a safe clusterand marks the bad cluster as unusable to the system. This process is transparent to the user, requiresno interaction on the user’s part and does not report any error messages to any applications.IDE (Integrated Drive Electronics): An IDE interface is an interface for mass storage devices, inwhich the controller is integrated into the disk or CD-ROM drive.98
  • 96. GlossaryImage: A method of converting the contents of a hard drive — including its configuration settingsand applications into an image, and then storing the image on a server or burning it onto a CD oranother device.Input/Output (I/O): The term I/O is used to describe any program, operation or device that transfersdata to or from a computer and to or from a peripheral device. Every transfer is an output from onedevice and an input into another. Devices such as keyboards and mouses are input-only deviceswhile devices such as printers are output-only. A writable CDROM is both an input and an outputdevice.Logical Block Addressing (LBA): A method used with SCSI and IDE disk drives to translate thecylinder, head, and sector specifications of the drive into addresses that can be used by an enhancedBIOS.LBA is used with drives larger than 528 MB.Master: Refers to an architecture in which one device (the master) controls one or more otherdevices.MB (Megabyte): A MB is 1,048,576 bytes. Most disk drive companies use 1,000,000 as a MB whenreferring to disk drive capacity.NetWare: A popular local area network (LAN) operating system developed by Novell. NetWare isa software product that runs on a variety of different types of LANs, from Ethernets to IBM token-ring networks. It provides users and programmers with a consistent interface that is independent ofthe actual hardware used to transmit messages.NetWare Partition: A NetWare Partition is an area of a disk drive that stores NetWare volumes.A NetWare partition contains three data areas: 1) System Area, HotFix Data Area, and the DataArea. The System Area contains information about the size of the partition. The HotFix Data Areacontains information about redirected data blocks. The Data Area contains NetWare volumes. ANetWare Partition can contain eight NetWare volume segments. A NetWare volume can consist ofone to thirty-two volume segments. Novell’s Definition: A partition created on each network hard disk, from which NetWare volumes are created.NetWare Volume: A NetWare volume is a file system that contains user files and data. A NetWarevolume can consist of one to thirty-two NetWare volume segments. Novell’s Definition: A fixed amount of physical hard disk storage space. A NetWare volume is the highest level in the NetWare file system directory structure. 99
  • 97. Portlock Storage Manager 4.0 for NetWare User’s GuideNetWare Volume Segment: Novell’s Definition: A physical division of a volume. A volume can span up to 32 disk drives. If more than one drive, each drive in the volume is a volume segment.NSS (Novell Storage Services): Novell’s Definition: A high-performance, 64-bit storage and access system that supports very large files as well as large numbers of files and NSS volumes. NSS runs with the traditional NetWare file system in NetWare. NSS installs on the server as a set of NLM programs. NSS also runs on Open Enterprise Server running a SUSE LINUX Enterprise Server kernel.NSS Admin Volume: Novell’s Definition: In NSS, a read-only volume that is automatically created when a storage group and NSS volume are created. This volume contains a dynamic list of objects that NSS uses, and cannot be deleted.NSS Type 0 Partition: A NetWare Partition without the HotFix Data Area. This partition is notused for NSS volumes, it is used for NetWare volumes that cannot be Mirrored or support HotFixData Areas.NSS Type 1 Partition: An NSS Type 1 Partition is a Partition that contains one NSS volume. Thisis basically the first level of NSS partitions. The NSS volume must be the same size as the partition.This partition cannot be mirrored or support HotFix Data Areas. Portlock Storage Manager supportsconverting an NSS Type1 partition with a volume into a Storage Group.NSS Type 2 Partition: An NSS Type 2 partition is an NSS Storage Group that can contain one ormore volumes. With Novell supplied tools, you first create an NSS partition and then convert it intoan NSS Storage Group. Then you can add volumes to the Storage Group.NSS Storage Group (See NSS Type 2 Partition) Novell’s Definition: A pool of storage free space representing logical space owned by NSS. Once space is claimed by NSS, the free space becomes a managed object that can be divided into other storage groups and NSS volumes.Partition: A partition is a contiguous region of a disk drive used to store data.Primary Partition: A primary partition contains a single volume that is the size of the partition.Read-Only Sequential Verify: This method performs a read-only sequential scan of the disk drive.Various block sizes are supported from 1 sector to 512 sectors per I/O. No data is written to the drive.This method is also a quick method to determine the read performance of a disk drive.100
  • 98. GlossaryRead-Only Random Verify: This method performs a read-only random scan of the disk drive. Thesoftware generates a random number which determines the sector to read. Various block sizes aresupported from 1 sector to 512 sectors per I/O. No data is written to the drive. This method is quickin determining the random I/O performance of a disk drive.Read-Write Sequential Verify: This method verifies that data can be written to a disk drive andthen read back. A data pattern that is unique to each sector is written to the disk and then comparedon read back. Various block sizes are supported from 1 to 512 sectors per I/O. For this verify mode,an option is to perform an extensive verify, which writes multiple data patterns to the disk drive.This includes performing a bit-walk data pattern to detect missing sector bits. Data is written to thedrive, which will destroy all partitions, volumes, and data on the disk drive.Read-Write Random Verify: This method verifies that the data can be written to a disk drive andthen read back. The software generates a random number that is used to determine the sector towrite/read. Various block sizes are supported from 1 sector to 512 sectors per I/O. For this verifymode, an option is to perform an extensive verify, which writes multiple data patterns to the diskdrive. This includes performing a bit-walk data pattern to detect missing sector bits. Data is writtento the drive, which will destroy all partitions, volumes and data on the disk drive.Restore: A method of converting the contents of an Image. When the contents are needed again,ghosting software converts the image back to original form.SCSI (Small Computer System Interface): A method of linking disk drives (and more) to acomputer.Slave: Any device that is controlled by another device, called the master. The secondary device(slave) is connected and configured on an IDE controller. 101