Solstice DiskSuite 4.1 User's Guide
  Buscar sólo este libro
Descargar este libro en PDF

............................Contents


Preface
xxix

Finding Solstice DiskSuite 4. 1 Information . . . . . . . . . . . . . . . . . . . . . . . . xxxiii
...Getting Started With DiskSuite xxxiv
...DiskSuite Task Summary xxxix

1. Getting Started
1
...Introduction 2
...Planning Your Configuration 2
......· How to Determine DiskSuite Use in Your Environment 3
...Creating Initial State Database Replicas 4
......Preliminary Information for Creating State Database Replicas 4
......· How to Decide Which Method to Use for Creating Initial
........State Database Replicas 5
......· How to Create Initial State Database Replicas From Scratch
........(DiskSuite Tool) 6
......· How to Create Initial State Database Replicas From Scratch
........(Command Line) 9
......· How to Create Initial State Database Replicas on Existing
........Unused Slices (DiskSuite Tool) 11
......· How to Create State Database Replic
........From the swap Partition 12
...Where to Go From Here 14

2. Creating DiskSuite Objects
15
...Overview of Creating DiskSuite Objects 17
......Prerequisites for Creating DiskSuite Objects 17
...Creating Additional State Database Replicas 18
......Preliminary Information for Creating Additional State Database
........Replicas 18
......· How to Create Additional State Database Replicas
........(DiskSuite Tool) 18
......· How to Create Additional State Database Replicas
........(Command Line) 20
...Creating Stripes and Concatenations 21
......Preliminary Information for Creating Stripes and
........Concatenations 21
......· How to Create a Striped Metadevice (DiskSuite Tool) . 22
......· How to Create a Striped Metadevice (Command Line) 24
......· How to Create a Concatenation (DiskSuite Tool) 26
......· How to Create a Concatenation (Command Line) 27
...Creating Mirrors 29
......Preliminary Information for Creating Mirrors 29
......· How to Create a Mirror From Unused Slices (DiskSuite
........Tool) 30
......· How to Create a Mirror From Unused Slices (Command
........Line) 32
......· How to Create a Mirror From a File System That Can Be
........Unmounted (DiskSuite Tool) 33
......· How to Create a Mirror From a File System That Can Be
........Unmounted (Command Line) 36
......· How to Create a Mirror From a File System That Cannot Be
........Unmounted (DiskSuite Tool) 38
......· How to Create a Mirror From a File System That Cannot Be
........Unmounted (Command Line) 41
......· SPARC: How to Create a Mirror From root (/) (Command
........Line)44
......· x86: How to Create a Mirror From root (/) (Command
........Line)46
...Creating RAID5 Metadevices 52
......Preliminary Information for Creating RAID5 Metadevices 52
......· How to Create a RAID5 Metadevice (DiskSuite Tool) . 53
......· How to Create a RAID5 Metadevice (Command Line) 55
...Creating Trans Metadevices 56
......Preliminary Information for Creating Trans Metadevices . 56
......· How to Create a Trans Metadevice for a File System That Can
........Be Unmounted (DiskSuite Tool) 57
......· How to Create a Trans Metadevice for a File System That Can
........Be Unmounted (Command Line) 59
......· How to Create a Trans Metadevice for a File System That
........Cannot Be Unmounted (DiskSuite Tool) 61
......· How to Create a Trans Metadevice for a File System That
........Cannot Be Unmounted (Command Line) 62
......· How to Create a Trans Metadevice Using Mirrors (DiskSuite
........Tool) 63
......· How to Create a Trans Metadevice Using Mirrors
........(Command Line) 64
...Creating Hot Spare Pools 65
......Preliminary Information for Creating Hot Spare Pools 65
......· How to Create a Hot Spare Pool (DiskSuite Tool) 66
......· How to Create a Hot Spare Pool (Command Line) 67
......· How to Associate a Hot Spare Pool (DiskSuite Tool) 68
......· How to Associate a Hot Spare Pool (Command Line) . 69
......· How to Add a Hot Spare Slice to a Hot Spare Pool (DiskSuite
........Tool) 71
......· How to Add a Hot Spare Slice to a Hot Spare Pool
........(Command Line) 72
......· How to Change the Associated Hot Spare Pool (DiskSuite
........Tool) 72
......· How to Change the Associated Hot Spare Pool (Command
........Line) 74
...Creating Disksets 75
......Preliminary Information for Creating Disksets 75
......· How to Create a Diskset (Command Line) 76
......· How to Add Drives to a Diskset (Command Line) 79
...Creating DiskSuite Objects in a Diskset 81
......· How to Create a DiskSuite Object in a Diskset (DiskSuite
........Tool) 81
......· How to Create a DiskSuite Object in a Diskset (Command
........Line) 81
...Creating File Systems on Metadevices 82
......Preliminary Information for Creating File Systems on
........Metadevices 82
......· How to Create a File System on a Metadevice (File System
........Manager) 82
......· How to Create a File System on a Metadevice (Command
........Line) 83

