# cat /proc/dasd/devices 
0.0.0200(ECKD) at ( 94:     0) is dasda       : active at blocksize:
4096, 90000 blocks, 351 MB
0.0.0201(ECKD) at ( 94:     4) is dasdb       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0202(ECKD) at ( 94:     8) is dasdc       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0203(ECKD) at ( 94:    12) is dasdd       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0204(ECKD) at ( 94:    16) is dasde       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0205(ECKD) at ( 94:    20) is dasdf       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0206(ECKD) at ( 94:    24) is dasdg       : active at blocksize:
4096, 601020 blocks, 2347 MB
0.0.0222(FBA ) at ( 94:    28) is dasdh       : active at blocksize:
512, 20480 blocks, 10 MB
0.0.0223(FBA ) at ( 94:    32) is dasdi       : active at blocksize:
512, 204800 blocks, 100 MB

dasdh and dasdi are both swap, and they appear to be used as such:
# swapon -s
Filename                                Type            Size
Used    Priority
/dev/dasdh1                   partition 10184           0       50
/dev/dasdi1                   partition 102256  14968   100

-Channon 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Sunday, October 14, 2007 6:23 PM
To: [email protected]
Subject: Re: Expanding SWAP space

>>> On Sun, Oct 14, 2007 at  3:41 PM, in message
<[EMAIL PROTECTED]>,
"Quillen,
Channon" <[EMAIL PROTECTED]> wrote: 
> SLES9 64-bit
> 
> The existing swap disk (/dev/dasda1) wasn't large enough.  We
allocated
> a larger mini disk for device 200 by adding 600 cyl.  However, when I
> bounce the guest, /dev/dasda1 isn't recognized.
> 
> # mkswap /dev/dasda1
> /dev/dasda1: No such device or address
> 
> I have to issue the following commands to make it work:
> # fdasd -ask /dev/dasda
> # mkswap /dev/dasda1
> # swapon /dev/dasda1
> 
> Am I missing something?  Anyone have notes on expanding the swap disk?

In your case, you effectively added a brand new disk, so you have to
follow the same steps you would normally.  Those steps are exactly what
you listing doing.  The alternative would have been to use YaST to
activate, format, partition, and then put a swap signature on the disk.

> Also, I'm getting this error on another machine:
> # fdasd -ask /dev/dasdh
> /dev/dasdh is not an ECKD disk!  This disk type is not supported!

What does /proc/dasd/devices show?  If it's not ECKD, fdasd won't touch
it.


Mark Post

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