Thanks. That works.
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840



                                                                       
                 Istvan Nemeth                                         
                 <[EMAIL PROTECTED]                                         
                 dunaferr.hu>                                           To
                                       [email protected]         
                 Sent by:                                               cc
                 Linux on 390                                          
                 Port                                              Subject
                 <[EMAIL PROTECTED]         Re: How to activate DASD in Linux
                 .MARIST.EDU>                                          
                                                                       
                                                                       
                 09/06/2005                                            
                 10:57 PM                                              
                                                                       
                                                                       
                    Please                                             
                  respond to                                           
                 Linux on 390                                          
                     Port                                              
                 <[EMAIL PROTECTED]                                         
                 .MARIST.EDU>                                          
                                                                       
                                                                       




Linux on 390 Port <[email protected]> írta 2005.09.07 01:51:51
időpontban:

> linked in. This is OK when I am in multi-user mode. Could someone tell
me
> how to activate a newly added dasd via command line? I came across a
script
> that uses:
>
> echo "add range=$2" > /proc/dasd/devices
>

I guess the correct form is: echo "add device range=$2" >
/proc/dasd/devices
This is true only for kernel 2.4

If you are running with kernel 2.6.x (and I think SuSE9 uses that + 0.0.*
naming scheme) you have to use another method:

chccwdev -e 0.0.0200

or

echo 1 > /sys/bus/ccw/devices/0.0.0200/online


István

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to