Hello:
           I'm an Amanda newbie.  I've installed 2.4.2p2 on Solaris 2.7.  I'm to the 
point where I can label tapes.   ./configure was run with the --with-user=amanda 
--with-group=operator as options.  

My disklist is a subset of the following:

hcuxsstest01% df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/proc                      0       0       0     0%    /proc
/dev/vx/dsk/rootvol   288603  126351  133392    49%    /
/dev/vx/dsk/usr      1188287  674853  454020    60%    /usr
fd                         0       0       0     0%    /dev/fd
/dev/vx/dsk/var       673951  279541  333755    46%    /var
/dev/vx/dsk/opt      8068221  857812 7129727    11%    /opt
swap                 2325560     712 2324848     1%    /tmp
/dev/vx/dsk/geacdgA/vol02
                      983020  638799  245919    73%    /sybase
/dev/vx/dsk/geacdgA/vol03
                     8543949 1662461 6027094    22%    /hhdmp
/dev/vx/dsk/geacdgA/vol01
                     1919976  210937 1517042    13%    /dbs65fin
/dev/vx/dsk/geacdgA/vol04
                      959980  224448  639534    26%    /dbs65test

[partial] Results after running amcheck (everything else looked ok):

Amanda Backup Client Hosts Check
--------------------------------
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/geacdgA/vol04 
(/dev/vx/rdsk/geacdgA/vol04): Permission denied]
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/geacdgA/vol01 
(/dev/vx/rdsk/geacdgA/vol01): Permission denied]
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/opt (/dev/vx/rdsk/opt): Permission 
denied]
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/var (/dev/vx/rdsk/var): Permission 
denied]
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/usr (/dev/vx/rdsk/usr): Permission 
denied]
ERROR: hcuxsstest01: [could not access /dev/vx/rdsk/rootvol (/dev/vx/rdsk/rootvol): 
Permission denied]
ERROR: hcuxsstest01: [can not read/write /etc/dumpdates: Permission denied]
Client check: 1 host checked in 0.063 seconds, 7 problems found

I understand that the AMANDA user must be in a group with read access to the raw disk 
devices.  There are two ways to link AMANDA and the raw device group membership.  
Either put AMANDA user in the group that currently owns the raw devices (as primary or 
secondary) or to pick a new group for AMANDA and change ownership of the devices.  
Also, /etc/dumpdates must be r/w by that same group.  Looking at /dev/vx/rdsk  on this 
box yields:

drwxr-xr-x   2 root     root         512 Oct 30  2000 geacdgA
drwxr-xr-x   2 root     root        1024 May 30 07:30 geacdgS
crw-------   1 root     root     158,  6 Jun 16  2000 opt
drwxr-xr-x   2 root     root         512 Jun 16  2000 rootdg
crw-------   1 root     root     158,  0 Jun 16  2000 rootvol
crw-------   1 root     root     158,  8 Jun 16  2000 swapvol
crw-------   1 root     root     158,  7 Oct 20  2000 usr
crw-------   1 root     root     158,  5 Oct 20  2000 var

Drilling down into geacdgA yields:

hcuxsstest01% ls -al
total 4
drwxr-xr-x   2 root     root         512 Oct 30  2000 .
drwxr-xr-x   5 root     root         512 Jun 19  2000 ..
crw-------   1 root     root     158,38000 Oct 30  2000 vol01
crw-------   1 root     root     158,38001 Dec 13  2000 vol02
crw-------   1 root     root     158,38002 Dec 13  2000 vol03
crw-------   1 schedu   batch    158,38003 Oct 30  2000 vol04
hcuxsstest01% pwd
/dev/vx/rdsk/geacdgA

My challenge is that each of these raw devices was created by volume manager.  I am a 
little gun shy about changing group ownership and permissions.  If anyone else has 
been in same position and would like to share their experiences/approach, I would 
appreciate hearing from them.

Thanks




            

Dave Warchol
Technical Consultant
Information Services
Hartford Hospital
Voice:  860.545.4222
Fax:  860.545.3321
[EMAIL PROTECTED]

Reply via email to