E aí Ricardo, beleza? :)
Então segue o cat:

/dev/sdbf1 /hdexterno fuseblk
rw,nosuid,nodev,user_id=200,group_id=502,default_permissions,allow_other,blk
size=4096 0 0

A pasta foi criada com o user de s.o., sem problema:
[oracle@hostname /]$ whoami
oracle
[oracle@hostname /]$ id
uid=200(oracle) gid=502(oinstall)
groups=6(disk),500(comunicacao),501(dba),502(oinstall)
[oracle@hostname /]$
[oracle@hostname hdexterno]$ mkdir testebkp
[oracle@hostname hdexterno]$ cd testebkp/
[oracle@hostname testebkp]$ ls -tlrh
total 0
[oracle@hostname testebkp]$ touch teste
[oracle@hostname testebkp]$ ls -tlrh
total 0
-rwxrwxrwx 1 oracle oinstall 0 Aug 27 21:01 teste


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: vitorj...@gmail.com
http://certificacaobd.com.br/
skype: vjunior1981
https://mybizcard.co/vitor.jr.385628

-----Mensagem original-----
De: oracle_br@yahoogrupos.com.br [mailto:oracle_br@yahoogrupos.com.br] Em
nome de Ricardo Arnoud
Enviada em: quarta-feira, 28 de agosto de 2013 08:29
Para: oracle_br@yahoogrupos.com.br
Assunto: Re: [oracle_br] Backup RMAN com Linux montando um disco NTFS

Casca esse hein..

Da um cat /proc/mounts e cola aqui.

Como usuario oracle no S.O , crie a pasta com o mesmo nome bkpteste, entre
nela e tente criar o arquivo manualmente com touch, e veremos se ele aceita
este nome.

Ricardo Arnoud

On Tuesday, August 27, 2013, Vitor Jr. wrote:

> **
>
>
> 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:vitorj...@gmail.com <javascript:_e({}, 'cvml', 
> 'vitorjr81%40gmail.com');>> vitorj...@gmail.com <javascript:_e({}, 
> 'cvml', 'vitorjr81%40gmail.com');> <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]
>
>  
>


--
--
--
Thanks,*
Ricardo Arnoud*
*Bacharel em Ciência da Computação* - 2013


Cerificado LPIC-2
Certificado Microsoft MCP
(51) 8205-4658 TIM / Porto Alegre - RS
http://www.ricardoarnoud.com
http://www.alterdatabaseopen.com
FB http://www.facebook.com/ricardo.arnoud
Linkedin http://br.linkedin.com/pub/ricardo-arnoud/15/127/3b1


[As partes desta mensagem que não continham texto foram removidas]



------------------------------------

----------------------------------------------------------------------------
----------------------------------------------
>Atenção! As mensagens do grupo ORACLE_BR são de acesso público e de inteira
responsabilidade de seus remetentes.
Acesse: http://www.mail-archive.com/oracle_br@yahoogrupos.com.br/
----------------------------------------------------------------------------
----------------------------------------------
>Apostilas » Dicas e Exemplos » Função » Mundo Oracle » Package » 
>Procedure » Scripts » Tutoriais - O GRUPO ORACLE_BR TEM SEU PROPRIO 
>ESPAÇO! VISITE: http://www.oraclebr.com.br/
----------------------------------------------------------------------------
-------------------------------------------- Links do Yahoo! Grupos



Responder a