vos changeloc should be able to fix it for you

Derrick


On Mar 16, 2011, at 1:59 AM, "Ryan C. Underwood" <[email protected]> 
wrote:

> 
> On Wed, Mar 16, 2011 at 01:49:35AM -0400, Derrick Brashear wrote:
>>> � Server ip addr 5 = 0.0.0.2
>> 
>> which is the problem.... but is a legit ip.
> 
> Ah, I get it then.  vos isn't doing the wrong thing, it's just acting on
> bad data.
> 
>>> adm_clientbackup
>>> � �RWrite: 536871269
>>> � �number of sites -> 1
>>> � � � server 0.0.0.2 partition /vicepb RW Site
>> 
>> and that's really what's in the database.
> 
> How do I fix it?  I know where the volume is, it just seems like the
> VLDB entry is messed up.  The volume header seems to indicate that the
> rename never actually took place except in the VLDB.
> 
> # volinfo /vicepb 0536871269
> Inode 2305844542651236351: Good magic 78a1b2c5 and version 1
> Inode 2305844542718345215: Good magic 99776655 and version 1
> Inode 2305844542785454079: Good magic 88664433 and version 1
> Inode 2305844542986780671: Good magic 99877712 and version 1
> Volume header for volume 536871269 (adm_backup)
> stamp.magic = 78a1b2c5, stamp.version = 1
> inUse = 0, inService = 1, blessed = 1, needsSalvaged = 0, dontSalvage = 0
> type = 0 (read/write), uniquifier = 2958, needsCallback = 0, destroyMe = 0
> id = 536871269, parentId = 536871269, cloneId = 0, backupId = 0, 
> restoredFromId = 0
> maxquota = 0, minquota = 0, maxfiles = 0, filecount = 1279, diskused = 
> 33224265
> creationDate = 1246401783 (2009/06/30.17:43:03), copyDate = 1299549150 
> (2011/03/07.19:52:30)
> backupDate = 0 (1969/12/31.18:00:00), expirationDate = 0 (1969/12/31.18:00:00)
> accessDate = 1299704176 (2011/03/09.14:56:16), updateDate = 1299571150 
> (2011/03/08.01:59:10)
> owner = 0, accountNumber = 0
> dayUse = 7; week = (3102, 5883, 0, 0, 0, 0, 0), dayUseDate = 1299650400 
> (2011/03/09.00:00:00)
> volUpdateCounter = 1386
> 
> -- 
> Ryan C. Underwood, <[email protected]>
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to