We have two SLES 11 machines that are not getting their swap file enabled
at boot.   The VM profile contains the SWAPGEN exec to format two virtual
FBA swap disks.  Looking thru the console log (in VM), I find messages the
following messages:
dasd(fba) : 0.0.5555: 9336/10(CU:6310/80) 60MB at (512 B/blk)
dasdc: (non1) dasdc1
dasd(fba) : 0.0.5555: 9336/10(CU:6310/80) 60MB at (512 B/blk)
dasdd: (non1) dasdd1
...
 "Unable to find swap-space signature"


The 'swapon -s' command shows no swap space allocated.

The 'lsdasd' command shows the two swap files, as well as the two ECKD
devices for /boot and /.

Bus-ID          Status  Name    Device  Type    BlkSz   Size Blocks
0.0.2424        active  dasda   94:0    ECKD    4096    7043MB  1803060
0.0.2425        active  dasdb   94:4    ECKD    4096    7043MB  1803060
0.0.5555        active  dasdc   94:8    FBA     512     60MB 124000
0.0.5556        active  dasdd   94:12   FBA     512     48MB 100000

/etc/fstab contains:

/dev/vg1/lv1         /                    ext3       acl,user_xattr
1 1
/dev/disk/by-path/ccw-0.0.2424-part1 /boot                ext3
acl,user_xattr        1 2
proc                 /proc                proc       defaults
0 0
sysfs                /sys                 sysfs      noauto
0 0
debugfs              /sys/kernel/debug    debugfs    noauto
0 0
devpts               /dev/pts             devpts     mode=0620,gid=5
0 0
/dev/disk/by-path/ccw-0.0.5555-part1 swap                 swap
defaults              0 0
/dev/disk/by-path/ccw-0.0.5556-part1 swap                 swap
defaults              0 0


The swap files were first in the list, I moved them yesterday in hopes
that it might make a different.  But no change.

If I enter a 'swapon -a' ,  the following is displayed:

swapon: /dev/dasdc1:  Invalid argument
swapon: /dev/dasdd1:  Invalid argument

Is there anything that I am missing?   Do the enabling of swap devices
need to be anywhere else?

Thanks for any and all help,
Larry Bernacki

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

Reply via email to