>>> On 9/7/2016 at 03:26 PM, Marcy Cortes <marcy.d.cor...@wellsfargo.com> 
>>> wrote: 

> This works great.   Here's a udev rule for a swap disk.  We use 4 with 
> different priorities on them.
> 
> # Configure DASD device at 0.0.ff00 (FBA mode) ACTION=="add", 
> SUBSYSTEM=="ccw", KERNEL=="0.0.ff00", IMPORT{program}="collect 0.0.ff00 %k 
> 0.0.ff00 dasd-fba"
> ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="dasd-fba", 
> IMPORT{program}="collect 0.0.ff00 %k 0.0.ff00 dasd-fba"
> ACTION=="add", ENV{COLLECT_0.0.ff00}=="0", ATTR{[ccw/0.0.ff00]online}="1"
> ACTION=="add", RUN+="/sbin/mkswap /dev/disk/by-path/ccw-0.0.ff00-part1", 
> RUN+="/sbin/swapon /dev/disk/by-path/ccw-0.0.ff00-part1 -p4"

You'd probably get better performance out of these if they were used in DIAG 
250 mode, wouldn't you?


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to