[Ocfs-users] cp --o_direct

Andreas Piesk andreas.piesk at voeb-zvd.de
Fri Feb 11 02:42:51 CST 2005


Bryce schrieb:
> *scratch* 
> lets see
> try
> cp --o_direct=131072,0 xdb01.dbf /tmp
> 
> which basically says 'try to copy in the file using o_direct blocks of
> 128Mb and copy out to /tmp without o_direct'
> 
> --o_direct just by itself will assume that the src and destination FS's
> are o_direct capable
> 
> In your case, I'm assuming that /tmp isn't and is a ext2 or ext3 FS.
> The use of fileutils suggests that you're using AS2.1 which did not
> silently ignore o_direct on ext3 like EL3 does.

i have the same problem here on EL3:
# uname -r
2.4.21-27.0.2.ELhugemem
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 4)
# rpm -q --qf '%{VERSION}-%{RELEASE}\n' coreutils
4.5.3-38

if i explicitely specify the blocksize

cp --o_direct=1048576 file_on_ocfs dir_on_ext3

it works. otherwise i get 'permission denied'.

database is 9.2.0.6 RAC.

Best,

-ap

-- 
Andreas Piesk
Systemadministration E-/M-Commerce
--------------------------------------------------------------
VÖB-ZVD
Bank für Zahlungsverkehrsdienstleistungen GmbH
Godesberger Allee 88

53175 Bonn

Tel.: +49 (0) 228 9377-535
Fax:  +49 (0) 228 9377-596
E-Mail: andreas.piesk at voeb-zvd.de
Internet: http://www.voeb-zvd.de



More information about the Ocfs-users mailing list