Coda File System

Backup problems

From: Andrea Cerrito <cerrito_at_centromultimediale.it>
Date: Wed, 13 Jun 2001 12:00:06 +0200
Hi to all.
I'm trying to backup my volumes, and I set /vice/db/dumplist and
/vice/db/vicetab for my needs.
=============================
[root_at_apu-a db]# cat dumplist
7f000003        FIFIIII         codafs.rootvol
7f000004        FIFIIII         qmailfs.rootvol
7f000005        FIFIIII         apachefs.rootvol
[root_at_apu-a db]# cat vicetab
apu-a   /codafs/mounts/server1   ftree   width=64,depth=3
fs-server-a-a   /codafs/mounts/server2   ftree   width=256,depth=3
fs-server-b-a   /codafs/mounts/server3   ftree   width=256,depth=3
fs-server-c-a   /codafs/mounts/server4   ftree   width=256,depth=3
fs-server-d-a   /codafs/mounts/server5   ftree   width=256,depth=3
fs-server-e-a   /codafs/mounts/server6   ftree   width=256,depth=3
fs-server-f-a   /codafs/mounts/server7   ftree   width=256,depth=3
fs-server-g-a   /codafs/mounts/server8   ftree   width=256,depth=3
fs-server-h-a   /codafs/mounts/server9   ftree   width=256,depth=3
fs-server-i-a   /codafs/mounts/server10   ftree   width=256,depth=3
fs-server-l-a   /codafs/mounts/server11   ftree   width=256,depth=3
fs-server-m-a   /codafs/mounts/server12   ftree   width=256,depth=3
fs-server-n-a   /codafs/mounts/server13   ftree   width=256,depth=3
apu-a   /extra0 backup
=============================

These are my fses:
=============================
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda2              5993004    137968   5550600   2% /
/dev/sda1                38706      5963     30745  16% /boot
/dev/sda5              6024600    964344   4754220  17% /usr
/dev/sda6              3370556     44880   3154460   1% /var
/dev/sdb2              8749500     40072   8264976   0% /extra0
/dev/sdc15            14829328  11221256   2854780  80% /extra1
/dev/sdb1              8741468   6662572   1634844  80% /codafs/rvms
/dev/sdd2              7292540       920   6921176   0%
/codafs/mounts/server2
/dev/sdd3              7284572    857384   6057144  12%
/codafs/mounts/server3
/dev/sdd4              7284572        20   6914508   0%
/codafs/mounts/server4
/dev/sdd5              7284540        20   6914476   0%
/codafs/mounts/server5
/dev/sdd6              7284540        20   6914476   0%
/codafs/mounts/server6
/dev/sdd7              7284540        20   6914476   0%
/codafs/mounts/server7
/dev/sdd8              7284540        20   6914476   0%
/codafs/mounts/server8
/dev/sdd9              7284540        20   6914476   0%
/codafs/mounts/server9
/dev/sdd10             7284540        20   6914476   0%
/codafs/mounts/server10
/dev/sdd11             7284540        20   6914476   0%
/codafs/mounts/server11
/dev/sdd12             7284540        20   6914476   0%
/codafs/mounts/server12
/dev/sdd13             7331860        20   6959396   0%
/codafs/mounts/server13
=============================

And this is the listing for my backup directory (on ext3):
=============================
[root_at_apu-a /]# ls -la extra0/
total 40068
drwxr-xr-x   3 root     root         4096 Jun 13 11:52 ./
drwxr-xr-x  20 root     root         4096 Mar 16 17:27 ../
-r--------   1 root     root     40960000 Feb 28 15:48 journal.dat
drwxr-xr-x   2 root     root        16384 Feb 21 17:15 lost+found/
[root_at_apu-a /]#
=============================

As you can see it's empty.
But when I try to start the backup:
=============================
[root_at_apu-a /root]# backup -t 135 /vice/db/dumplist /extra0

Date: Wed 06/13/2001

11:44:55 Warning: the hostname of this server (apu-a.mgt.int) is not listed
in /vice/db/servers
Partition /codafs/mounts/server1: inodes in use: 0, total: 262144.
11:44:55 Partition /codafs/mounts/server1: 5688568K available (minfree=5%),
5550608K free.
11:44:55 Partition /extra0: 8305048K available (minfree=5%), 8264976K free.
11:44:55 Error 'File exists' creating directory /extra0/13Jun2001.
11:44:55 Malformed partitions! Cannot prepare for dumping.

Date: Wed 06/13/2001

11:44:55 Malformed partitions! Cannot prepare for dumping.
[root_at_apu-a /root]#
=============================

I don't understand why the backup stops: the "Error 'File exists' creating
directory /extra0/13Jun2001" has no sense, because as you've seen the
directory is empty.
But, after that command:
=============================
[root_at_apu-a /]# ls -la extra0
total 40076
drwxr-xr-x   5 root     root         4096 Jun 13 11:44 ./
drwxr-xr-x  20 root     root         4096 Mar 16 17:27 ../
drwx------   2 root     root         4096 Jun 13 11:44 13Jun2001/
-r--------   1 root     root     40960000 Feb 28 15:48 journal.dat
drwxr-xr-x   2 root     root        16384 Feb 21 17:15 lost+found/
[root_at_apu-a /]#
=============================

The 13Jun2001/ is empty.

And, apu-a.mgt.int isn't listed in /vice/db/servers, but I didn't need it
before. My SCM (and a backup) is working with
=============================
[root_at_apu-a db]# cat servers
apu-a           1
fs-server-a-a           2
fs-server-b-a           3
fs-server-c-a           4
fs-server-d-a           5
fs-server-e-a           6
fs-server-f-a           7
fs-server-g-a           8
fs-server-h-a           9
fs-server-i-a           10
fs-server-l-a           11
fs-server-m-a           12
fs-server-n-a           13
apu-b           21
fs-server-a-b           22
fs-server-b-b           23
fs-server-c-b           24
fs-server-d-b           25
fs-server-e-b           26
fs-server-f-b           27
fs-server-g-b           28
fs-server-h-b           29
fs-server-i-b           30
fs-server-l-b           31
fs-server-m-b           32
fs-server-n-b           33
=============================

What I have to do?
Restart all servers? I don't want to stop them (it's a production machine):
is there a way to do a backup on a volume by hand?
Thank you
---
Cordiali saluti / Best regards
Andrea Cerrito
^^^^^^^^^^^^^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372
Received on 2001-06-13 06:01:22
Binary file ./codalist-2001/3428.html matches