3. Maintaining DiskSuite Objects
87
...Overview of Maintaining DiskSuite Objects 89
......Prerequisites for Maintaining DiskSuite Objects 89
...Checking Status of DiskSuite Objects 90
......Using DiskSuite Tool to Check Status 90
......Using the Command Line to Check Status 91
......· How to Check the Status of State Database Replicas
........(DiskSuite Tool) 92
......· How to Check the Status of State Database Replicas
........(Command Line) 93
......· How to Check the Status of Metadevices and Hot Spare
........Pools (DiskSuite Tool) 94
......· How to Check the Status of Metadevices and Hot Spare
........Pools (Command Line) 101
......· How to Check the Status of a Diskset (Command Line) 110
...Replacing and Enabling Objects 112
......Preliminary Information for Enabling State Database
........Replicas 112
......· How to Enable a State Database Replica (DiskSuite Tool)112
......Preliminary Information for Recreating a Stripe or
........Concatenation 113
......· How to Recreate a Stripe or Concatenation After Slice Failure
........(DiskSuite Tool) 113
......· How to Recreate a Stripe or Concatenation After Slice Failure
........(Command Line) 115
......Overview of Replacing and Enabling Slices in Mirrors and
........RAID5 Metadevices 117
......Preliminary Information For Replacing and Enabling Slices in
........Mirrors and RAID5 Metadevices 120
......· How to Enable a Slice in a Submirror (DiskSuite Tool) 121
......· How to Enable a Slice in a Submirror (Command Line) 122
......· How to Replace a Slice in a Submirror (DiskSuite Tool) 122
......· How to Replace a Slice in a Submirror (Command Line) 123
......· How to Replace a Submirror (DiskSuite Tool) 124
......· How to Replace a Submirror (Command Line) 125
......· How to Enable a Slice in a RAID5 Metadevice (DiskSuite
........Tool) 126
......· How to Enable a Slice in a RAID5 Metadevice (Command
........Line) 127
......· How to Replace a RAID5 Slice (DiskSuite Tool) 127
......· How to Replace a RAID5 Slice (Command Line) 128
......Preliminary Information for Replacing Hot Spare Pools 130
......· How to Replace a Hot Spare in a Hot Spare Pool (DiskSuite
........Tool) 130
......· How to Replace a Hot Spare in a Hot Spare Pool (Command
........Line) 131
......· How to Enable a Hot Spare (DiskSuite Tool) 132
......· How to Enable a Hot Spare (Command Line) 133
...Repairing Trans Metadevice Problems 133
......File System Panics 133
......Trans Metadevice Errors 134
......· How to Recover a Trans Metadevice With a File System Panic
........(Command Line) 134
......· How to Recover a Trans Metadevice With Hard Errors
........(Command Line) 135
...Expanding Slices and Metadevices 138
......Preliminary Information for Expanding Slices and
........Metadevices 138
......· How to Expand a Slice Containing Existing Data (DiskSuite
........Tool) 139
......· How to Expand a Slice Containing Existing Data (Command
........Line) 141
......· How to Expand an Existing Concat/Stripe (DiskSuite
........Tool) 142
......· How to Expand an Existing Stripe (Command Line) 144
......· How to Expand a Mirror (DiskSuite Tool) 146
......· How to Expand a Mirror (Command Line) 147
......· How to Expand a RAID5 Metadevice (DiskSuite Tool) 148
......· How to Expand a RAID5 Metadevice (Command Line) 149
......· How to Expand a Trans Metadevice (DiskSuite Tool) . 150
......· How to Expand a Trans Metadevice (Command Line). 151
...Growing a File System 153
......Preliminary Information For Growing a File System 153
......· How to Grow a File System (Command Line) 153
...Renaming Metadevices 155
......Preliminary Information for Renaming Metadevices 155
......· How to Rename a Metadevice (DiskSuite Tool) 156
......· How to Rename a Metadevice (Command Line) 156
...Working With Mirrors 158
......Preliminary Information for Mirrors 158
......· How to Unmirror a File System (DiskSuite Tool) 158
......· How to Unmirror a File System (Command Line) 159
......· How to Unmirror a File System That Cannot Be Unmounted
........(Command Line) 161
......· How to Attach a Submirror (DiskSuite Tool) 164
......· How to Attach a Submirror (Command Line) 165
......· How to Detach a Submirror (DiskSuite Tool) 166
......· How to Detach a Submirror (Command Line) 166
......· How to Place a Submirror Offline and Online (DiskSuite
........Tool) 167
......· How to Place a Submirror Offline and Online (Command
........Line) 169
...Working With Disksets 170
......Preliminary Information for Working With Disksets 170
......· How to Reserve a Diskset (Command Line) 170
......· How to Release a Diskset (Command Line) 172
......· How to Add Additional Drives to a Diskset (Command
........Line) 174
......· How to Add Another Host to a Diskset (Command
........Line) 175

