RES: RES: [rhn-users] RAW DEVICE

Rodemir Urbano dos Santos r.urbano at terra.com.br
Fri Feb 11 12:30:17 UTC 2005


My machine has the following configuration:  
  
HP COMPAQ PROLIANT ML350 G3  
4 PROCESSORS OF 3057.460 MHz  
2 DISKS OF 80 GB  
CONTROLLING COMPAQ SMART ARRAY 641 (WITH 256MB OF CACHE)  
2 PLATES OF NET BROADCOM NETXTREME GIGABIT  
SCSI AHA-3960D/AIC-7899A U160/m  
  
I tried other versions of RedHat, but only the last had drivers for my
controlling SmartArray (other distributions SUSE and CONECTIVA also had
support with Kernel above the 2.6). Conectiva suggests that the option
O_DIRECT fcntl is used instead of rawdevice, but I don't know as using. I
already researched but I didn't find.

Bye,

Urbano.



Minha máquina tem a seguinte configuração:

HP COMPAQ PROLIANT ML350 G3
4 PROCESSADORES DE 3057.460 MHz
2 DISCOS DE 80 GB
CONTROLADORA COMPAQ SMART ARRAY 641 (COM 256MB DE CACHE)
2 PLACAS DE REDE BROADCOM NETXTREME GIGABIT
SCSI AHA-3960D/AIC-7899A U160/m

Eu tentei outras versões do RedHat, mas somente a última  tinha drivers para
a minha controladora SmartArray (outras distribuições SUSE e CONECTIVA
também tinham suporte com o Kernel acima do 2.6). O Conectiva sugere que se
utilize a opção  O_DIRECT fcntl ao invés de rawdevice, mas não sei como
utilizar. Já pesquisei mas não encontrei.



-----Mensagem original-----
De: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com] Em
nome de lin77sys
Enviada em: sexta-feira, 11 de fevereiro de 2005 05:34
Para: Red Hat Network Users List
Assunto: Re: RES: [rhn-users] RAW DEVICE

   Please, could you give the hardware configuration
of your machines ?
   What do you really mean with controlled smart array
? We are installing an HP Proliant server connected to
an EMC Storage Area Network and perhaps we could have
the same problem in the next future.
   
   Bye.   

 --- Rodemir Urbano dos Santos <r.urbano at terra.com.br>
