From: Ken Gray on
In article <425FD7E8.F6435873(a)nomail.no.com>,
Geezer From The Freezer <mail(a)nomail.no.com> wrote:

> Oscar del Rio wrote:
> >
> > Johnny wrote:
> >
> > > ufsrestore -i /dev/rmt/0
> >
> > That should be
> > ufsrestore if /dev/rmt/0
> >
> > > It asks me to specify the next volume so I use '1' it then asks
> > > for the volume name I use /dev/rmt/0
> > > it mounts volume 1 and then later asks me to specify the next volume
> > > I choose '2' and it errors saying 'wrong volume(1)'
> >
> > man ufsrestore says that you should work from the *last* volume
> > toward the first.
>
> I noticed that - weird! What if a file stems over onto two tapes. Surely
> you'd want the first tape first!! I haven't used ufsrestore in years (about 10
> years
> or so)

ufsrestore doesn't know how many tapes are in the dump - and neither
does ufsdump, for that matter. That's why you have to start with the
last tape and work back.

ISTR that pkZIP and others worked this way as well, although I haven't
used any of those in ages, so I don't know if things are different there
or not.

--
Ken

Real address krgray*at*verizon*dot*net
From: Geezer From The Freezer on


Ken Gray wrote:
>
> ufsrestore doesn't know how many tapes are in the dump - and neither
> does ufsdump, for that matter. That's why you have to start with the
> last tape and work back.
>
> ISTR that pkZIP and others worked this way as well, although I haven't
> used any of those in ages, so I don't know if things are different there
> or not.

ok I tried using the last tape and it barfed with this error:

This is not volume 1 of the dump

Therefore I loaded volume one, added the file I wanted, ran extract and it
runs through the first tape for a while, then loads the 2nd and says
Wrong volume (2) then loads the next (and last) and says: Wrong Volume(3)

I backed up using:
ufsdump 0lucf IP.IP.IP.IP:/dev/rmt/0n /dev/rdsk/c0t0d0s7

backup ran to three DLT tapes with no errors

try restoring using:
ufsrestore -ilf IP.IP.IP.IP:/dev/rmt/0
change dir to the file I want
add <filename>
extract

now I'm baffled.
From: Thomas Schulz on
In article <42665514.A73681AF(a)nomail.no.com>,
Geezer From The Freezer <mail(a)nomail.no.com> wrote:
>
>
>Ken Gray wrote:
>>
>> ufsrestore doesn't know how many tapes are in the dump - and neither
>> does ufsdump, for that matter. That's why you have to start with the
>> last tape and work back.
>>
>> ISTR that pkZIP and others worked this way as well, although I haven't
>> used any of those in ages, so I don't know if things are different there
>> or not.
>
>ok I tried using the last tape and it barfed with this error:
>
>This is not volume 1 of the dump
>
>Therefore I loaded volume one, added the file I wanted, ran extract and it
>runs through the first tape for a while, then loads the 2nd and says
>Wrong volume (2) then loads the next (and last) and says: Wrong Volume(3)
>
>I backed up using:
>ufsdump 0lucf IP.IP.IP.IP:/dev/rmt/0n /dev/rdsk/c0t0d0s7
>
>backup ran to three DLT tapes with no errors
>
>try restoring using:
>ufsrestore -ilf IP.IP.IP.IP:/dev/rmt/0
>change dir to the file I want
>add <filename>
>extract
>
>now I'm baffled.

The way you would do this with a tape that does NOT have an autoloader is:
Load volume 1 and specify the files you want and then extract. When it
prompts you for the tape number, remove tape one and put in the last tape.
Then enter the number of the last tape (3 in your case). If restore does
not find the files on that tape, it will request another tape. Remove the
last tape and insert the next to last tape. At the prompt enter the number
of that tape (2 in your case). If the files are still not found and another
tape is asked for, again remove the current tape and put in the previous
tape and enter it's number (1 in your case).
BUT!!
You do not have to do the tpaes in reverse order! You can put them in in
any order as long as you enter the correct number to the prompt. Reverse
order is only for speed as a tape that is too late in the sequence can be
rejected quickly. If you have an autoloader that has it's own idea about
which tape to use, you will have to do it the way the autoloader wants to
do it. When prompted, enter the number of the tape that the autoloader
has loaded. On the other hand, if you can load the tapes manually, do it
in what ever order you want.
--
Tom Schulz
schulz(a)adi.com
From: Geezer From The Freezer on

Thanks Tom
I did eventually get it to work. Pretty much in the same way
you described. Thanks for the post though.
First  |  Prev  | 
Pages: 1 2
Prev: RSH - How enable it ?
Next: SMC and JAVA error