4. Changing DiskSuite Objects
179
...Overview of Changing DiskSuite Objects 180
......Prerequisites for Changing DiskSuite Objects 180
...Working With the DiskSuite Configuration 181
......Preliminary Information for the DiskSuite Configuration . 181
......· How to Save a DiskSuite Configuration to Disk (DiskSuite
........Tool) 181
......· How to Restore a DiskSuite Configuration From Disk
........(DiskSuite Tool) 182
...Modifying State Database Replicas 184
......Preliminary Information for Modifying State Database Replicas
........With the Metadevice State Database Information
........Window 184
......· How to Modify State Database Replicas (DiskSuite Tool)184
...Changing Mirror Options 186
......Preliminary Information for Changing Mirror Options 186
......· How to Change a Mirror's Options (DiskSuite Tool) 187
......· How to Change a Mirror's Options (Command Line) . 188
...Sharing a Logging Device Among File Systems 190
......Preliminary Information for Sharing a Logging Device 190
......· How to Share a Logging Device Among File Systems
........(DiskSuite Tool) 190
......· How to Share a Logging Device Among File Systems
........(Command Line) 192

5. Removing DiskSuite Objects
195
...Overview of Removing DiskSuite Objects 196
......Prerequisites for Removing DiskSuite Objects 196
...Removing State Database Replicas 197
......Preliminary Information for Removing State Database
........Replicas 197
......· How to Remove State Database Replicas (DiskSuite
........Tool) 197
......· How to Remove State Database Replicas (Command
........Line) 198
...Removing Stripes and Concatenations 199
......Preliminary Information for Removing Stripes and
........Concatenations 199
......· How to Remove a Stripe, Concatenation, or Concatenated
........Stripe (DiskSuite Tool) 199
......· How to Remove a Stripe, Concatenation, or Concatenated
........Stripe (Command Line) 200
...Removing Mirrors 201
......Preliminary Information for Removing Mirrors 201
......· How to Remove a Mirror and Submirrors (DiskSuite
........Tool) 201
......· How to Remove a Mirror and Submirrors (Command
........Line) 202
...Removing RAID5 Metadevices 204
......Preliminary Information for Removing RAID5 Metadevices 204
......· How to Remove a RAID5 Metadevice (DiskSuite Tool) 204
......· How to Remove a RAID5 Metadevice (Command Line) 205
...Removing Trans Metadevices 206
......Preliminary Information for Removing Trans Metadevices 206
......· How to Remove a Trans Metadevice (DiskSuite Tool) . 206
......· How to Remove a Trans Metadevice (Command Line) 208
......· How to Remove a Trans Metadevice From a File System That
........Cannot Be Unmounted (DiskSuite Tool) 208
......· How to Remove a Trans Metadevice From a File System That
........Cannot Be Unmounted (Command Line) 210
...Removing Hot Spares and Hot Spare Pools 211
......Preliminary Information for Removing Hot Spares and Hot
........Spare Pools 211
......· How to Remove a Hot Spare From a Hot Spare Pool
........(DiskSuite Tool) 211
......· How to Remove a Hot Spare From a Hot Spare Pool
........(Command Line) 212
......· How to Remove a Hot Spare Pool (DiskSuite Tool) 213
......· How to Remove a Hot Spare Pool (Command Line) 214
...Removing Disksets 215
......Preliminary Information for Removing Hosts and Disks
........From Disksets 215
......· How to Remove a Host From a Diskset (Command
........Line) 215
......· How to Remove a Drive From a Diskset (Command
........Line) 216
......· How to Remove a Diskset (Command Line) 217

