[Ocfs-users] Question about filesystem ownership

Kurt Hackel Kurt.Hackel at oracle.com
Tue Feb 10 20:58:34 CST 2004


The mkfs.ocfs arguments for userid and groupid (-u and -g) are for
numeric userid/groupids, not for the actual username or group name
strings.  Same goes for the mount -o options.  

Thanks!
-kurt


On Tue, Feb 10, 2004 at 08:42:30PM -0800, Derek Suzuki wrote:
>  Doesn't seem to help.  When I manually mount with those options, then
> /bin/mount does show the "uid" and "gid" options set for the mounted
> filesystem, but permission remain root:root.  ocfstool reported root:root
> for that filesystem even immediately after I selected oracle:dba during the
> formatting process. 
> 
> -----Original Message-----
> From: Varghese Abraham
> To: Derek Suzuki; 'ocfs-users at oss.oracle.com'
> Sent: 2/10/2004 5:49 PM
> Subject: RE: [Ocfs-users] Question about filesystem ownership
> 
> I think this has got more to do with the way the file system was
> mounted.
> We have put the entry for mounting ocfs file systems in rc.local in the
> following manner
> 
> /bin/mount -t ocfs -o uid=oracle,gid=dba /dev/sda /ocfs01
> 
> This mounts with proper permissions. I think if you reboot , the next
> time
> it would take it properly or you could put the above entries in rc.local
> or
> fstab and then try to unmount and mount 
> _______________________________________________
> Ocfs-users mailing list
> Ocfs-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs-users


More information about the Ocfs-users mailing list