Try

echo "set device range=0bb2 on" >> /proc/dasd/devices


If it isn't help, that's mean that this device hasn't been attached to 
your linux.

        WBR, Sergey




"Ant�nio Pires de Castro Jr." <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
03.11.2003 15:43
Please respond to Linux on 390 Port

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: Change dinamically the /proc/dasd/devices.


Sergey Korzhevsky wrote:

>echo "add device range=0bb2" >> /proc/dasd/devices
>
>
>
>
>
>        WBR, Sergey
>
>
>
>
>"Anttnio Pires de Castro Jr." <[EMAIL PROTECTED]>
>Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
>03.11.2003 15:32
>Please respond to Linux on 390 Port
>
>
>        To:     [EMAIL PROTECTED]
>        cc:
>        Subject:        Change dinamically the /proc/dasd/devices.
>
>
>Hi,
>
>How can I change dinamically the /proc/dasd/devices to add a new
>dasd without reboot my machine.
>
>I tried the following command, but it didn't work
>echo "0bb2(ECKD) at ( 94: 36) is dasdj      : active at blocksize: 4096,
>601020 blocks, 2347 MB" >> /proc/dasd/devices
>
>thanks in advanced,
>
>--
>Antonio Pires
>Suporte Tecnico - AGANP
>
>
thanks for your reply, it works, but I can't format it:

[EMAIL PROTECTED] root]# more /proc/dasd/devices
...
0bb2(none) at ( 94: 40) is dasdk      : unknown
0bb3(none) at ( 94: 44) is dasdl      : unknown
[EMAIL PROTECTED] root]# /sbin/dasdfmt -b 4096 -f /dev/dasdk
/sbin/dasdfmt: error opening device /dev/dasdk: No such device
[EMAIL PROTECTED] root]# /sbin/dasdfmt -b 4096 -f /dev/dasdl
/sbin/dasdfmt: error opening device /dev/dasdl: No such device
[EMAIL PROTECTED] root]# /sbin/dasdfmt -b 4096 -l lnx16b -d cdl -f
/dev/dasdk
/sbin/dasdfmt: error opening device /dev/dasdk: No such device

How can I format this new dasds???

thanks,

--
Antonio Pires
Suporte Tecnico - AGANP

Reply via email to