6. Managing the System
219
...Overview of Managing the System 220
......Prerequisites for Managing the System 220
...Working With the Graphical View of the SPARCstorage Array 221
......Preliminary Information for Working Graphically with the
........SPARCstorage Array 221
......· How to Select Objects in the Disk View Window (DiskSuite
........Tool) 223
......· How to Check the Status of SPARCstorage Array Disks
........(DiskSuite Tool) 224
......· How to Check the Status of a SPARCstorage Array
........Controller's Fan and Battery (DiskSuite Tool) 225
......· How to Display a SPARCstorage Array Controller's World
........Wide Name (DiskSuite Tool) 226
...Administering the SPARCstorage Array 227
......Preliminary Information For Enabling and Disabling
........NVRAM 227
......· How to Enable NVRAM on a Controller, Tray, or Disk
........(DiskSuite Tool) 228
......· How to Enable NVRAM For Synchronous Writes on a
........Controller, Tray, or Disk (DiskSuite Tool) 228
......· How to Disable NVRAM on a Controller, Tray, or Disk
........(DiskSuite Tool) 229
......Preliminary Information for Purging and Flushing NVRAM
........Data 230
......· How to Flush Outstanding Writes From NVRAM (DiskSuite
........Tool) 230
......· How to Purge Fast Write Data NVRAM (DiskSuite Tool) 230
......Preliminary Information for Reserving and Releasing Disks 231
......· How to Reserve a Disk for Host Exclusive Use (DiskSuite
........Tool) 231
......· How to Release a Disk Reserved by Host (DiskSuite
........Tool) 232
......Preliminary Information for Stopping and Starting Disks . 232
......· How to Stop a Disk (DiskSuite Tool) 233
......· How to Start a Disk (DiskSuite Tool) 234
...Monitoring and Graphing Performance 235
......Performance Monitoring vs. Performance Analysis 235
......Preliminary Information for Performance Monitoring and
........Graphing 235
......· How to View Device Statistics (DiskSuite Tool) 236
......· How to Graph Device Statistics (DiskSuite Tool) 237
......· How to Add Devices to the Statistics Graph Window
........(DiskSuite Tool) 237
......· How to Remove Devices From the Statistics Graph Window
........(DiskSuite Tool) 238
...Integrating SunNet Manager With DiskSuite 238
......· How to Enable SunNet Manager to Launch DiskSuite Tool
........(SunNet Manager) 238
......· How to Launch DiskSuite Tool From SunNet Manager
........(SunNet Manager) 239
...Integrating SNMP Alerts With DiskSuite 240
......· How to Configure DiskSuite SNMP Support (Command
........Line) 240
...Integrating Storage Manager With DiskSuite 242
......· How to Enable DiskSuite to Launch Storage Manager
........(Command Line) 242
......· How to Launch File System Manager and Disk Manager
........(DiskSuite Tool) 244

7. Troubleshooting the System
245
...Overview of Troubleshooting the System 246
......Prerequisites for Troubleshooting the System 246
......General Guidelines for Troubleshooting DiskSuite 246
...Recovering the DiskSuite Configuration 247
......· How to Use the md.cf File to Recover a DiskSuite
........Configuration247
...Changing DiskSuite Defaults 248
......Preliminary Information for Metadevices 248
......· How to Increase the Number of Default Metadevices
........(Command Line) 249
......Preliminary Information for Disksets 249
......· How to Increase the Number of Default Disksets (Command
........Line) 250
......Preliminary Information for State Database Replicas 251
......· How to Add Larger State Database Replicas (Command
........Line) 251
...Checking For Errors 252
......· How to Automate Checking for Slice Errors in Metadevices
........(Command Line) 253
...Boot Problems 256
......Preliminary Information for Boot Problems 256
......· How to Recover From Improper /etc/vfstab Entries
........(Command Line)257
......· How to Recover From Insufficient State Database Replicas
........(Command Line) 260
......· How to Recover From a Boot Device Failure (Command
........Line) 263
......· How to Record the Path to the Alternate Boot Device
........(Command Line) 269
......· SPARC: How to Boot From the Alternate Device (Command
........Line) 270
......· x86: How to Boot From the Alternate Device (Command
........Line) 271
...Replacing SCSI Disks 272
......· How to Replace a Failed SCSI Disk (Command Line) . 272
...Working With SPARCstorage Arrays 276
......Installation 276
......Device Naming 276
......Preliminary Information for Replacing SPARCstorage Array
........Components 277
......· How to Replace a Failed SPARCstorage Array Disk in a
........Mirror (DiskSuite Tool) 278
......· How to Replace a Failed SPARCstorage Array Disk in a
........RAID5 Metadevice (DiskSuite Tool) 283
......· How to Remove a SPARCstorage Array Tray (Command
........Line) 284
......· How to Replace a SPARCstorage Array Tray 285
......· How to Recover From SPARCstorage Array Power Loss
........(Command Line) 285
......· How to Move SPARCstorage Array Disks Between Hosts
........(Command Line) 288
...Using the SPARCstorage Array as a System Disk 289
......Making a SPARCstorage Array Bootable 289
......· How to Make SPARCstorage Array Disks Available Early in
........the Boot Process 290

