[OpenAFS] backup doesn't backup all backup volumes
Ingbert Zan
Ingbert.Zan@web.de
Thu, 11 Feb 2010 16:28:07 +0100
We are creating backup snapshots on our fileserver
debian lenny i386 openafs 1.4.7
and start to backup them on a seperate filesystem
vos listvol afs1
shows all volumes and there backup volumes
in backup we have volset vicepa
backup> listvolsets
Volume set: vicepa
Entry 1: server afs1, partition a, volumes .*backup
backup>listdumps
/Yearly expires Never
/Monthly expires Never
/Weekly expires Never
/Mon expires Never
/Tue expires Never
...
/Fri expires Never
The command
backup>dump vicepa /Yearly 20
dumps just 3 volumes of over 30 with extension .backup
I think backup or butc use voluem location server to find volumes.
Therefor i have tried
vos syncvldb afs1 a
to synchronize vldb with partition information but it doesn't solve the problem.
Following is Volume Header Information for a volume and backup volume which is dumped. first the real volume then the backup volume.
Then the Header Information for a volume and backup volume which is NOT dumped. Again first the real volume then the backup volume.
Help would be very nice.
root@afs1:~ [592] volinfo -part /vicepa -volumeid 536871716
Inode 2305846462501617663: Good magic 78a1b2c5 and version 1
Inode 2305846462568726527: Good magic 99776655 and version 1
Inode 2305846462635835391: Good magic 88664433 and version 1
Inode 2305846462837161983: Good magic 99877712 and version 1
Volume header for volume 536871716 (home.user1)
stamp.magic = 78a1b2c5, stamp.version = 1
inUse = 1, inService = 1, blessed = 1, needsSalvaged = 0, dontSalvage = 229
type = 0 (read/write), uniquifier = 770909, needsCallback = 0, destroyMe = 0
id = 536871716, parentId = 536871716, cloneId = 536871816, backupId = 536871786, restoredFromId = 0
maxquota = 10000000, minquota = 0, maxfiles = 0, filecount = 64909, diskused = 514784
creationDate = 1243265511 (2009/05/25.17:31:51), copyDate = 1243265475 (2009/05/25.17:31:15)
backupDate = 1265898331 (2010/02/11.15:25:31), expirationDate = 0 (1970/01/01.01:00:00)
accessDate = 0 (1970/01/01.01:00:00), updateDate = 1265898387 (2010/02/11.15:26:27)
owner = 0, accountNumber = 0
dayUse = 2268; week = (1, 0, 0, 0, 0, 0, 0), dayUseDate = 1265839200 (2010/02/10.23:00:00)
This backup volume is dumped
root@afs1:~ [593] volinfo -part /vicepa -volumeid 536871786
Inode 2305846763149328383: Good magic 78a1b2c5 and version 1
Inode 2305846763216437247: Good magic 99776655 and version 1
Inode 2305846763283546111: Good magic 88664433 and version 1
Inode 2305846462837161983: Good magic 99877712 and version 1
Volume header for volume 536871786 (home.user1.backup)
stamp.magic = 78a1b2c5, stamp.version = 1
inUse = 1, inService = 1, blessed = 1, needsSalvaged = 0, dontSalvage = 229
type = 2 (backup), uniquifier = 770909, needsCallback = 0, destroyMe = 0
id = 536871786, parentId = 536871716, cloneId = 536871816, backupId = 536871786, restoredFromId = 0
maxquota = 10000000, minquota = 0, maxfiles = 0, filecount = 64910, diskused = 514785
creationDate = 1265898331 (2010/02/11.15:25:31), copyDate = 1265898331 (2010/02/11.15:25:31)
backupDate = 1265898331 (2010/02/11.15:25:31), expirationDate = 0 (1970/01/01.01:00:00)
accessDate = 0 (1970/01/01.01:00:00), updateDate = 1259747935 (2009/12/02.10:58:55)
owner = 0, accountNumber = 0
dayUse = 2; week = (0, 0, 0, 0, 0, 0, 0), dayUseDate = 1265839200 (2010/02/10.23:00:00)
root@afs1:~ [594] volinfo -part /vicepa -volumeid 536871721
Inode 2305846483976454143: Good magic 78a1b2c5 and version 1
Inode 2305846484043563007: Good magic 99776655 and version 1
Inode 2305846484110671871: Good magic 88664433 and version 1
Inode 2305846484311998463: Good magic 99877712 and version 1
Volume header for volume 536871721 (home.user2)
stamp.magic = 78a1b2c5, stamp.version = 1
inUse = 1, inService = 1, blessed = 1, needsSalvaged = 0, dontSalvage = 0
type = 0 (read/write), uniquifier = 919254, needsCallback = 0, destroyMe = 0
id = 536871721, parentId = 536871721, cloneId = 536871805, backupId = 536871794, restoredFromId = 0
maxquota = 12000000, minquota = 0, maxfiles = 0, filecount = 126601, diskused = 11544770
creationDate = 1243266406 (2009/05/25.17:46:46), copyDate = 1243265790 (2009/05/25.17:36:30)
backupDate = 1265898342 (2010/02/11.15:25:42), expirationDate = 0 (1970/01/01.01:00:00)
accessDate = 0 (1970/01/01.01:00:00), updateDate = 1265899623 (2010/02/11.15:47:03)
owner = 0, accountNumber = 0
dayUse = 27265; week = (47483, 33881, 26, 0, 0, 158448, 1385), dayUseDate = 1265839200 (2010/02/10.23:00:00)
This backup volume is NOT dumped
root@afs1:~ [595] volinfo -part /vicepa -volumeid 536871794
Inode 2305846797509066751: Good magic 78a1b2c5 and version 1
Inode 2305846797576175615: Good magic 99776655 and version 1
Inode 2305846797643284479: Good magic 88664433 and version 1
Inode 2305846484311998463: Good magic 99877712 and version 1
Volume header for volume 536871794 (home.user2.backup)
stamp.magic = 78a1b2c5, stamp.version = 1
inUse = 1, inService = 1, blessed = 1, needsSalvaged = 0, dontSalvage = 229
type = 2 (backup), uniquifier = 918947, needsCallback = 0, destroyMe = 0
id = 536871794, parentId = 536871721, cloneId = 536871805, backupId = 536871794, restoredFromId = 0
maxquota = 12000000, minquota = 0, maxfiles = 0, filecount = 126550, diskused = 11544727
creationDate = 1265898342 (2010/02/11.15:25:42), copyDate = 1265898342 (2010/02/11.15:25:42)
backupDate = 1265898342 (2010/02/11.15:25:42), expirationDate = 0 (1970/01/01.01:00:00)
accessDate = 0 (1970/01/01.01:00:00), updateDate = 1265889849 (2010/02/11.13:04:09)
owner = 0, accountNumber = 0
dayUse = 0; week = (0, 0, 0, 0, 0, 0, 0), dayUseDate = 0 (1970/01/01.01:00:00)