File level backup of a z/Linux guest from z/OS

2008-07-31 Thread Jan Vanbrabant
Hi,

I came across David Boyes' append (Wed, 14 Jul 2004 11:47:30 -0700)
where David mentions a paper by his hand on using DASDtape with Amanda and 
z/OS DFHSM.
http://www.mail-archive.com/linux-390@vm.marist.edu/msg24490.html

David, if you happen to read this, pls tell me where I can still find it.
Anyone of you, listeners, can let me know too, of course. ;-)

1°
David's append is 4 years old now.
4 years being an eternity in our IT world, and certainly in the zLinux world, 
is DASDtape with Amanda and z/OS DFHSM still a viable solution?
Have the insights about file level backup changed since then? Are there other 
solutions or approaches?

2° The z/OS perspective
I just checked the z/OS R9 DFHSM Storage administration manuel
http://publibz.boulder.ibm.com/epubs/pdf/dgt2s661.pdf
which still says:
Appendix C. Linux-z/OS DFSMShsm Dump or Restore HOW-TO(pag. 655-669)
pag.656 … In order for z/OS to process the Linux volumes, they must be 
formatted in the Compatible Disk Layout (CDL) using dasdfmt version 1.0 or 
later and partitioned using fdasd version 1.0 or later. … Volumes in the 
original format, Linux Disk Layout (LDL), are not compatible with the z/OS 
system and cannot be accessed and backed up by z/OS. …

So, from a z/OS perspective (HSM and/or DFDSS), we can dump the entire volume. 
If one needs to restore a mini-disk, one may do a restore using the TRACKS 
parameter. Of course, this means one needs to know the starting and ending 
cylinder of each mini-disk. But that is in the VM directory.

So, yes, this definitely works, but it's not highly automated.


3°
The VM pêrspective
I'm not very acquainted (anymore) with the VM environment. Has the VM scene 
evolved in this file_level_backup area since then?

4°
The ECKD-LUN perspective
Any papers, articles, experiences with going from ECKD mdisks towards FCP LUN's 
which can be backed up with TSM?
Performance figures available comparing a ECKD solution with a LUN solution?

Performance figures available comparing a z/OS solution with a non-z/OS 
solution?
Any stress testing done?

Regards,
Jan




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


Re: File level backup of a z/Linux guest from z/OS

2008-07-31 Thread David Boyes
 I came across David Boyes' append (Wed, 14 Jul 2004 11:47:30 -0700)
 where David mentions a paper by his hand on using DASDtape with Amanda
 and z/OS DFHSM.
 http://www.mail-archive.com/linux-390@vm.marist.edu/msg24490.html
 
 David, if you happen to read this, pls tell me where I can still find it.
 Anyone of you, listeners, can let me know too, of course. ;-)

http://www.sinenomine.net/sites/default/files/MainframeLinuxBackupsWithoutTape-20040126.pdf

Watch for word wrap in the URL, but it's there. 

 David's append is 4 years old now.
 4 years being an eternity in our IT world, and certainly in the zLinux
 world, is DASDtape with Amanda and z/OS DFHSM still a viable solution?
 Have the insights about file level backup changed since then? Are there
 other solutions or approaches?

The general idea is still the same -- to get a consistent backup without 
shutting down the Linux guest, you need something inside the Linux guest, and 
none of the tools outside a virtual machine (commercial OR open source) 
understands the disk format within the Linux minidisks. 

I would probably use Bacula (www.bacula.org) instead of Amanda these days, but 
essentially, nothing has really changed. 

 3°
 The VM pêrspective
 I'm not very acquainted (anymore) with the VM environment. Has the VM
 scene evolved in this file_level_backup area since then?

Not at all, unfortunately. The few vendors in this space just aren't doing 
anything other than minimal maintenance to keep their products running with new 
CP releases. 

If you use the open source tools like Amanda or Bacula, then giving a tape 
drive to the VM LPAR and sharing your tape robot is certainly a viable 
approach, and would save the unutterably painful process of setting up a 
hipersocket network between z/OS and the VM LPAR.

 4°
 The ECKD-LUN perspective
 Any papers, articles, experiences with going from ECKD mdisks towards FCP
 LUN's which can be backed up with TSM?
 Performance figures available comparing a ECKD solution with a LUN
 solution?

Snide remarks about TSM's general cluelessness in the mainframe space aside, 
FCP LUNs are very nice for apps that demand large data areas ( a few mod 54s). 
Performance has a lot to do with your hardware and how you configure the path 
management, switches, etc, so it's hard to say. 

In terms of backup, FCP LUNs in this scenario have all the good and bad points 
they have on any other platform, so if you have this setup for other reasons in 
your shop, it'll work just like it does on the other boxes, with roughly 
similar performance. 

 Performance figures available comparing a z/OS solution with a non-z/OS
 solution?
 Any stress testing done?

