Date: Tue, 21 Mar 2000 09:30:40 +0100 From: "Lowkrantz, Goran" <Goran.Lowkrantz@infologigruppen.se> To: "'stable@FreeBSD.ORG'" <stable@FreeBSD.ORG> Subject: Amanda ond Vinum Message-ID: <B500F74C6527D311B61F0000C0DF5ADC0D4A5B@valhall.ign.se>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On the first backup of a new Vinum system, somthing odd happened. It seems
liek Vinum reset the ownership of the devices.
Description:
We configured four RAID-5 disks to a fileserver following vinum(8). All
working well.
Then added the four new volumes to Amanda disklist and did an amcheck. This
risulted in warnings that Amanda couldn't access the devised due to
permission denied. So I changed the group ownership to operator, reran
amcheck and this them no errors.
During the night, the backup failed and when I checked the permissions they
had changed back to group wheel.
I have reset the permissions and enabled more debugging on amanada for this
nights backup but if there are any suggestions I'd appreciate them.
Appended:
uname -a
ls -l /dev/vinum
vinum list
vinum_history
Amanda Tape Server Host Check
Amanda report
Cheers,
GLZ
---
Goran Lowkrantz Email : goran.lowkrantz@infologigruppen.se
Infologigruppen Alfa AB Telephone: Nat 070-587 8782 Fax: Nat 070-615
8782
Box 202 Int +46 70-587 8782 Int +46 70-615
8782
941 25 Pitea, Sweden
[-- Attachment #2 --]
===================================================================================
> uname -a
FreeBSD glansheim.ign.se 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Mar 19 17:25:11 CET 2000 root@:/usr/src/sys/compile/GLANSHEIM i386
===================================================================================
> ls -l /dev/vinum
total 4
crw------- 1 root wheel 91, 0x40000001 Mar 20 04:33 Control
crw-r----- 1 root wheel 91, 2 Mar 20 04:33 commonsw
crw-r----- 1 root wheel 91, 0 Mar 20 04:33 company
crw------- 1 root wheel 91, 0x40000002 Mar 20 04:33 control
crw------- 1 root wheel 91, 0x40000000 Mar 20 04:33 controld
drwxr-xr-x 2 root wheel 512 Mar 20 04:33 drive
crw-r----- 1 root wheel 91, 3 Mar 20 04:33 home
drwxr-xr-x 2 root wheel 512 Mar 20 04:33 plex
crw-r----- 1 root wheel 91, 1 Mar 20 04:33 projects
drwxr-xr-x 2 root wheel 512 Mar 20 04:33 sd
drwxr-xr-x 6 root wheel 512 Mar 20 04:33 vol
===================================================================================
# vinum list
4 drives:
D disk1 State: up Device /dev/da2s1h Avail: 0/4353 MB (0%)
D disk2 State: up Device /dev/da3s1h Avail: 0/4353 MB (0%)
D disk3 State: up Device /dev/da4s1h Avail: 0/4353 MB (0%)
D disk4 State: up Device /dev/da5s1h Avail: 0/4353 MB (0%)
4 volumes:
V company State: up Plexes: 1 Size: 1536 MB
V projects State: up Plexes: 1 Size: 3072 MB
V commonsw State: up Plexes: 1 Size: 1536 MB
V home State: up Plexes: 1 Size: 6915 MB
4 plexes:
P company.p0 R5 State: up Subdisks: 4 Size: 1536 MB
P projects.p0 R5 State: up Subdisks: 4 Size: 3072 MB
P commonsw.p0 R5 State: up Subdisks: 4 Size: 1536 MB
P home.p0 R5 State: up Subdisks: 4 Size: 6915 MB
16 subdisks:
S company.p0.s0 State: up PO: 0 B Size: 512 MB
S company.p0.s1 State: up PO: 512 kB Size: 512 MB
S company.p0.s2 State: up PO: 1024 kB Size: 512 MB
S company.p0.s3 State: up PO: 1536 kB Size: 512 MB
S projects.p0.s0 State: up PO: 0 B Size: 1024 MB
S projects.p0.s1 State: up PO: 512 kB Size: 1024 MB
S projects.p0.s2 State: up PO: 1024 kB Size: 1024 MB
S projects.p0.s3 State: up PO: 1536 kB Size: 1024 MB
S commonsw.p0.s0 State: up PO: 0 B Size: 512 MB
S commonsw.p0.s1 State: up PO: 512 kB Size: 512 MB
S commonsw.p0.s2 State: up PO: 1024 kB Size: 512 MB
S commonsw.p0.s3 State: up PO: 1536 kB Size: 512 MB
S home.p0.s0 State: up PO: 0 B Size: 2305 MB
S home.p0.s1 State: up PO: 512 kB Size: 2305 MB
S home.p0.s2 State: up PO: 1024 kB Size: 2305 MB
S home.p0.s3 State: up PO: 1536 kB Size: 2305 MB
===================================================================================
Amanda Tape Server Host Check
-----------------------------
/dump/amanda/1: 2278628 KB disk space available, that's plenty.
amcheck-server: slot 1: date 20000208 label 4mdds1000012 (exact label match)
NOTE: skipping tape-writable test.
Tape 4mdds1000012 label ok.
Server check took 16.842 seconds.
Amanda Backup Client Hosts Check
--------------------------------
ERROR: glansheim.ign.se: [can not access /dev/vinum/projects (/dev/vinum/projects): Permission denied]
ERROR: glansheim.ign.se: [can not access /dev/vinum/home (/dev/vinum/home): Permission denied]
ERROR: glansheim.ign.se: [can not access /dev/vinum/company (/dev/vinum/company): Permission denied]
ERROR: glansheim.ign.se: [can not access /dev/vinum/commonsw (/dev/vinum/commonsw): Permission denied]
Client check: 7 hosts checked in 1.637 seconds, 4 problems found.
(brought to you by Amanda 2.4.1p1)
===================================================================================
Amanda report:
These dumps were to tape 4mdds1000012.
Tonight's dumps should go onto 1 tape: 4mdds1000025.
FAILURE AND STRANGE DUMP SUMMARY:
glansheim. /dev/vinum/projects lev 0 FAILED [disk /dev/vinum/projects offline on glansheim.ign.se?]
glansheim. /dev/vinum/home lev 0 FAILED [disk /dev/vinum/home offline on glansheim.ign.se?]
glansheim. /dev/vinum/company lev 0 FAILED [disk /dev/vinum/company offline on glansheim.ign.se?]
glansheim. /dev/vinum/commonsw lev 0 FAILED [disk /dev/vinum/commonsw offline on glansheim.ign.se?]
STATISTICS:
Total Full Daily
-------- -------- --------
Dump Time (hrs:min) 0:54 0:15 0:12 (0:05 start, 0:22 idle)
Output Size (meg) 592.5 347.8 244.7
Original Size (meg) 1754.8 998.3 756.5
Avg Compressed Size (%) 33.8 34.8 32.3
Tape Used (%) 31.2 18.3 12.9 (level:#disks ...)
Filesystems Dumped 29 2 27 (1:25 2:1 3:1)
Avg Dump Rate (k/s) 159.2 143.5 188.6
Avg Tp Write Rate (k/s) 371.8 391.5 347.1
NOTES:
planner: Forcing full dump of glansheim.ign.se:da0s1f as directed.
planner: Adding new disk glansheim.ign.se:/dev/vinum/commonsw.
planner: Adding new disk glansheim.ign.se:/dev/vinum/company.
planner: Adding new disk glansheim.ign.se:/dev/vinum/home.
planner: Adding new disk glansheim.ign.se:/dev/vinum/projects.
planner: Incremental of glansheim.ign.se:da1s1f bumped to level 2.
taper: tape 4mdds1000012 kb 607648 fm 29 [OK]
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- -------------------------------------- --------------
balder.in da0s1a 1 61 32 52.5 0:02 16.6 0:00 1330.5
balder.in da0s1e 1 35 32 91.4 0:01 33.7 0:00 1586.8
balder.in da0s1f 1 192 64 33.3 0:56 1.1 0:00 1110.5
balder.in da1s1e 1 107531 9056 8.4 3:55 38.6 0:29 317.7
bifrost-n wd0s1a 1 60 32 53.3 0:01 22.2 0:00 1465.8
bifrost-n wd0s1e 1 43 32 74.4 0:01 24.7 0:00 1470.6
bifrost-n wd0s1f 1 42472 3680 8.7 0:23 162.8 1:06 56.1
bifrost-n wd0s1g 3 220769 100512 45.5 4:32 370.1 4:19 388.6
brock.ign wd0s1a 1 611 160 26.2 0:06 26.0 0:00 1351.4
brock.ign wd0s1e 1 440 128 29.1 0:05 28.0 0:00 1196.0
brock.ign wd0s1f 1 4177 1312 31.4 0:44 29.5 0:06 238.8
glansheim -inum/commonsw 0 FAILED --------------------------------------------
glansheim -vinum/company 0 FAILED --------------------------------------------
glansheim -ev/vinum/home 0 FAILED --------------------------------------------
glansheim -inum/projects 0 FAILED --------------------------------------------
glansheim da0s1a 1 23995 10784 44.9 0:27 393.3 0:27 397.2
glansheim da0s1e 1 27927 4832 17.3 0:20 242.8 0:12 399.2
glansheim da0s1f 0 420731 160064 38.0 8:01 332.8 6:46 394.1
glansheim da1s1e 1 467 96 20.6 0:37 2.6 0:00 534.0
glansheim da1s1f 2 11229 3904 34.8 0:31 125.1 0:10 396.2
glansheim da1s1g 1 304110 104800 34.5 6:36 264.5 4:32 386.0
glansheim da1s1h 1 173 32 18.5 0:13 2.5 0:13 4.8
heimdal.i ad0s1a 1 72 32 44.4 0:05 6.7 0:00 1454.4
heimdal.i ad0s1e 1 8419 704 8.4 0:11 62.6 0:02 401.8
heimdal.i ad0s1f 1 221 32 14.5 0:04 7.7 0:00 1146.9
heimdal.i ad0s1g 1 4222 864 20.5 0:25 34.4 0:02 435.0
modgunn.i da0s1a 1 110 32 29.1 0:02 13.5 0:00 399.7
modgunn.i da0s1e 1 41 32 78.0 0:04 9.0 0:00 614.7
modgunn.i da0s1f 1 12097 7680 63.5 0:34 227.7 0:20 392.3
modgunn.i da0s1g 1 3991 1440 36.1 1:07 21.5 0:04 402.3
sindre.ig wd0s1a 1 106 32 30.2 0:03 12.3 0:00 1126.2
sindre.ig wd0s1e 1 1079 256 23.7 0:04 58.6 0:00 922.9
sindre.ig wd0s1f 0 601505 196064 32.6 33:21 98.0 8:23 389.5
(brought to you by Amanda version 2.4.1p1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B500F74C6527D311B61F0000C0DF5ADC0D4A5B>
