RE: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
On Tue, 2003-02-25 at 14:43, Broughton, Travis V wrote: > If the RW is still there, I'd recommend: > > "vos remsite" on the broken RO, then move the RW somewhere else, then > zap the broken RO, then add another RO instance and release. Well, that, indeed, solved it. Though I'm no closer to unde

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
Salvaging the entire partition had no effect. -norm On Tue, 2003-02-25 at 14:24, Stephen Joyce wrote: > The last time this happened to me (solaris 8 running transarc 3.6 2.26), I > found that salvaging the problem volume alone wasn't enough I even > tried specifiying "-tmpdir /tmp -orphans

RE: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Broughton, Travis V
ED] Subject: Re: [OpenAFS] Replicated volume refuses to be salvaged Hi - What happens when you try to do the following: - vos remsite -server -part \ -id - vos zap -server -part \ -id -force try leavng off force first if you want to. I

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Todd_DeSantis
Hi - What happens when you try to do the following: - vos remsite -server -part \ -id - vos zap -server -part \ -id -force try leavng off force first if you want to. I'm not sure if you tried this yet or not. Thanks Todd ___

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Stephen Joyce
The last time this happened to me (solaris 8 running transarc 3.6 2.26), I found that salvaging the problem volume alone wasn't enough I even tried specifiying "-tmpdir /tmp -orphans remove" without success. What finally worked for me was salvaging the entire partition housing the problem vol

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
This is interesting. The salvager appears to unlink the file in a child process, then try to open it again later in the parent (am I reading this correctly?): # fgrep salvage.inodes /tmp/salvager.truss.log 159:open("/viceps/salvage.inodes.c2t0d2s6.159", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8 159

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
Assuming that to be the case, how do I recover? Is it as simple as adding "-force" to the salvage command, or am I misreading what the effect of the "-force" option is meant to be? Thanks, -norm On Tue, 2003-02-25 at 14:05, [EMAIL PROTECTED] wrote: > Hi - > > You might find that salvaging AN

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Todd_DeSantis
Hi - You might find that salvaging ANY readonly volume will return the same message about No applicable inodes Temp file missing I believe that the salvager automatically skips doing anything with readonly volumes. Thanks Todd ___ Op

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Derrick J Brashear
On 25 Feb 2003, Norman P. B. Joseph wrote: > 02/25/2003 13:35:23 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager /viceps > 536871053) > 02/25/2003 13:35:34 Scanning inodes on device /dev/rdsk/c2t0d2s6... > 02/25/2003 13:36:01 No applicable vice inodes on c2t0d2s6; not salvaged > Temporary file /

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
On Tue, 2003-02-25 at 13:12, Derrick J Brashear wrote: > > If you roll over the pid space so you're using <= 4 digit pids, what > changes? > > I'm not kidding. You anticipated my response nicely. :^) But even a 2-digit PID fails: # bos salvage sun43 s 536871053 -show Starting salvage. bos: w

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Derrick J Brashear
On 25 Feb 2003, Norman P. B. Joseph wrote: > Not that I doubt your diagnosis, Harmut, (and thanks for the response), > but "c2t0d2s6" is a long name? And anyways, it seems long past the time > that we should be expecting dynamically generated pathnames fit into > fixed-length buffers. Regardless

Re: [OpenAFS] Replicated volume refuses to be salvaged

2003-02-25 Thread Norman P. B. Joseph
On Mon, 2003-02-24 at 03:09, Hartmut Reuter wrote: > Norman P. B. Joseph schrieb: > > I have a replicated volume (on the same server and partition as its RW > > volume) that won't attach, and won't respond to salvaging. Here's the > > SalvageLog entry when salvaging the single volume: > > > > # b