Não é possível montar o CDROM no Solaris 10

2

Eu tenho problema com o uso de CDROM no Solaris 10. Quando monto qualquer ISO usando o VMware, o ISO não está visível no Solaris.

  1. Quando vou ao CDROM não há nada dentro:

    --- 134 # cd /cdrom
    --- 135 # ls -lart
    total 9
    drwxr-xr-x   2 root     root           2 Jan  3 10:36 test
    drwxr-xr-x   3 root     nobody         3 Jan  3 10:36 .
    drwxr-xr-x  29 root     root          32 Jan  3 15:03 ..
    
  2. Eu posso tentar montar o CDROM manualmente, por exemplo, usando o seguinte comando:

    --- 136 # mount -F hsfs -o ro /dev/dsk/c0t0d0 /cdrom/test
    
    mount: No such device
    
    mount: cannot mount /dev/dsk/c0t0d0
    

    Isso ocorre porque não consigo encontrar informações sobre o nome físico do meu CDROM - no seguinte formato: c1t1d0, c1t2d0, c2t1d0 etc.

  3. O comando IOSTAT me fornece resultados:

    --- 137 # iostat -E
    sd0       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 26.84GB <26843545088 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    sd2       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 21.47GB <21474835968 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    sd4       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 107.37GB <107374181888 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    sd5       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: NECVMWar Product: VMware IDE CDR00 Revision: 1.00 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    sd6       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: NECVMWar Product: VMware IDE CDR01 Revision: 1.00 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    
    --- 138 # iostat -En
    
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 26.84GB <26843545088 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c1t2d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 21.47GB <21474835968 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c1t1d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
    Size: 107.37GB <107374181888 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    sd5              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: NECVMWar Product: VMware IDE CDR00 Revision: 1.00 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    sd6              Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: NECVMWar Product: VMware IDE CDR01 Revision: 1.00 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    
  4. Ao tentar usar o script que foi encontrado no Stackoverflow, tenho resutls:

    --- root@solaio03 : /cdrom
    --- 139 # iostat -x|tail -n +3|awk '{print $1}'>/tmp/f0.txt.$$
    iostat -nx|tail -n +3|awk '{print "/dev/dsk/"$11}'>/tmp/f1.txt.$$
    paste -d= /tmp/f[01].txt.$$
    rm /tmp/f[01].txt.$$
    --- root@solaio03 : /cdrom
    --- 140 # iostat -nx|tail -n +3|awk '{print "/dev/dsk/"$11}'>/tmp/f1.txt.$$
    
    --- root@solaio03 : /cdrom
    --- 141 # paste -d= /tmp/f[01].txt.$$
    sd0=/dev/dsk/c1t0d0
    sd2=/dev/dsk/c1t2d0
    sd4=/dev/dsk/c1t1d0
    sd5=/dev/dsk/sd5
    sd6=/dev/dsk/sd6
    nfs1=/dev/dsk/solaio03.sys.net:vold(pid747)
    
  5. Agora, minha última pergunta: há alguém que possa me dar algum conselho sobre o que devo fazer?

por user3168723 08.01.2014 / 11:00

2 respostas

0

Isso deve reconstruir /dev :

devfsadm -v

Depois disso, os dispositivos c * t * d * s * adequados devem aparecer e ser utilizáveis.

Observe que uma montagem manual deve usar a fatia "disco inteiro" ( s2 ), algo como:

mount -F hsfs -o ro /dev/dsk/cxtydzs2 /cdrom/test 
    
por 08.01.2014 / 16:43
0

Verifique o seguinte:

svcs volfs

se necessário, ative svcadm enable volfs

se tudo estiver funcionando, você deverá ver o seu cdrom montado em /media/<label of the cdrom>

    
por 08.01.2014 / 11:48