ha scritto: 
> Dear friends lin77sys and Per Lindahl and other,  
>   
> 	The configuration in the /etc/sysconfig/rawdevices
> was made after
> executing the MAKEDEV raw. Before this the directory
> /dev/raw didn't exist.
> Before executing MAKEDEV they see how a ls of the
> directory is in the close
> files:  
>   
> brw-rw----1 root disk 1, 9 Sea 19 2002 ram9  
> lrwxrwxrwx 1 root root 4 Jan 2 2004 ramdisk -> ram0 
> 
> crw-r--r--1 root root 1, 8 Sea 19 2002 random  
> crw-rw----1 root disk 27, 32 Sea 19 2002 rawqft0  
>   
> 	After the MAKEDEV raw it is of this sorts things
> out:  
>   
> brw-rw----1 root disk 1, 9 Sea 19 2002 ram9  
> lrwxrwxrwx 1 root root 4 Jan 2 2004 ramdisk -> ram0 
> 
> crw-r--r--1 root root 1, 8 Sea 19 2002 random  
> drwxr-xr-x 2 root root 4096 Jan 2 2004 raw          
>         <======
> crw-rw----1 root disk 162, 0 Sea 19 2002 rawctl     
>         <======
> lrwxrwxrwx 1 root root 10 Jan 2 2004 rawip ->
> inet/rawip     <======
> crw-rw----1 root disk 27, 32 Sea 19 2002 rawqft0  
>   
> 	They can notice that he appears the block, the
> directory and the
> link. Only that when I restart the equipment adds
> everything again. This is
> being my problem. Should I execute some other
> command for these files not to
> disappear?  
>   
> 	Thank you very much for the support.  
>   
> 	Regards,
> 
> 
> 
> Caros colegas lin77sys e Per Lindahl e outros,
> 
> 	A configuração no /etc/sysconfig/rawdevices foi
> efetuada depois de
> executar o MAKEDEV raw. Antes disto o diretório
> /dev/raw não existia. Antes
> de executar o MAKEDEV vejam como fica um ls do
> diretório nos arquivos
> próximos:
> 
> brw-rw----    1 root     disk       1,   9 Mar 19 
> 2002 ram9
> lrwxrwxrwx    1 root     root            4 Jan  2 
> 2004 ramdisk -> ram0
> crw-r--r--    1 root     root       1,   8 Mar 19 
> 2002 random
> crw-rw----    1 root     disk      27,  32 Mar 19 
> 2002 rawqft0
> 
> 	Após o MAKEDEV raw fica desta maneira:
> 
> brw-rw----    1 root     disk       1,   9 Mar 19 
> 2002 ram9
> lrwxrwxrwx    1 root     root            4 Jan  2 
> 2004 ramdisk -> ram0
> crw-r--r--    1 root     root       1,   8 Mar 19 
> 2002 random
> drwxr-xr-x    2 root     root         4096 Jan  2 
> 2004 raw
> crw-rw----    1 root     disk     162,   0 Mar 19 
> 2002 rawctl
> lrwxrwxrwx    1 root     root           10 Jan  2 
> 2004 rawip -> inet/rawip
> crw-rw----    1 root     disk      27,  32 Mar 19 
> 2002 rawqft0
> 
> 	Podem perceber que aparece o bloco, o diretório e o
> link. Só que
> quando reinicio o equipamento some tudo de novo.
> Este está sendo o meu
> problema. Devo executar algum outro comando para que
> estes arquivos não
> desapareçam?
> 
> 	Muito obrigado pelo apoio.
> 
> -----Mensagem original-----
> De: rhn-users-bounces at redhat.com
> [mailto:rhn-users-bounces at redhat.com] Em
> nome de Per Lindahl
> Enviada em: quinta-feira, 10 de fevereiro de 2005
> 07:21
> Para: rhn-users at redhat.com
> Assunto: Re: [rhn-users] RAW DEVICE
> 
> I think your supposed to add it to /etc/udev/devices
> too
> cp -p /dev/raw /etc/udev/devices/
> 
> Regards,
> Per
> 
> On Thu, 2005-02-10 at 09:06 +0100, lin77sys wrote:
> > Try this: 
> > 
> > vi /etc/sysconfig/rawdevices 
> > 
> > then insert devices name, for example:
> > 
> > # raw device bindings
> > # format:  <rawdev> <major> <minor>
> > #          <rawdev> <blockdev>
> > # example: /dev/raw/raw1 /dev/sda1
> > #          /dev/raw/raw2 8 5
> >                        
> > /dev/raw/raw4 /dev/hda4
> > /dev/raw/md_raw1  /dev/md1
> > 
> > then hit the command
> > 
> > service rawdevices restart 
> > 
> > On reboot you wil find the new raw device.
> > 
> > To create a raw device I used this command
> > 
> > mknod /dev/raw/raw_md1_99 c 162 99
> > 
> > where 162 and 99 are major and minor numbers.
> > 
> > Hope will be useful.
> > 
> > 
> > 
> > 
> > 
> > 
> >  --- Rodemir Urbano dos Santos
> <r.urbano at terra.com.br>
> > ha scritto: 
> > > I installed Red Hat Enterprise Linux THE (v. 4
> go
> > > x86) Beta in a machine HP
> > > PROLIANT ML 350 with a controlled Smart Array.
> It
> > > was perfect, Red Hat
> > > perfectly recognized. I am only having a problem
> > > with some partitions that
> > > were created for they are used with raw device.
> > > Under /dev the paste didn't
> > > exist / dev/raw. I Created with MAKEDEV raw, but
> > > when I restart the machine
> > > disappears again. How do I do definitively for
> this
> > > to be configured? Is
> > > some problem in this version?
> > > 
> > >  
> > > 
> > >  
> > > 
> > >  
> > > 
> > > Instalei o Red
> > >
> >
>
<https://rhn.redhat.com/network/software/channels/details.pxt?cid=2570>
> > >  Hat
> > > Enterprise Linux AS (v. 4 for x86) Beta em uma
> > > máquina HP PROLIANT ML 350
> > > com uma controlada Smart Array. Foi perfeito, o
> Red
> > > Hat reconheceu
> > > perfeitamente. Só estou tendo um problema com
> > > algumas partições que foram
> > > criadas para serem utilizadas com raw device.
> > > Debaixo de /dev não existia a
> > > pasta /dev/raw. Criei com MAKEDEV raw, mas
> quando
> > > reinicio a máquina some
> > > novamente. Como faço para isto fique
> definitivamente
> > > configurado? É algum
> > > problema nesta versão?
> > > 
> > >  
> > > 
> > >  
> > > 
> > >  
> > > 
> > > Rodemir Urbano dos <mailto:r.urbano at abcz.org.br>
> 
> > > Santos
> > > 
> > > Administrador de Banco de Dados e Redes <
> 
=== message truncated === 


		
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam,
Giochi, Rubrica
 Scaricalo ora! 
http://it.messenger.yahoo.it

_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users







More information about the rhn-users mailing list