Key points are to avoid having to send the backup data over a real network 
(that seems to be the largest hurdle for file-level backup) and getting the 
data onto offline storage. 

If you can employ the in-box networks (vswitch, hipersocket, glan), that's a 
much better solution than physical Ethernet. If you do a non-z/OS solution, you 
will bottleneck on the transmission to the external backup server. Also plan to 
have a dedicated network interface for that purpose if you value your 
production traffic -- backups will swamp normal traffic easily. 

In terms of the offline storage, there are lots of factors, but the z/OS tape 
is usually a) paid for, and b) well managed. If you go off-z/OS, you have to 
invent a management solution and buy pretty much all new hardware. That 
hardware is generally cheap and fast, but the management is non-trivial, even 
with TSM or another commercial product. Often the management capability of 
DFSMS and the fact that you just don't have to worry about it once it's working 
pays for the offset in speed/capacity.

Drop me a note off-list if you want to go into more detail. 

-- db

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


Re: Adding a logical volume to a RedHat volume group

2008-07-31 Thread Bauer, Bobby (NIH/CIT) [E]
Thanks Mauro and Mark. No luck, went with the backups. I'll take this up
with RedHat

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474



-Original Message-
From: Mauro Souza [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2008 11:16 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Adding a logical volume to a RedHat volume group

You can take a look at /etc/lvm dir... There's a dir named backup and
another named archive, you could use those dirs.

So, let's restore it:
First of all, make a copy of the original /etc/lvm, just in case of
messing
things down
After that, bring the old configuration back to life using vgcfgrestore:
*vgcfgrestore -f /etc/lvm/backup/VolGroup00 VolGroup00*

Try to mount the VG, and see if it's all ok. If is, rejoice. If not,
well,
there's always a backup...

I agree with Mark... everything looks ok with your commands, looks like
a
bug. I always run a vgscan after extending a LVM, to update the metadata
cache, just in case, because a sysadmin don't seems to lose anything
being
paranoid.

Good luck, you'll need!

On Wed, Jul 30, 2008 at 11:34 PM, Mark Post [EMAIL PROTECTED] wrote:


 I don't think anyone would be able to give you a step-by-step set of
 instructions to fix it, since (in my experience) a lot of recovering
from
 things like this requires a lot of hmm, why don't we try... type
stuff,
 even when you think you know what you're doing.  About the only thing
I
 could suggest would be do an lvremove of the new LV, followed by a
pvremove
 of the new PV.


 Mark Post

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




--
Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.

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


Re: Hotplug agents

2008-07-31 Thread Neale Ferguson
Thanks. I added the class registration and the devices appeared.

Neale


On 7/31/08 1:06 AM, Christian Borntraeger [EMAIL PROTECTED] wrote:
 Yeah, right. I forgot. That was changed in 2006 or so. The devt was in struct
 class_device in older kernels.So you have to register the class device as
 well.

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


Re: File level backup of a z/Linux guest from z/OS

2008-07-31 Thread Romanowski, John (OFT)
Jan,
We've had good results using TSM's backup-archive client to backup/restore our 
Linux guests. Use it for ECKD and LUN-based guests. Our Linux guest's backups 
were simply added to the schedule of TSM backups of existing physical servers.  
We're fortunate to have a separate LAN dedicated to TSM backup/restore traffic.

Can't speak to performance comparisons with z/OS, but I've found being able to 
do nightly TSM incremental file level backups is far, far faster than taking 
image backups of a whole disk. 

 

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments.  Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.


-Original Message-

 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jan Vanbrabant
 Sent: Thursday, July 31, 2008 7:00 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: File level backup of a z/Linux guest from z/OS
 
   ... snip 

 4°
 The ECKD-LUN perspective
 Any papers, articles, experiences with going from ECKD mdisks towards FCP
 LUN's which can be backed up with TSM?
 Performance figures available comparing a ECKD solution with a LUN
 solution?
 
 Performance figures available comparing a z/OS solution with a non-z/OS
 solution?
 Any stress testing done?
 
 Regards,
 Jan

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


VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
I'm the VM guy not the LINUX guy, so be gentle.

I am trying to use VDISK for swap space for the first time and it doesn't seem 
to work.
These are the messages I get.


From SWAPGEN
 FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)

