I just did this.  In zipl.conf I have:

[dumpdasd]
target=/boot/zipl
dumpto=/dev/dasdq1

I think the target parm is wrong below.

> -----Original Message-----
> From: Tim Hanschen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 1:52 AM
> To: [EMAIL PROTECTED]
> Subject: [LINUX-390] how to use the dump tools?
>
>
> Hi,
>
> I want to do a linux dump with the dump tool.... well first
> of all I prepared a dasd (/dev/dasdj1), after that I tried to
> do an zipl, which results in an error.
>
> I formatted the dasd in ldl and cdl with no change... I tried
> to do zipl dump_eckd and I tried zipl -d /dev/dasdj1.... no change.
>
> How to I have to prepare the dasd?
>
> regards,
>   - Tim -
>
>
>
> lxchr002:/ # dasdfmt -b 4096 -f /dev/dasdj
> Drive Geometry: 3338 Cylinders * 15 Heads =  50070 Tracks
>
> I am going to format the device /dev/dasdj in the following way:
>    Device number of device : 0x209
>    Labelling device        : yes
>    Disk label              : VOL1
>    Disk identifier         : 0X0209
>    Extent start (trk no)   : 0
>    Extent end (trk no)     : 50069
>    Compatible Disk Layout  : yes
>    Blocksize               : 4096
>
> --->> ATTENTION! <<---
> All data of that device will be lost.
> Type "yes" to continue, no will leave the disk untouched: yes
> Formatting the device. This may take a while (get yourself a coffee).
> Finished formatting the device.
> Rereading the partition table... ok
> lxchr002:/ #
> lxchr002:/ #
> lxchr002:/ #
> lxchr002:/ # fdasd -a /dev/dasdj
> auto-creating one partition for the whole disk...
> writing volume label...
> writing VTOC...
> rereading partition table...
> lxchr002:/ #
> lxchr002:/ #
> lxchr002:/ #
> lxchr002:/ # zipl dump_eckd
> Warning: All information on /dev/dasdj1 will be lost, are you
> sure to create a dump partition (y/n) :y
> Error opening eckd bootloader input file /boot/2.4.19/eckd0.
> Error: Could not install dump record for eckd-type devices
> with z/OS compatible layout.
> lxchr002:/ #
>
>
>
>
>    Disk label              : VOL1
>    Disk identifier         : 0X0209
>    Extent start (trk no)   : 0
>    Extent end (trk no)     : 50069
>    Compatible Disk Layout  : yes
>    Blocksize               : 4096
>
> --->> ATTENTION! <<---
> All data of that device will be lost.
> Type "yes" to continue, no will leave the disk untouched: yes
> Formatting the device. This may take a while (get yourself a coffee).
> Finished formatting the device.
> Rereading the partition table... ok
> lxchr002:/ #
> lxchr002:/ # fdasd /dev/dasdj
> reading volume label: VOL1
> reading vtoc        : ok
>
> Command action
>    m   print this menu
>    p   print the partition table
>    n   add a new partition
>    d   delete a partition
>    v   change volume serial
>    t   change partition type
>    r   re-create VTOC and delete all partitions
>    u   re-create VTOC re-using existing partition sizes
>    s   show mapping (partition number - data set name)
>    q   quit without saving changes
>    w   write table to disk and exit
>
> Command (m for help): q
> exiting...
> lxchr002:/ # fdasd -a /dev/dasdj
> auto-creating one partition for the whole disk...
> writing volume label...
> writing VTOC...
> rereading partition table...
> lxchr002:/ #
> lxchr002:/ # mc
>
> lxchr002:/ # zipl dump_eckd
> Warning: All information on /dev/dasdj1 will be lost, are you
> sure to create a dump partition (y/n) :y
> Error opening eckd bootloader input file /boot/2.4.19/eckd0.
> Error: Could not install dump record for eckd-type devices
> with z/OS compatible layout.
>
>
>
>
> lxchr002:/ # cat /etc/zipl.conf
> [defaultboot]
> default=ipl
>
> [ipl]
> target=/boot/2.4.19/zipl
> image=/boot/2.4.19/zilo-kernel/image
> #ramdisk=/boot/2.4.19/initrd
> parameters="dasd=0200-0210,2000-205f root=/dev/dasdb1 noinitrd"
>
> [dump_eckd]
> target = /boot/2.4.19
> dumpto = /dev/dasdj1
> lxchr002:/ #
>
>
> ______________________________________________________________
> ______________
> Jetzt bei WEB.DE FreeMail anmelden = 1qm Regenwald schuetzen! Helfen
> Sie mit! Nutzen Sie den Serien-Testsieger.
> http://user.web.de/Regenwald
>

Reply via email to