SUMMARY: growfs-problem "Not owner"

From: Werner Sinz <Sinz_at_rus.uni-stuttgart.de>
Date: Wed Jun 26 2002 - 07:24:40 EDT
Many thanks to all who replied:
-------------------------------
Darren Dunham (Taos - The SysAdmin Company)
Neal Curran (IT Services,The University of Reading)
Jeff Kennedy (AMCC)
Pierre.Zimmermann@tecnomen.fi

Here is (the most detailed) answer/solution of Darren Dunham:
-------------------------------------------------------------
I've seen similar behavior on '/' when there is a RT process with files
open on that partition.  The only common RT process is xntpd.  Do you
have that running?  If so, shut it down and try again.

'ps -ecf | grep RT' will show those processes.  RT in the 4th column is
a real-time process.


The original question/posting:
------------------------------
 > I have a problem when expanding a mounted ufs-filesystem (/var) with
 > "growfs"
 > under Solaris 2.6 with SDS on a E-250.
 >
 > Before the growfs i have expanded the metadevice with an additional
 > disk-slice.
 > When I run:
 >     # growfs -s 11422971 -M /var /dev/md/rdsk/d34
 >
 > which results finaly in the mkfs-command:
 >     # /usr/lib/fs/ufs/mkfs -G -M /var /dev/md/rdsk/d34 11422971
 >
 > I get the following error message:
 >     /var: Not owner
 >
 > When I truss the command I get the following relevant lines (more
 > attached):
 >     open64("/var", O_RDONLY)                        = 4
 >     ioctl(4, 0x20006640, 0x0002C570)                Err#1 EPERM
 >
 > in errno.h this error means:
 >     #define EPERM   1       /* Not super-user */
 >
 > But I _am_ the super-user (root).
 > And root _is_ the owner of /var.
 > And /var is a _local_ ufs-filesystem (_not_ NFS-mounted ...)
 >
 > On a test-machine (Solaris 8, not /var though) growfs works fine!
 >
 > Has anyone an idea what the problem (and of course the solution) could be?


Regards
-- 
    Werner Sinz

Rechenzentrum der            | http://www.uni-stuttgart.de/rus/
Universitdt Stuttgart (RUS)  | mailto:Werner.Sinz@rus.uni-stuttgart.de
Allmandring 30a              | Tel.:  (+49) 0711/685-5816
D-70550 Stuttgart            | Fax:   (+49) 0711/682-357
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jun 26 07:48:48 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:47 EST