Well, its' vdisk and its fast anyway.
And it's a safety net.   If we start to use it, something is wrong  - leaking 
or real need for more memory.


-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Wednesday, September 07, 2016 2:34 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] vdisk swap in sles 12

>>> 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/

----------------------------------------------------------------------
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