[lug] Disk Recognition for SuSE Linux on S/390

Olson, John C John.Olson at nationalcity.com
Tue Jan 14 08:59:36 MST 2003


Hello!

Am having some trouble adding additional DASD to an existing Linux instance
(SuSE Enterprise Edition 7 with 2.4.17 kernel).  The procedure I have is to
allocate the disk to the instance (done), add the DASD volume addresses to
the zipl.conf file for the kernel, run zipl, reboot and format with the
dasdfmt utility.  Then I can go in with lvm and take  care of business.

Well, everything looks good up until I try the dasdfmt utility.  See below
for more info.  Any suggestions would be welcome!

Thanks,
John

lnx0008:~ # id
uid=0(root) gid=0(root)
groups=0(root),1(bin),14(uucp),15(shadow),16(dialout),17(audio),65534(nogrou
p)
lnx0008:~ # uname -a
Linux lnx0008 2.4.17-timer #1 SMP Sat Apr 20 04:41:22 GMT 2002 s390x unknown
lnx0008:~ # cd
lnx0008:~ # cat /etc/SuSE-release
SuSE SLES-7 (s390x)
VERSION = 7.2
lnx0008:~ # cat /proc/dasd/devices
0200(ECKD) at ( 94:  0) is dasda:active at blocksize: 4096, 36000 blocks,
140 MB
0201(ECKD) at ( 94:  4) is dasdb:active at blocksize: 4096, 504000 blocks,
1968 MB
0202(ECKD) at ( 94:  8) is dasdc:active at blocksize: 4096, 594000 blocks,
2320 MB
0203(none) at ( 94: 12) is dasdd:unknown
0204(none) at ( 94: 16) is dasde:unknown
0205(none) at ( 94: 20) is dasdf:unknown
lnx0008:~ # dasdfmt -v -n 0203
Please enter the blocksize of the formatting [4096]:
dasdfmt: failed to find device in the /proc filesystem (are you sure to have
the right parameter dasd=xxx?)
lnx0008:~ # dasdfmt -v -f /dev/dasdd -b 4096
dasdfmt: error opening device /dev/dasdd: No such device
lnx0008:~ # ls -l /dev/dasdd
brw-rw----    1 root     disk      94,  12 Apr 19  2002 /dev/dasdd
lnx0008:~ # cat /etc/zipl.conf
[defaultboot]
default=ipl

[ipl]
target=/boot/zipl
image=/boot/kernel/image
#ramdisk=/boot/initrd
parameters="dasd=0200,0201,0202,0203,0204,0205 root=/dev/dasdb1 noinitrd"

[dumpdasd]
target=/boot/zipl
dumpto=/dev/dasd??

[dumptape]
target=/boot/zipl
dumpto=/dev/rtibm0





More information about the LUG mailing list