RES: RES: [rhn-users] RAW DEVICE

lin77sys lin77sys at yahoo.it
Sun Feb 13 09:25:04 UTC 2005


   Uhm, this problem it is too difficult for me. I am
sorry. However what about if you tried to use Logical
Volume manager ? If you create a volume group and a
logical volume on this disk vgscan command, even on
boot, should create the devices correctly. May be a
SCSI chain problem ?

   I don't know. Perhaps what I said is a big mistake
of mine. Please, let me know news about it.

   Good luck! Bye.


 --- Rodemir Urbano dos Santos <r.urbano at terra.com.br>
ha scritto: 
> 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
> > >                        
> 
=== message truncated === 


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




More information about the rhn-users mailing list