Boa noite pessoal.
Alguém já passou por esse cenário (ou algo parecido?)
o.s: Enterprise Linux Enterprise Linux Server release 5.6 (Carthage)
banco: Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
Cenário: Necessidade de backup para um HD formatado em ntfs, mas montado no
Linux.
O hd é montado normalmente:
ntfs-3g /dev/sdbf1 /hdexterno
[root@hostname /]# df -h /hdexterno/
Filesystem Size Used Avail Use% Mounted on
/dev/sdbf1 932G 599M 931G 1% /hdexterno
Como user oracle de s.o., consigo criar pastas, escrever arquivos e afins...
blábláblá
Ao tentar o backup de um controlfile para o device:
RMAN> run {
allocate channel t1 type disk format
'/hdexterno/bkpteste/BKP_CF_%d_%t_%s.rman';
backup current controlfile tag 'BKP_CF';
release channel t1;
}
2> 3> 4> 5>
allocated channel: t1
channel t1: sid=2081 instance=cliente1 devtype=DISK
Starting backup at 27-AUG-13
channel t1: starting full datafile backupset
channel t1: specifying datafile(s) in backupset
including current control file in backupset
channel t1: starting piece 1 at 27-AUG-13
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on t1 channel at 08/27/2013 21:40:37
ORA-19504: failed to create file
"/hdexterno/bkpteste/BKP_CF_CLIENTE_824593235_62742.rman"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 22: Invalid argument
Acredito que o problema está na forma de montar, além é claro, do Linux e o
ntfs não conversarem bem direitos... hehehehe
Tentei outras várias options de mount (permissions, allow_other, uid, gid,
etc...) nada.
A permissão do device e da pasta de montagem estão setadas para oracle,
tanto é que como mencionado, consigo escrever pelo s.o. no disco.
Qualquer ajuda é bem vinda.
Att,/Regards,
Vitor Jr.
Infraestrutura / Infrastructure Team
Oracle 11g DBA Certified Professional - OCP
Oracle Certified Expert, Oracle Real Application Clusters 11g and Grid
Infrastructure Administrator - OCE
Oracle Database 11g Performance Tuning Certified Expert - OCE
Oracle Exadata 11g Certified Implementation Specialist
Oracle Certified Associate, MySQL 5
mail, gtalk e msn: <mailto:[email protected]> [email protected]
<http://certificacaobd.com.br/> http://certificacaobd.com.br/
skype: vjunior1981
<https://mybizcard.co/vitor.jr.385628> https://mybizcard.co/vitor.jr.385628
[As partes desta mensagem que não continham texto foram removidas]