Mark Post has previously give a very good explanation, here
it is again ( with thank's to Mark ! )

/****************************************************************/
/* Add a disk the right way, making it online                   */ 
/****************************************************************/
I would be more accurate to say that /etc/zipl.conf is not 
the _sole_ way to define which DASD volumes come online at boot time. 
The parameters there are used if they exist, but YaST uses a 
different method when setting this up.  
This is true for SLES10 as well as SLES11.

If a DASD volume is needed to mount the root file system 
(whether a single partition or an LVM LV spanning many DASD volumes), 
the main startup script in the initrd gets dasd_configure commands 
added for each one of them.  
For any DASD volumes that are unrelated to the root file system, 
the only thing that gets looked at is 
(for SLES10) /etc/sysconfig/hardware/hwcfg-dasd-*, and 
(for SLES11) /etc/udev/rules.d/51-dasd-*.

The thing about the dasd_configure command is that it will create 
those files for you, whether in /etc/sysconfig/hardware, or 
/etc/udev/rules.d/, depending on what version of the distribution 
you're running.  So, the easiest way to add a volume to your system 
via the command line is:

dasd_configure busid online diag/notdiag
sample: dasd_configure 0.0.0500 1 1
dasdfmt
fdasd if ECKD and not FBA
mkinitrd
zipl

Mark Post


_________________________________________________ 
Tore Agblad 
System programmer, Volvo IT certified IT Architect
Volvo Information Technology 
Infrastructure Mainframe Design & Development, Linux servers 
Dept 4352  DA1S 
SE-405 08, Gothenburg  Sweden 
Telephone: +46-31-3233569 
E-mail: [email protected] 
http://www.volvo.com/volvoit/global/en-gb/ 
 

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Antonio 
Jesús Lozano Bonilla
Sent: den 18 april 2011 21:28
To: [email protected]
Subject: Re: vdisk

i think so.. if your list of devices is short or not get the new dasd
(vdisk)..

And i suppouse u get it on DIAGNOSE mode.. so it is little more efficient
than FBA....

2011/4/18 Mark Pace <[email protected]>

> Wouldn't he need to run
> mkinitrd
> in order to get the correct drivers in the initial ramdisk?
>
> On Mon, Apr 18, 2011 at 2:42 PM, Dean, David (I/S) <[email protected]
> >wrote:
>
> > Just added vdisk to 11 zlinux boxes on zvm 6 for swap. Did this
> dynamically
> > and it worked perfectly BUT I am losing it on reboot...
> >
> > Does it need to be defined in zipl.conf? it is in fstab.
> >
> > David M. Dean
> > Information Systems
> > BlueCross BlueShield Tennnessee
> >
> > -----------------------------------------------------
> > Please see the following link for the BlueCross BlueShield of Tennessee
> > E-mail disclaimer:  http://www.bcbst.com/email_disclaimer.shtm
> >
> > ----------------------------------------------------------------------
> > 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/
> >
>
>
>
> --
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems
>
> ----------------------------------------------------------------------
> 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/
>



--
Antonio J. Lozano Bonilla

http://es.linkedin.com/in/ajlozano

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

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