8. Tips and Tricks
291
...State Database Replicas and Trans Metadevices 292
...DiskSuite and Prestoserve 292
......· How to Configure Prestoserve With DiskSuite (Command
........Line) 293
...DiskSuite Configuration Guidelines 295
......General Guidelines 295
......State Database Replica Guidelines 296
......Striping Guidelines 297
......Concatenation Guidelines 297
......Concatenated Stripe Guidelines 297
......Mirror Guidelines 298
......RAID5 Metadevice Guidelines 299
......UFS Logging Guidelines 300
......Hot Spare Guidelines 300
......File System Guidelines 301
......Labeled Partitions 301
......Security Considerations 301
......Compatibility 302
...Working With Disk Drives 302
......· How to Use fmthard(1M) 302
...Trans Metadevices (UFS Logging) and Disk Quotas 303
...Using DiskSuite Tool 303
......Limitations 303
......Using the Metadevice Editor 304
......Using the Slice View, Disk View, and Filters 304
......· How to Filter for Slice Size (DiskSuite Tool) 304
......· How to Filter for Slice Replacement (DiskSuite Tool) 305
......Changing DiskSuite Tool's Colors and Fonts 307
......· How to Change DiskSuite Tool's Default Colors and
........Fonts 312
...Metadevice Naming Conventions 313
...Metadevice Name Switching 313
......Prerequisites for Using Metadevice Name Switching 314
......Creating a Metadevice Using Name Switching 315
......· How to Create a Mirror From an Existing Concat/Stripe
........(Command Line) 315
......· How to Create a Trans Metadevice From an Existing
........Metadevice (Command Line) 317
......Removing a Metadevice Using Name Switching 318
......· How to Unmirror a File System and Retain the Mount Device
........(Command Line) 318
......· How to Remove a Trans Metadevice and Retain the Mount
........Device (Command Line) 319
...Working With Stripes 321
......· How to Move a Stripe to a Different Controller (Command
........Line) 321
...Working With Mirrors 323
......Advanced Mirror Techniques 323
......· How to Change the Interlace Value of Stripes in Mirrors
........(DiskSuite Tool) 323
......· How to Use a Mirror to Make an Online Backup (Command
........Line) 324
......How Booting Into Single-User Mode Affects Mirrors 327
...Hot Spares 327
...Working With Disksets 328
......· How to Configure Disk Drive Device Names for a Diskset
........(Command Line) 328
......· How to Change State Database Replica Size in a Diskset
........(Command Line) 331

A. Using Storage Manager
333
...Storage Manager's Load Context Property Book 334
......· How to Load an Initial Context 337
......· How to Load a Different Context 337
...File System Manager Overview 339
...File System Manager's Main Window 340
...File System Manager Property Book 342
...Managing File Systems, Mount Points, and Directories With File
......System Manager 344
......· How to Create a UFS File System 345
......· How to Create a Mount Point 347
......· How to Modify the Properties of a Mount Point or
........Directory 349
......· How to Mount or Unmount a File System 351
......· How to Share or Unshare a Directory 353
......· How to View Static Client File Systems 355
......· How to View Active Server File Systems 357
......· How to View Static Server File Systems 359
......· How to Remove a Mount Point From the /etc/vfstab
........File361
...Disk Manager Overview 363
...Disk Manager's Main Window 364
......Selecting Multiple Disks 365
...Disk Manager Property Book 366
...Managing Disks With Disk Manager 368
......· How to Specify a Viewing Filter 369
......· How to Specify a Volume Label 371
......· How to Modify fdisk Partitions 373
......· How to Modify Slice Geometry 375
......· How to Clone a Disk 377

Index
379