I am trying to use dump on a Network Appliance 230 (ontap 4.3.3) to dump to a remote tapehost. The remote tapehost is Solaris 2.5.1 with an ATL PowerStore L200 ( 5 tape loader). I realize that dump has reached the EOT. However, I'm having trouble getting dump to go to the next tape. If I list the /dev/nrst* files there is no /dev/nrst2.
Here is the error message.
Dennis Chandler
filer> dump 0ufb tapehost:/dev/nrst1 126 / ... DUMP: 66% done, finished in 2:23 DUMP: Remote tape device write: expected 129024, got 0 DUMP: write failed DUMP: The ENTIRE dump is aborted. DUMP: deleting "snapshot_for_dump.9" snapshot.
I am trying to use dump on a Network Appliance 230 (ontap 4.3.3) to dump to a remote tapehost. The remote tapehost is Solaris 2.5.1 with an ATL PowerStore L200 ( 5 tape loader). I realize that dump has reached the EOT. However, I'm having trouble getting dump to go to the next tape. If I list the /dev/nrst* files there is no /dev/nrst2.
Here is the error message.
Dennis Chandler
filer> dump 0ufb tapehost:/dev/nrst1 126 / ... DUMP: 66% done, finished in 2:23 DUMP: Remote tape device write: expected 129024, got 0 DUMP: write failed DUMP: The ENTIRE dump is aborted. DUMP: deleting "snapshot_for_dump.9" snapshot.
Hi Dennis, Here's what is happening. As you note, the dump is hitting end of tape media. On 4.x releases, dump does not support hitting end of media when using rmt.
Don't fear, there is a workaround.
If you use the 'B' option, dump will prompt you to load a second tape before hitting the end of media. Basically, specify the number of 1KB blocks you want on the tape, and you'll be fine.
For example, if you can fit 20GB of data on the tape, you might try:
filer> dump 0ufbB tapehost:/dev/nrst1 126 18874368 /
... DUMP: 66% done, finished in 2:23 Change Volumes: Mount volume #2 Is the new volume mounted and ready to go? y
Note: I chose 18GB, so that you will be extra sure not to hit end of media.
Now, to the second question - /dev/nrst2. You shouldn't expect to see such a device. Dump is just looking for a new tape to be popped into drive /dev/nrst1, not a whole new tape drive. So when it prompts you for a new volume, you should just be able to pop the new tape in the drive, and go.
Final note - dump using _rmt_ still only supports automatic tape changing for stackers attached to filers (and even then, not on 4.x releases). NDMP is needed for more advanced support.
Stephen Manley File System Recovery Lazarus
Thanks!
Dennis Chandler
Stephen Manley wrote:
I am trying to use dump on a Network Appliance 230 (ontap 4.3.3) to dump to a remote tapehost. The remote tapehost is Solaris 2.5.1 with an ATL PowerStore L200 ( 5 tape loader). I realize that dump has reached the EOT. However, I'm having trouble getting dump to go to the next tape. If I list the /dev/nrst* files there is no /dev/nrst2.
Here is the error message.
Dennis Chandler
filer> dump 0ufb tapehost:/dev/nrst1 126 / ... DUMP: 66% done, finished in 2:23 DUMP: Remote tape device write: expected 129024, got 0 DUMP: write failed DUMP: The ENTIRE dump is aborted. DUMP: deleting "snapshot_for_dump.9" snapshot.
Hi Dennis, Here's what is happening. As you note, the dump is hitting end of tape media. On 4.x releases, dump does not support hitting end of media when using rmt.
Don't fear, there is a workaround.
If you use the 'B' option, dump will prompt you to load a second tape before hitting the end of media. Basically, specify the number of 1KB blocks you want on the tape, and you'll be fine.
For example, if you can fit 20GB of data on the tape, you might try:
filer> dump 0ufbB tapehost:/dev/nrst1 126 18874368 /
... DUMP: 66% done, finished in 2:23 Change Volumes: Mount volume #2 Is the new volume mounted and ready to go? y
Note: I chose 18GB, so that you will be extra sure not to hit end of media.
Now, to the second question - /dev/nrst2. You shouldn't expect to see such a device. Dump is just looking for a new tape to be popped into drive /dev/nrst1, not a whole new tape drive. So when it prompts you for a new volume, you should just be able to pop the new tape in the drive, and go.
Final note - dump using _rmt_ still only supports automatic tape changing for stackers attached to filers (and even then, not on 4.x releases). NDMP is needed for more advanced support.
Stephen Manley File System Recovery Lazarus