Enter the ls -ld/ DirectoryName command to check if the directory exists. If it does not exist, create the directory with the mkdir DirectoryName command.
If you are not the owner but you are in the group, enter the chmod 770 xxx command, where xxx is the directory on which you want to change the access permissions.
If you are not the owner and are not in the group, enter the chmod 777 xxx command, where xxx is the directory on which you want to change the access permissions.
For more information, see "Recovering from File and Directory Permission Errors" .
tar -tvf FileOrDeviceName
For backup format:
restore -Tv FileOrDeviceName
tctl -f /dev/rmt# status
Note: Do not use the -B flag if the tape device block size is 4096.
errpt -a
chdev -1 rmt# -a block size=0
tctl -f /dev/rmt# statusThen, specify the value of the bs, ibs, or obs flag as a multiple of the block size.
errpt -a
dd if=Filename of=Device conv=blockbut did not specify the cbs parameter.
lsattr -1 rmt# -ESpecify the obs or bs parameter with a value that is a multiple of the tape block size.
find File -print| backup -ivf FileSystem/FileNamebut the specified FileSystem was full.
Note: You can use the lsattr command to check the physical block size of the device:lsattr -l rmt# -E
errpt -a
Error message "0511-088 The backup tape may be damaged. Use a different disk to run the backup.
/dev/rmt#.1.
tctl -f /dev/rmt# rewind restore -xvf /dev/rmt#.1
tcopy Device
chcev -1 rmt# -a block size=0You can also change the block size by selecting the SMIT Devices-> Tape Drive->Change/Show Characteristics of a Tape Drive menu options. Select the appropriate drive and change the block size.
errpt -a
tctl -f /dev/rmt# status
chdev -1 rmt0 -a block size=0
errpt -a
tctl -f /dev/rmt# statusIf a block size of 4096 is desired, specify the -b flag with a value of 8 or multiple of 8;
run the chdev command to change the tape block size, for example:
chdev -1 rmt0 -a block size=1024A block size 512 or 2048 can also be used.
tctl -f /dev/rmt# rewind
chdev -1 rmt# -a density_set_1=value
errpt -aand take action as indicated; for example, clean the drive head if it is dirty.
To ensure that the most current changes are restored, restore sequentially, ignoring the higher level that is out of sequence.
Using the previous example, restore levels 0, 1, 2. The most recent changes in level 2 are restored, and level 3 changes are lost.
See Error Messages 0511-079.
See Error Message 0511-037 for recovery information.