grrrrrrrrrrrr!
There are times I loathe Sun Microsystems for it's carelessness ..
Thanks to Ron Spillane (spillar@dent.agric.nsw.gov.au) and Marc.Newman
(marc.newman@chase.com), I have my answer: permissions of the
'raw' devices.
[1] ls -l /dev/rdsk/c0t0d0s0
lrwxrwxrwx 1 root 50 Nov 17 17:09 /dev/rdsk/c0t0d0s0 ->
../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a,raw
for some reason, when the 2.6 installer configured my internal IDE
drive, the 'raw' device files, deep in the bowels under /devices
did not get group 'read' permission, so even though they were correctly
tagged as belonging to group 'sys', no one in that group except root
could read them.
Once I added 'r' to the raw devices, (that is, the 'dad@0,0:?,raw' filespec
at the end of the wierd looking spec the link points to) my dump script was
able to dump all partitions out to tape with no problems.
"Bother", said Pooh. "Eeyore, ready photon torpedoes and lock phasers
on the Heffalump. Piglet, meet me in transporter room three." -Anon
---------------------------------------------------------------------
Howard S. Modell howard.s.modell-at-boeing.com
Here is my original note:
>From sun-managers-relay@sunmanagers.ececs.uc.edu Tue Nov 24 22:32:35 1998
>Date: Tue, 24 Nov 1998 18:38:07 GMT
>From: howard.s.modell@boeing.com (Howard Modell)
>To: sun-managers@sunmanagers.ececs.uc.edu
>Subject: why can ufsdump dump some splices but not others in Solaris 2.6?
>
>[I promise I'll try to be better about remembering the SUMMARY this time]
>
>I have a new UltraSPARC 10 with Solaris 2.6 installed.
>
>I have a script that I've been using for years (happily with
>SOlaris 2.5.1 and 2.4) to dump my systems using ufsdump.
>
>The script runs under a user "dumper" who is in group "sys" (3),
>which has traditionally been the group owner of mounted slices.
>
>When I try this same script on my 2.6 system, it happily dumps
>all the slices mounted from the external drives (/dev/rdsk/c1t-d0s-)
>but gives me the message ..
>" DUMP: Cannot open dump device `/dev/rdsk/c0t0d0s-': Permission denied"
>for each of the slices mounted from the internal drive.
>
>I've looked at the links, the owners&groups&permissions on the raw
>devices .. I can not see *anything* that should be causing the problem.
>
>briefly:
>why does 'ufsdump /dev/rdsk/c1t1d0s-' work and 'ufsdump /dev/rdsk/c0t0d0s-'
>give me "permission problems", when everything looks otherwise the same?
>
>I use the "dumper" user so that i don't need to log across as root to do
>it in the automated cron-mediated script.
>
><signed>
>Howard S. Modell
>________________________________________________________________________
> Comptg Sys.Progr-Analyst/4 POBox 3707, m/s 4A-25, Boeing ISDS
> howard.s.modell@boeing.com Seattle, WA 98124-2207
> http://warlok.ds.boeing.com/~howie/ (206)662-0189[v] (206)662-4018[f]
>
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:53 CDT