On Monday, 11/03/2014 at 02:16 EST, "Shedlock, George" 
<[email protected]> wrote:
> When we create the guest we format and label the volumes using ICKDSF.
>
> According to the Cookbook one of the first steps in making the disk 
available
> to zLinux is to run a dasdfmt command against the disk.
>
> According to ?Device Drivers, Features, and Commands on Red Hat 
Enterprise
> Linux 7?, dasdfmt has an option ?k

There's no need to format a volume twice.  If you're going to format a 
volume dasdfmt, there's no need to use ICKDSF.

> -k or --keep_volser
> keeps the volume serial number when writing the volume label (see 
VOLSER).
> Keeping the volume serial number is useful, for example, if the volume 
serial
> number was written with a z/VM tool and should not be overwritten.
>
> However, whenever we try to run dasdfmt with that option we get the 
following
> error
>
> [root@dcvml29 ~]# dasdfmt -b 4096 -y -v -k -f /dev/dasdf
> dasdfmt: VOLSER not found on device /dev/dasdf

Sounds like your minidisk is 1-END instead of 0-END and so doesn't see a 
volser on the minidisk.

Alan Altmark

Senior Managing z/VM and Linux Consultant
Lab Services System z Delivery Practice
IBM Systems & Technology Group
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
[email protected]
IBM Endicott

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to