During the LINUX boot:

 ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  
 [1A..FAILED
  
 CHECKING ROOT FILE SYSTEM...FSCK 1.38 (30-JUN-2005)[/SBIN/FSCK.EXT3 (1) 
--

When LINUX finishes there is no active swap disk. 

Once LINUX is booted I can do swapon -a and it starts up. 


Any ideas?

Thanks
Tom

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread RPN01
What does fstab look like?

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 7/31/08 10:23 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 I'm the VM guy not the LINUX guy, so be gentle.

 I am trying to use VDISK for swap space for the first time and it doesn't seem
 to work.
 These are the messages I get.


 From SWAPGEN
  FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)

 During the LINUX boot:

  ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED
  CHECKING ROOT FILE SYSTEM...FSCK 1.38 (30-JUN-2005)[/SBIN/FSCK.EXT3 (1)
 --

 When LINUX finishes there is no active swap disk.

 Once LINUX is booted I can do swapon -a and it starts up.


 Any ideas?

 Thanks
 Tom

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
/dev/dasdb  swapswapsw  0   0
/dev/dasda1  /ext3   acl,user_xattr1 1
devpts   /dev/pts devpts mode=0620,gid=5   0 0
proc /procproc   defaults  0 0
sysfs/sys sysfs  noauto0 0

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
RPN01
Sent: Thursday, July 31, 2008 10:30 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


What does fstab look like?

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 7/31/08 10:23 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 I'm the VM guy not the LINUX guy, so be gentle.

 I am trying to use VDISK for swap space for the first time and it doesn't seem
 to work.
 These are the messages I get.


 From SWAPGEN
  FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)

 During the LINUX boot:

  ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED
  CHECKING ROOT FILE SYSTEM...FSCK 1.38 (30-JUN-2005)[/SBIN/FSCK.EXT3 (1)
 --

 When LINUX finishes there is no active swap disk.

 Once LINUX is booted I can do swapon -a and it starts up.


 Any ideas?

 Thanks
 Tom

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Adam Thornton

On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote:


/dev/dasdb  swapswapsw  0   0
/dev/dasda1  /ext3
acl,user_xattr1 1
devpts   /dev/pts devpts
mode=0620,gid=5   0 0
proc /procproc
defaults  0 0
sysfs/sys sysfs
noauto0 0


If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1.

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
Tried changing to /dev/dasdb1   ...
Still getting these messages..

FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE) 


ACTIVATING SWAP-DEVICES IN /ETC/FSTAB... 
 [1A..FAILED
   
  
ACTIVATING REMAINING SWAP-DEVICES IN /ETC/FSTAB...
 [1A..FAILED

and no swap space gets defined.



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Adam Thornton
Sent: Thursday, July 31, 2008 11:02 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3
 acl,user_xattr1 1
 devpts   /dev/pts devpts
 mode=0620,gid=5   0 0
 proc /procproc
 defaults  0 0
 sysfs/sys sysfs
 noauto0 0

If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1.

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread RPN01
Does the swap disk appear as /dev/dasdb? (cat /proc/dasd/devices)



On 7/31/08 10:48 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3   acl,user_xattr1 1
 devpts   /dev/pts devpts mode=0620,gid=5   0 0
 proc /procproc   defaults  0 0
 sysfs/sys sysfs  noauto0 0

 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 RPN01
 Sent: Thursday, July 31, 2008 10:30 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 What does fstab look like?

 --
 Robert P. Nix  Mayo Foundation.~.
 RO-OE-5-55 200 First Street SW/V\
 507-284-0844   Rochester, MN 55905   /( )\
 -^^-^^
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.




 On 7/31/08 10:23 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 I'm the VM guy not the LINUX guy, so be gentle.

 I am trying to use VDISK for swap space for the first time and it doesn't
 seem
 to work.
 These are the messages I get.


 From SWAPGEN
  FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)

 During the LINUX boot:

  ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED
  CHECKING ROOT FILE SYSTEM...FSCK 1.38 (30-JUN-2005)[/SBIN/FSCK.EXT3
 (1)
 --

 When LINUX finishes there is no active swap disk.

 Once LINUX is booted I can do swapon -a and it starts up.


 Any ideas?

 Thanks
 Tom

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread RPN01
From one of my systems, here's the contents of /proc/dasd/devices:

iwydzl03:/home/rpn01 # cat /proc/dasd/devices
0.0.0391(ECKD) at ( 94: 0) is dasda   : active at blocksize: 4096,
22500 blocks, 87 MB
0.0.0392(ECKD) at ( 94: 4) is dasdb   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0393(ECKD) at ( 94: 8) is dasdc   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0394(ECKD) at ( 94:12) is dasdd   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0395(ECKD) at ( 94:16) is dasde   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0396(ECKD) at ( 94:20) is dasdf   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0397(ECKD) at ( 94:24) is dasdg   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0398(ECKD) at ( 94:28) is dasdh   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0399(ECKD) at ( 94:32) is dasdi   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.039a(ECKD) at ( 94:36) is dasdj   : active at blocksize: 4096,
144 blocks, 5625 MB
0.0.07ff(FBA ) at ( 94:40) is dasdk   : active at blocksize: 512,
2097152 blocks, 1024 MB
iwydzl03:/home/rpn01 #

The last entry (0.0.7ff) ends up being /dev/dasdk. Using udev, entries for
each disk are made in the path /dev/disk/by-path directory such as follows:

iwydzl03:/dev/disk/by-path # ls
.   ccw-0.0.0395ccw-0.0.0396ccw-0.0.0397ccw-0.0.0398
ccw-0.0.0399ccw-0.0.039a   ccw-0.0.07ff
..  ccw-0.0.0395p1  ccw-0.0.0396p1  ccw-0.0.0397p1  ccw-0.0.0398p1
ccw-0.0.0399p1  ccw-0.0.039a1  ccw-0.0.07ff1
iwydzl03:/dev/disk/by-path #

(Sorry for the formatting, or lack thereof) The entry I'm interested in for
swap is ccw-0.0.07ff1 (the first partition of ccw device 07ff). This is used
in fstab, as so:

/dev/vg_system/lv_var /var reiserfs   acl,user_xattr
1 2
/dev/disk/by-path/ccw-0.0.07ff1 swapswapdefaults,pri=100  0 0
/dev/vg_system/lv_swap swap swap   defaults,pri=50
0 0
devpts   /dev/pts devpts mode=0620,gid=5   0
0

This allows me to access the swap without having to know what /dev/dasd?
Device it is, or be worried about it changing positions in the list.
Swapgen, used in a CMS profile which starts the boot process, makes sure
that the swap space is formatted.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 7/31/08 11:51 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 Tried changing to /dev/dasdb1   ...
 Still getting these messages..

 FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)


 ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 ACTIVATING REMAINING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 and no swap space gets defined.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 Adam Thornton
 Sent: Thursday, July 31, 2008 11:02 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3
 acl,user_xattr1 1
 devpts   /dev/pts devpts
 mode=0620,gid=5   0 0
 proc /procproc
 defaults  0 0
 sysfs/sys sysfs
 noauto0 0

 If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1.

 Adam

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


NFS server and mapping UID/GID from z/OS USS

2008-07-31 Thread John D Randles
Hi there is there an easy way to map USS UID/GID from z/OS USS to Linux 
accross an NFS mount point ? In older versions of NFS there was a 
map_static=map.file parameter where you could build your own static 
mapping table, but in NFSv4 it seems to have gone. We dont have a common 
LDAP or NIIS server for both systems at this point. Any help greatly 
appreciated. 

John Randles
email: [EMAIL PROTECTED]
American Express made the following annotations on Thu Jul 31 2008 11:03:24
--
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank you.

American Express a ajouté le commentaire suivant le Thu Jul 31 2008 11:03:24

Ce courrier et toute pièce jointe qu'il contient sont réservés au seul 
destinataire indiqué et peuvent renfermer des renseignements confidentiels et 
privilégiés. Si vous n'êtes pas le destinataire prévu, toute divulgation, 
duplication, utilisation ou distribution du courrier ou de toute pièce jointe 
est interdite. Si vous avez reçu cette communication par erreur, veuillez nous 
en aviser par courrier et détruire immédiatement le courrier et les pièces 
jointes. Merci. 
**
---


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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
Yes..
0.0.0151(FBA ) at ( 94: 4) is dasdb   : active at blocksize: 512, 
10 blocks, 48 MB

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
RPN01
Sent: Thursday, July 31, 2008 12:08 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


Does the swap disk appear as /dev/dasdb? (cat /proc/dasd/devices)



On 7/31/08 10:48 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3   acl,user_xattr1 1
 devpts   /dev/pts devpts mode=0620,gid=5   0 0
 proc /procproc   defaults  0 0
 sysfs/sys sysfs  noauto0 0

 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 RPN01
 Sent: Thursday, July 31, 2008 10:30 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 What does fstab look like?

 --
 Robert P. Nix  Mayo Foundation.~.
 RO-OE-5-55 200 First Street SW/V\
 507-284-0844   Rochester, MN 55905   /( )\
 -^^-^^
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.




 On 7/31/08 10:23 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 I'm the VM guy not the LINUX guy, so be gentle.

 I am trying to use VDISK for swap space for the first time and it doesn't
 seem
 to work.
 These are the messages I get.


 From SWAPGEN
  FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)

 During the LINUX boot:

  ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED
  CHECKING ROOT FILE SYSTEM...FSCK 1.38 (30-JUN-2005)[/SBIN/FSCK.EXT3
 (1)
 --

 When LINUX finishes there is no active swap disk.

 Once LINUX is booted I can do swapon -a and it starts up.


 Any ideas?

 Thanks
 Tom

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
I sort of understand what you are saying here, but I had to forward it to our 
LINUX guy and haven't heard back from him..

Has SWAPGEN ben updated recently? .. the version I have was from about MARCH of 
this year.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
RPN01
Sent: Thursday, July 31, 2008 12:24 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


From one of my systems, here's the contents of /proc/dasd/devices:

iwydzl03:/home/rpn01 # cat /proc/dasd/devices
0.0.0391(ECKD) at ( 94: 0) is dasda   : active at blocksize: 4096,
22500 blocks, 87 MB
0.0.0392(ECKD) at ( 94: 4) is dasdb   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0393(ECKD) at ( 94: 8) is dasdc   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0394(ECKD) at ( 94:12) is dasdd   : active at blocksize: 4096,
1802880 blocks, 7042 MB
0.0.0395(ECKD) at ( 94:16) is dasde   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0396(ECKD) at ( 94:20) is dasdf   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0397(ECKD) at ( 94:24) is dasdg   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0398(ECKD) at ( 94:28) is dasdh   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.0399(ECKD) at ( 94:32) is dasdi   : active at blocksize: 4096,
5896620 blocks, 23033 MB
0.0.039a(ECKD) at ( 94:36) is dasdj   : active at blocksize: 4096,
144 blocks, 5625 MB
0.0.07ff(FBA ) at ( 94:40) is dasdk   : active at blocksize: 512,
2097152 blocks, 1024 MB
iwydzl03:/home/rpn01 #

The last entry (0.0.7ff) ends up being /dev/dasdk. Using udev, entries for
each disk are made in the path /dev/disk/by-path directory such as follows:

iwydzl03:/dev/disk/by-path # ls
.   ccw-0.0.0395ccw-0.0.0396ccw-0.0.0397ccw-0.0.0398
ccw-0.0.0399ccw-0.0.039a   ccw-0.0.07ff
..  ccw-0.0.0395p1  ccw-0.0.0396p1  ccw-0.0.0397p1  ccw-0.0.0398p1
ccw-0.0.0399p1  ccw-0.0.039a1  ccw-0.0.07ff1
iwydzl03:/dev/disk/by-path #

(Sorry for the formatting, or lack thereof) The entry I'm interested in for
swap is ccw-0.0.07ff1 (the first partition of ccw device 07ff). This is used
in fstab, as so:

/dev/vg_system/lv_var /var reiserfs   acl,user_xattr
1 2
/dev/disk/by-path/ccw-0.0.07ff1 swapswapdefaults,pri=100  0 0
/dev/vg_system/lv_swap swap swap   defaults,pri=50
0 0
devpts   /dev/pts devpts mode=0620,gid=5   0
0

This allows me to access the swap without having to know what /dev/dasd?
Device it is, or be worried about it changing positions in the list.
Swapgen, used in a CMS profile which starts the boot process, makes sure
that the swap space is formatted.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 7/31/08 11:51 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 Tried changing to /dev/dasdb1   ...
 Still getting these messages..

 FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)


 ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 ACTIVATING REMAINING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 and no swap space gets defined.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 Adam Thornton
 Sent: Thursday, July 31, 2008 11:02 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3
 acl,user_xattr1 1
 devpts   /dev/pts devpts
 mode=0620,gid=5   0 0
 proc /procproc
 defaults  0 0
 sysfs/sys sysfs
 noauto0 0

 If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1.

 Adam

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


Instant VM:Operator windows for all your Linux guests

2008-07-31 Thread Romanowski, John (OFT)
Cross-posted to Linux-390 and IBMVM lists

If you're using CA's VM:Operator SECUSER/REVIEW windows to manage your
Linux guests, due to window overhead CA recommends you limit yourself to
windows for choice, critical or priority  Linux guests instead of
having windows for all your guests. 

You can get around that limitation and get instant, on-the-fly
SECUSER/REVIEW windows for all your guests by using my DSEC VM:Operator
macro.

Details are posted on the Metropolitan VM Users Association (MVMUA) web
site at,

http://www2.marist.edu/~mvmua/lotherp.html 
   
Thanks MVMUA,  Bill Munson and Cal Fisher  


MVMUA has lots of interesting VM and Linux presentations at
http://www2.marist.edu/~mvmua/mresource.html 


John Romanowski
z/VM - zLinux Support
NYS CIO/Office for Technology
(518)485-9555

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments.  Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread RPN01
The copy I have was updated on 4/16/08. It doesn't appear to have been
drastic changes, though.


On 7/31/08 1:41 PM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 I sort of understand what you are saying here, but I had to forward it to our
 LINUX guy and haven't heard back from him..

 Has SWAPGEN ben updated recently? .. the version I have was from about MARCH
 of this year.

 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 RPN01
 Sent: Thursday, July 31, 2008 12:24 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 From one of my systems, here's the contents of /proc/dasd/devices:

 iwydzl03:/home/rpn01 # cat /proc/dasd/devices
 0.0.0391(ECKD) at ( 94: 0) is dasda   : active at blocksize: 4096,
 22500 blocks, 87 MB
 0.0.0392(ECKD) at ( 94: 4) is dasdb   : active at blocksize: 4096,
 1802880 blocks, 7042 MB
 0.0.0393(ECKD) at ( 94: 8) is dasdc   : active at blocksize: 4096,
 1802880 blocks, 7042 MB
 0.0.0394(ECKD) at ( 94:12) is dasdd   : active at blocksize: 4096,
 1802880 blocks, 7042 MB
 0.0.0395(ECKD) at ( 94:16) is dasde   : active at blocksize: 4096,
 5896620 blocks, 23033 MB
 0.0.0396(ECKD) at ( 94:20) is dasdf   : active at blocksize: 4096,
 5896620 blocks, 23033 MB
 0.0.0397(ECKD) at ( 94:24) is dasdg   : active at blocksize: 4096,
 5896620 blocks, 23033 MB
 0.0.0398(ECKD) at ( 94:28) is dasdh   : active at blocksize: 4096,
 5896620 blocks, 23033 MB
 0.0.0399(ECKD) at ( 94:32) is dasdi   : active at blocksize: 4096,
 5896620 blocks, 23033 MB
 0.0.039a(ECKD) at ( 94:36) is dasdj   : active at blocksize: 4096,
 144 blocks, 5625 MB
 0.0.07ff(FBA ) at ( 94:40) is dasdk   : active at blocksize: 512,
 2097152 blocks, 1024 MB
 iwydzl03:/home/rpn01 #

 The last entry (0.0.7ff) ends up being /dev/dasdk. Using udev, entries for
 each disk are made in the path /dev/disk/by-path directory such as follows:

 iwydzl03:/dev/disk/by-path # ls
 .   ccw-0.0.0395ccw-0.0.0396ccw-0.0.0397ccw-0.0.0398
 ccw-0.0.0399ccw-0.0.039a   ccw-0.0.07ff
 ..  ccw-0.0.0395p1  ccw-0.0.0396p1  ccw-0.0.0397p1  ccw-0.0.0398p1
 ccw-0.0.0399p1  ccw-0.0.039a1  ccw-0.0.07ff1
 iwydzl03:/dev/disk/by-path #

 (Sorry for the formatting, or lack thereof) The entry I'm interested in for
 swap is ccw-0.0.07ff1 (the first partition of ccw device 07ff). This is used
 in fstab, as so:

 /dev/vg_system/lv_var /var reiserfs   acl,user_xattr
 1 2
 /dev/disk/by-path/ccw-0.0.07ff1 swapswapdefaults,pri=100  0 0
 /dev/vg_system/lv_swap swap swap   defaults,pri=50
 0 0
 devpts   /dev/pts devpts mode=0620,gid=5   0
 0

 This allows me to access the swap without having to know what /dev/dasd?
 Device it is, or be worried about it changing positions in the list.
 Swapgen, used in a CMS profile which starts the boot process, makes sure
 that the swap space is formatted.

 --
 Robert P. Nix  Mayo Foundation.~.
 RO-OE-5-55 200 First Street SW/V\
 507-284-0844   Rochester, MN 55905   /( )\
 -^^-^^
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.




 On 7/31/08 11:51 AM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 Tried changing to /dev/dasdb1   ...
 Still getting these messages..

 FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE)


 ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 ACTIVATING REMAINING SWAP-DEVICES IN /ETC/FSTAB...
  [1A..FAILED

 and no swap space gets defined.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
 Adam Thornton
 Sent: Thursday, July 31, 2008 11:02 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: VDISK-SWAP-SWAPGEN ???


 On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote:

 /dev/dasdb  swapswapsw  0   0
 /dev/dasda1  /ext3
 acl,user_xattr1 1
 devpts   /dev/pts devpts
 mode=0620,gid=5   0 0
 proc /procproc
 defaults  0 0
 sysfs/sys sysfs
 noauto0 0

 If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1.

 Adam

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

 --
 

Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Adam Thornton

On Jul 31, 2008, at 1:38 PM, Huegel, Thomas wrote:


Yes..
0.0.0151(FBA ) at ( 94: 4) is dasdb   : active at blocksize:
512, 10 blocks, 48 MB


Then just try swapping on /dev/dasdb1 rather than /dev/dasdb.  See it
that works.

swapon /dev/dasdb1

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Adam Thornton

Do you have dasd_fba_mod loaded?  How about dasd_diag_mod ?

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
Yes I have dasd_fba_mod loaded, I don't know about dasd_diag_mod..

Here are some more messages...

swapon -a   
 
Unable to find swap-space signature 
 
swapon: /dev/dasdb1: Invalid argument   
 
linmstr:~ # Jul 31 15:54:23 linmstr kernel: Unable to find swap-space signature 
 
swapon /dev/dasdb   
 
swapon /dev/dasdb   
 
Adding 49992k swap on /dev/dasdb.  Priority:-1 extents:1
 
Jul 31 15:55:19 linmstr kernel: Adding 49992k swap on /dev/dasdb.  Priority:-1 
extents:1 



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Adam Thornton
Sent: Thursday, July 31, 2008 3:26 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


Do you have dasd_fba_mod loaded?  How about dasd_diag_mod ?

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Adam Thornton

On Jul 31, 2008, at 3:59 PM, Huegel, Thomas wrote:


Yes I have dasd_fba_mod loaded, I don't know about dasd_diag_mod..

Here are some more messages...

swapon -a
Unable to find swap-space signature
swapon: /dev/dasdb1: Invalid argument
linmstr:~ # Jul 31 15:54:23 linmstr kernel: Unable to find swap-
space signature
swapon /dev/dasdb
swapon /dev/dasdb
Adding 49992k swap on /dev/dasdb.  Priority:-1 extents:1
Jul 31 15:55:19 linmstr kernel: Adding 49992k swap on /dev/dasdb.
Priority:-1 extents:1


Hmmm, OK.

So the swapspace signature IS on /dev/dasdb, and it swapped on OK.

So I think what's going on is that, for some reason, it's initially
trying to swap on before dasd_fba_mod is loaded.

So you probably need to build the ramdisk again with dasd_fba_mod in
it, or you can just do a late-in-the-boot-process swapon -a once the
device driver is loaded.

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Huegel, Thomas
Thanks Adam.. That makes total sense.
BTW as I was messing around I see I do have dasd_diag_mod, so I guess I could 
use the 'perfered' DIAG format in SWAPGEN and then swap to dasdb1 ..

This LINUX stuff is going to make the rest of my hair turn grey..

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Adam Thornton
Sent: Thursday, July 31, 2008 4:30 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VDISK-SWAP-SWAPGEN ???


On Jul 31, 2008, at 3:59 PM, Huegel, Thomas wrote:

 Yes I have dasd_fba_mod loaded, I don't know about dasd_diag_mod..

 Here are some more messages...

 swapon -a
 Unable to find swap-space signature
 swapon: /dev/dasdb1: Invalid argument
 linmstr:~ # Jul 31 15:54:23 linmstr kernel: Unable to find swap-
 space signature
 swapon /dev/dasdb
 swapon /dev/dasdb
 Adding 49992k swap on /dev/dasdb.  Priority:-1 extents:1
 Jul 31 15:55:19 linmstr kernel: Adding 49992k swap on /dev/dasdb.
 Priority:-1 extents:1

Hmmm, OK.

So the swapspace signature IS on /dev/dasdb, and it swapped on OK.

So I think what's going on is that, for some reason, it's initially
trying to swap on before dasd_fba_mod is loaded.

So you probably need to build the ramdisk again with dasd_fba_mod in
it, or you can just do a late-in-the-boot-process swapon -a once the
device driver is loaded.

Adam

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


Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Adam Thornton

On Jul 31, 2008, at 4:44 PM, Huegel, Thomas wrote:


Thanks Adam.. That makes total sense.
BTW as I was messing around I see I do have dasd_diag_mod, so I
guess I could use the 'perfered' DIAG format in SWAPGEN and then
swap to dasdb1 ..


*I* would.

But then, I like the diag driver, and no one else seems to (this
sentence might be called foreshadowing).

Adam

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


SHARE with us Velocity Software's 20th Anniversary

2008-07-31 Thread Barton Robinson

The SHARE meeting was graciously located in San Jose, California for Velocity 
Software's
20th Anniversary.   Velocity Software was incorporated 8/8/88 close by in 
Mountain View,
CA.  We have been a very active part of VM/XA, VM/ESA and now z/VM in the UPs, 
DOWNs and
now back UPs of the last 20 years.

As part of our anniversary present to ourselves, we celebrate our new z9 where 
you will
see the LinuxVM.ORG website start to run much faster, and our Linux performance 
management
demonstrations fly.  If you happen to speak German, you might notice we've 
expanded with
Velocity Software GmbH with the website found at VelocitySoftware.DE.

I would like to invite all friends of Velocity Software to an event thursday 
night, August
14th.  This event will include some of my favorite beverages and food at one of 
my
favorite wineries in the area.  Space is limited (by the winery), please see 
Cheri at our
booth at the EXPO area at SHARE for your ticket.  We will provide 
transportation.

--
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
begin:vcard
fn:Barton Robinson
n:Robinson;Barton
adr;dom:;;PO 390640;Mountain View;CA;94039-0640
email;internet:[EMAIL PROTECTED]
title:Sr. Architect
tel;work:650-964-8867
note:If you can't measure it, I'm just not interested
x-mozilla-html:FALSE
url:http://velocitysoftware.com
version:2.1
end:vcard



Re: VDISK-SWAP-SWAPGEN ???

2008-07-31 Thread Mark Post
 On Thu, Jul 31, 2008 at  4:59 PM, in message
[EMAIL PROTECTED],
Huegel, Thomas [EMAIL PROTECTED] wrote: 
 Yes I have dasd_fba_mod loaded, I don't know about dasd_diag_mod..
 
 Here are some more messages...
 
 swapon -a 
 Unable to find swap-space signature   
 swapon: /dev/dasdb1: Invalid argument
 linmstr:~ # Jul 31 15:54:23 linmstr kernel: Unable to find swap-space 
 signature  
 swapon /dev/dasdb
 swapon /dev/dasdb
 Adding 49992k swap on /dev/dasdb.  Priority:-1 extents:1  
 Jul 31 15:55:19 linmstr kernel: Adding 49992k swap on /dev/dasdb.  
 Priority:-1 extents:1 

This leads me back to my suspicion that your initrd doesn't have dasd_fba_mod 
included in it.  If you prefer to use DIAG mode (as I do), then you'll need to 
make sure that both dasd_fba_mod and dasd_diag_mod are included in your initrd, 
and then re-run zipl.


Mark Post

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


Re: z/Linux cloning

2008-07-31 Thread Evans, Kevin R
Robert,

Did you get my earlier email to you specifically about my interest in
this process?

Thanks,

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Friday, July 18, 2008 1:09 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: z/Linux cloning

We have a cloning process that is down to a single zVM command to create
a
new image, and we can create new images in about 8 minutes time from zVM
command to being able to log into the new image. The master images
occupy
disk space, but are not running at any time. Since the disk copies are
done
from zVM via Flashcopy, the cloning process is independent of filesystem
choice and works with LVM managed disks. As far as I know, we're the
only
ones using the process at the moment. If there's an interest, I can
share it
with you.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 7/18/08 10:36 AM, Quay, Jonathan (IHG) [EMAIL PROTECTED]
wrote:

 What's the current best practices cloning solution for z/Linux under
 z/VM?  We've used the one found in Running z/VM to Host Linux -
 Installation and Customization class documentation (the CLONER and
 CLONEDDR virtual machines).  Is there one that's newer, better or
better
 supported?  We have multiple CECs, z/Linux lpars, and both Suse and
 Redhat, if that makes a difference.  We don't anticipate creating
 hundreds of clones, maybe 20 or so in the first wave.




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


Re: z/Linux cloning

2008-07-31 Thread Stricklin, Raymond J
I also received a few requests for information about the process we
follow here. For those who wrote, I would like to let you know I'm
working on compiling it into a format useful for sharing and will follow
up with news once it's ready. We've had a number of activities keeping
us busy lately.

ok
r. 

-Original Message-
From: Evans, Kevin R [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2008 11:59 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: z/Linux cloning

Robert,

Did you get my earlier email to you specifically about my interest in
this process?

Thanks,

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Friday, July 18, 2008 1:09 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: z/Linux cloning

We have a cloning process that is down to a single zVM command to create
a new image, and we can create new images in about 8 minutes time from
zVM command to being able to log into the new image. The master images
occupy disk space, but are not running at any time. Since the disk
copies are done from zVM via Flashcopy, the cloning process is
independent of filesystem choice and works with LVM managed disks. As
far as I know, we're the only ones using the process at the moment. If
there's an interest, I can share it with you.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but  in practice, theory
and practice are different.




On 7/18/08 10:36 AM, Quay, Jonathan (IHG) [EMAIL PROTECTED]
wrote:

 What's the current best practices cloning solution for z/Linux under

 z/VM?  We've used the one found in Running z/VM to Host Linux - 
 Installation and Customization class documentation (the CLONER and 
 CLONEDDR virtual machines).  Is there one that's newer, better or
better
 supported?  We have multiple CECs, z/Linux lpars, and both Suse and 
 Redhat, if that makes a difference.  We don't anticipate creating 
 hundreds of clones, maybe 20 or so in the first wave.




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