RES: [rhn-users] RAW DEVICE
Rodemir Urbano dos Santos
r.urbano at terra.com.br
Thu Feb 10 19:52:19 UTC 2005
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 <
> > <mailto:abczdds at abcz.org.br>
> > abczdds at abcz.org.br>
> >
> >
> >
> > E-mail (comercial): <mailto:r.urbano at abcz.org.br>
> > r.urbano at abcz.org.br
> >
> > Fone: 55 034 319 3896
> >
> >
> >
> > E-mail (privativo): <mailto:r.urbano at terra.com.br>
> > r.urbano at terra.com.br
> >
> >
> >
> > Associação Brasileira dos <http://www.abcz.org.br/>
> > Criadores de Zebu -
> > ABCZ
> >
> > Praça Vicentino Rodrigues da Cunha, 110 - Bloco 1.
> >
> > Parque Fernando Costa - Bairro São Benedito
> >
> > 38022330 - Uberaba - Minas Gerais - Brasil
> >
> >
> >
> > E-mail: <mailto:abcz at abcz.org.br> abcz at abcz.org.br
> >
> > Web Site: <http://www.abcz.org.br/>
> > http://www.abcz.org.br/
> >
> >
> >
> > Fone: 55 034 319 3900
> >
> > Fax: 55 034 319 3838
> >
> >
> >
> >
> >
> > > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
>
>
>
> ___________________________________
> 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
--
Per Lindahl, Systems Administrator
BEA Systems Stockholm Engineering AB
Folkungagatan 122, 102 65 STOCKHOLM
Telephone: +46(0)8-506 309 63
Mobile: +46(0)707-10 61 63
_______________________________________________
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