Re: Question on WWPN WP

2014-01-10 Thread Richard Troth
Our issue is that z/VM and the zLinux guests have to be up and the npiv channel logged in before the new NPIV WWPN can be zoned from the SAN side. I've heard this before and am not sure it's strictly true. At least this is my understanding with EMC storage. The server side (whether z/VM or

Re: Yast - x app

2013-12-19 Thread Richard Troth
If you're able to run 'xclock' then you have an X server on the workstation end, so that's good. YaST runs as root, and it's often tricky to convey X authority from non-root. (This is assuming that you 'su' or 'sudo' which I truly hope you're doing.) If you connect as root, then SSH, and you

Re: Mirroring and recovering LVM volumes

2013-12-17 Thread Richard Troth
I recommend that you follow the UUIDs and let LVM do the hard part for you. Each PV in a VG has a unique unit ID. In practice, they truly are unique. Think of it like a label, but better. The logical volume manager finds what meta-data it needs on each PV to know what VG it belongs to and what

Re: defining zfcp devices on SLES11

2013-12-09 Thread Richard Troth
Karl -- If you know the LUNS and (especially) the storage WWPNs then set things up using /sbin/zfcp_host_configure and /sbin/zfcp_disk_configure If the SAN volumes must be online early then you'll need to re-cut your initial RAM disk with 'mkinitrd' after defining the

Re: Thoughts on multiple certificates for Apache host

2013-11-26 Thread Richard Troth
On Tue, Nov 26, 2013 at 3:58 PM, Martha McConaghy u...@vm.marist.edu wrote: Certs for securing connections have always been a black art to me. So, I have a feeling that a few of you on this list will probably have some good ideas for us. Black art ... fair assessment. But rest easy; just pay

Re: Multipath/zFCP problem

2013-11-20 Thread Richard Troth
I recommend that you use the same FCP adapters for the new LUN. That way, your (NPIV or not) WWPNs for the guest are unique to that guest regardless how many LUNs it gets. If you add another set of FCP adapters for each LUN, then you'll have to zone and mask each new LUN to a different set of

Re: Multipath/zFCP problem

2013-11-20 Thread Richard Troth
and 3000. I tried to define LUN 1 on them in addition to LUN 0. It just won't take. Is there some parm I need to set instead of the defaults to make it work? Martha On Wed, 20 Nov 2013 11:55:57 -0500 Richard Troth said: I recommend that you use the same FCP adapters for the new LUN. That way

Re: Activate XDM and VNC

2013-11-11 Thread Richard Troth
You do NOT need a formal graphical logon for to use VNC. By coincidence, Sir Santa railed against passwords in his blog last week, and graphical signon typically means yet more passwords. Counter productive. Larry is right that you'll need core X windows support, but that should have been drawn

Re: Seeing a lot of scale_rt_power messages

2013-10-23 Thread Richard Troth
I haven't seen it that I recall, but a Google search suggests that it comes from load balancing when you're running tickless. scale_rt_power: clock:3806a691fbdb1 age:3806a4e60fe00, avg:5d4b8d2f The scheduler is trying to tell you something (because the scale_rt_power() function is in the

Re: OT? Why restrict accesses to the locate data base file?

2013-09-30 Thread Richard Troth
Good question. One good answer is: allow it to respect the bits on restricted directories. Notice that directories require the execute bit. Here's why: execute on a directory means searchable. With read, you can list a directory. But you can't access files in it without execute. A directory

Re: - Linux on z

2013-08-06 Thread Richard Troth
On Tue, Aug 6, 2013 at 8:29 AM, Jim Thomas j...@thethomasresidence.us wrote: Could anybody tell / direct and or advise me, on what that most used flavor of **nix is on z ??. It's going to depend on where you are on the curve and what your workload is (or will be). If possible, try two or more

Re: 32-bit vs. 64-bit performance resource consumption?

2013-03-27 Thread Richard Troth
From a life-cycle management perspective, do what David said and go 64-bit. From a performance perspective, build both and MEASURE the results. (Of course, you'll be running on a 64-bit kernel in most cases, so getting a pure sample will be tricky.) On Wed, Mar 27, 2013 at 10:37 AM, Andrew

Re: Issues using VMUR

2013-03-04 Thread Richard Troth
Scott -- You probably just need to define the virtual card reader. It's not surprising that a Linux guest would be profiled without one. vmcp def rdr 00c Then retry the rest of your VMUR work. On Mon, Mar 4, 2013 at 5:29 PM, Shumate, Scott scshum...@bbandt.com wrote: Hi everyone,

Re: Who's using execute in place?

2013-02-12 Thread Richard Troth
Thanks for asking, Carsten. I would expect, without samples to cite, that DCSS itself is often used, XIP less so. In my own experience, the lack of interest in XIP follows lack of interest in shared R/O filesystems of any type. (XIP is technically just as easy to maintain, if less well

Re: Convert from 3390 to 9336?

2013-01-29 Thread Richard Troth
On Tue, Jan 29, 2013 at 12:03 PM, karlkings...@ongov.net wrote: Has anybody done a conversion to get from CKD DASD to FBA DASD? Yes. At some point, we're looking to convert our CKD based linux machines to FBA. Good! Can I use the linux DD command to do this? Yes and no. You can use 'dd'

Re: Speed of BASH script vs. Python vs. Perl vs. compiled

2013-01-29 Thread Richard Troth
Shell is a write-only language. (that's an opinion) What I mean is, maintaining applications written in shell, even BASH, is *hard*. However ... What is the extent and life of this script? If the purpose is to wrap-up a number of other programs, then use a shell. I agree with Jon. You're

Re: Your postings on Linux-390

2013-01-28 Thread Richard Troth
friends -- Sincere apologies for blank messages and other strangeness and all this recent noise. Tom Kennelly, Rich Smrcina, Dennis Andrews (maybe others) pointed out that some of my posts to this list show up blank. The bad behavior is seen when I post with Thunderbird+Enigmail and people view

Re: lvcreate succeeds but no /dev/mapper device

2012-10-22 Thread Richard Troth
Progress - I'm working with Steffen off-line. There well may be a bug, but as a workaround I am working with the devices (e.g. mpatha) rather than the first partition of each device (mpathap1). With that change, the new LV is available immediately. ... I recommend not partitioning as a

Re: porting kicks

2012-08-07 Thread Richard Troth
Hi, Mike, -- I believe I have heard of your work before. (1) first, does my quest seem appropriate for this list? and if so, my first question: Since A: you're porting to Linux and B: zLinux runs on mainframe HW (and CISC runs on mainframe HW), it would seem appropriate, yes. (2) TSO CMS

Re: z/Linux and z/OS

2012-07-26 Thread Richard Troth
Hope this is the right place to ask this question. Please pardon the intrusion if I should be posting this someplace else. You've come to the right list. Welcome to the party! Our management is considering the acquisition of a new z114 sandbox system primarily for testing new hardware

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Richard Troth
I suspect you may be confusing sftp with ftps. sftp is in fact another ssh client, and also can do public/private key authentication just as ssh and scp. [sigh] Not the first time. The good news then is that use of SSH keys is all that much easier for Eddie's scenario. ftps is another

Re: Running SecureFTP in background mode using perl expect

2012-07-12 Thread Richard Troth
Eddie -- You might have an easier time with SCP than SFTP. SCP uses SSH under the covers, which in turn can use public/private keys instead of passwords. The pass phrase for the secret key is processed on the *client* side, so there is no need to convey it in the transaction. (And there are

Re: Linux on zSeries Presentation/Video

2012-06-25 Thread Richard Troth
There will be several presentations at the VM and Linux Workshop this week which discuss specific aspects of Linux on mainframes. There will be some presentations at the workshop which will be general. I do not believe the presentations will be recorded, but most of the presenters will make

Re: Run NTP on zLinux or not?

2012-06-04 Thread Richard Troth
Recommendation leans toward no, but is not firm. Back before we had STP, I used to say no, then changed my story to yes, run it. Lately not so sure. 6 or 7 or more years ago, the point was ... dozens or hundreds of Linux guests ... do you want them all running NTP? At first, we said no way!

Re: mounting error in LVM install SLES 11 SP2

2012-05-23 Thread Richard Troth
So ... a lot of the stuff has been done. I'm not following the proposed layout. Where is that EXT3 partition mounted? /boot? What is the backing store for the system volume group? Is it online in a form YaST will recognize? (A bunch of DASD partitions? Were they also 'dasdfmt'?) SSH will

Re: SLES 11 SP1 msg: kernel: scsi: host 0 channel 0 id 0 lun2 has a LUN larger than allowed by the host adapter

2012-05-10 Thread Richard Troth
On Wed, May 9, 2012 at 6:11 PM, Mike Walter mike.wal...@aonhewitt.com wrote: ... 11:12:11 scsi: host 0 channel 0 id 0 lun2 has a LUN larger than allowed by the host adapter May  7 11:12:11 L98ZAT11 kernel: scsi: host 0 channel 0 id 0 lun2 has a LUN larger than allowed by the host adapter

Re: SSH don't close session on logout

2012-04-24 Thread Richard Troth
I run into this all the time. But I can't tell from your config and description if it is exactly the same. What programs did you run (or what services did you start) before exiting? I don't suspect the TCPKeepALive. (Since you're trying to drop back to the intermediate host.) More likely,

Re: Rexx/Regina on Linux

2012-04-19 Thread Richard Troth
I believe 'rxqueue' will let you feed the Regina stack to a Unix program. But I have never used it. I recommend what Aria said: put the stuff in a file then feed that to 'mail'. -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Thu, Apr 19, 2012 at 4:10 PM, Scully, William

Re: Linux router

2012-04-13 Thread Richard Troth
Hi, Martha, -- Maybe set the default route on the inside guests? But also, with OSA, you may need to tickle it into playing nice. Alan would know more, but am guessing you either need to explicitly set it to allow forwarding (which PRIROUTER may affect) or run it in layer 2 mode. I've used Linux

Re: zLinux guest cpu question

2012-04-06 Thread Richard Troth
On Fri, Apr 6, 2012 at 8:16 AM, Shane G ibm-m...@tpg.com.au wrote: heresy Why not indeed. Hipervisors are becoming a commodity item. IBM (and its ISVs) has fought rear-guard actions on (costly) proprietary options in the past. And lost. Anyone remember SNA ?. Token-ring ?. Maybe IBM were

Re: Extending a DASD partition

2012-03-28 Thread Richard Troth
On Wed, Mar 28, 2012 at 10:50 AM, Florian Bilek florian.bi...@gmail.com wrote: Is there a tool that would allow to increase the partition size of a DASD partition? Assuming CDL, the following sequence should work. (Is untested, but similar to steps I have run previously.) from the CMS side

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Richard Troth
You probably need to re-stamp the initial RAM disk to know about the new drive. Barring other requirements, that would be ... mkinitrd zipl -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Mon, Mar 19, 2012 at 9:36 AM, Mark Pace pacemainl...@gmail.com

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Richard Troth
Looks like Scott gave you the summary: format the disk (not needed for EDEV or SAN) and partition it (also not needed for EDEV or SAN) 'pvcreate' 'vgextend' 'lvextend' (which should be easy if LV is not striped) 'resize2fs' The last step can be

Re: ZVM IPL Error

2012-03-07 Thread Richard Troth
Right. VM didn't finish shutting down. Would be good to find out what was holding it back. Meanwhile ... So you are in a recovery situation. Since VM was still running when you hit the switch (clicked the load button), it will do its best to recovery spool files from checkpoint. But it tells you

Re: X11 Error

2012-02-23 Thread Richard Troth
Looks like you did not start the X server on the CYGWIN side. If you had, it would have created the requisite content under /tmp. -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Thu, Feb 23, 2012 at 9:22 AM, Dazzo, Matt mda...@pch.com wrote: I installed cygwin on my

Re: X11 Error

2012-02-23 Thread Richard Troth
Everything John said is spot-on. However, you can launch CYGWIN/X without the system tray icon. I usually ran it that way: The goal was X is always there and I liked having one less thingy in the systray. Used to do this all the time, Matt. But that was when I had to use Windows as my primary

Re: LVM mount points

2012-02-23 Thread Richard Troth
Wow ... there is no quick answer for this. Also, it doesn't matter if LVM is used or discrete disks (or minidisks). Your question is actually just Unix FS management. LVM does make enlargement easier. Commonly, /var holds service content. WebSphere is one of those packages which unfortunately

Re: Required packages on a zLinux server running Oracle vs Put everything on

2011-12-17 Thread Richard Troth
Wow ... many replies to what sounds like a simple question. You should look further ahead. Will this system ever run anything else? (ie: besides Oracle) Marcy's point about the security patching is spot on. Keeping up with actual threats is tough enough, and if your organization is big enough

Re: ext3...

2011-12-15 Thread Richard Troth
Your #2 and #7 and #8 are all normal. The rest has me worried. Something bad is happening with the underlying storage. My replies peppered throughout: This is not a z/Linux or z/VM question but Let me ask you guys something about ext3... I guess that most of you are using it in production...

Re: cmsfs-fuse: mmap failed: Cannot allocate memory

2011-12-14 Thread Richard Troth
I suggest two things: First, draw a line (this would be a somewhat arbitrary number). If the disk is less than (for example) 256M (roughly 350 cyls of 3390), then continue to use mmap/memcpy. If larger, then switch to pread/pwrite. Second, provide a mount option so that the user can always

Re: Porting old application- numeric keypad

2011-12-14 Thread Richard Troth
- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Richard Troth Sent: Wednesday, November 16, 2011 1:36 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Porting old application- numeric keypad You will want to find out if HOD was/is used when they run this against HP-UX

Re: cmsfs-fuse: mmap failed: Cannot allocate memory

2011-12-02 Thread Richard Troth
Is that really a 21GB CMS disk? On Dec 2, 2011 10:27 AM, Rogério Soares rogerio.soa...@gmail.com wrote: Hello List, someone got this error before? TIA. capp101:~ # cmsfs-fuse -t /dev/dasdc /linmon cmsfs-fuse: mmap failed: Cannot allocate memory /dev/dasdc is a minidisk

Re: cmsfs-fuse: mmap failed: Cannot allocate memory

2011-12-02 Thread Richard Troth
(Butting in for David just to be annoying!) I bet he means FUSE is taxing the shared environment by requiring such a large chunk of memory to be mapped. Even if sparse, tables for managing it will be needed. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Fri, Dec

Re: NATing on z/VM

2011-11-27 Thread Richard Troth
The most obvious solution is to run one zLinux guest straddling internal and external, forwarding enabled, and tell the others it is their router. If you need to generate the internal addresses, run DHCP server on it (or on another internal guest). You'll need layer 2 for DHCP traffic. NAT on

Re: NATing on z/VM

2011-11-27 Thread Richard Troth
... I should add that I don't personally recommend DHCP in a z/VM context. Better to have the addresses pre-assigned to each guest. (You'd want to do some prep of your virt MAC addresses. Might as well cut to the chase, even relegate the MAC addrs to VM and save that effort.) On z/VM there are

Re: Porting old application- numeric keypad

2011-11-18 Thread Richard Troth
. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Richard Troth Sent: Wednesday, November 16, 2011 1:36 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Porting old application- numeric keypad You will want to find out if HOD was/is used when they run

Re: Porting old application- numeric keypad

2011-11-16 Thread Richard Troth
You will want to find out if HOD was/is used when they run this against HP-UX system(s). It has been a while since I worked on this kind of thing. I was dismayed to find that most of the termcap/curses support is for *output*. For input, more of the heavy lifting gets dumped on the apps

Re: mvsdasd

2011-11-08 Thread Richard Troth
Stop calling this a security problem. (but see below about the conf file) The security point for virtual machines is devices. If the device is available, then whatever the guest does is okay by definition. Just because the current crop of security weebles don't get it does not a true problem

Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Richard Troth
You found the module, but is it loaded? modpobe tape-3590 Or look for it with 'lsmod | grep tape'. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Sat, Nov 5, 2011 at 18:17, Edward Jaffe edja...@phoenixsoftware.com wrote: On 11/5/2011 2:57 PM, Philipp

Re: Accessing Old Linux System After DASD Move

2011-11-03 Thread Richard Troth
First, let's hope these old Linux systems used EXT2 (or EXT3, which is compatible), if you need to read the content. Linux supports a wide range of filesystem types. USS will not be able to use the Linux volumes ... at all. z/OS *may* be able to read the partitions on the Linux volumes (usually

Re: Odd swap space behavior

2011-11-02 Thread Richard Troth
You might consider a manual 'swapoff' (then 'swapon') of one large swap volume after that crunch time. In any case, this is one where you should reconsider how much VDISK to use. Obviously, there's a lot happening when it gets that end-of-month workload, so remember to include CPU and other I/O

Re: Newbie question on lvm

2011-10-05 Thread Richard Troth
Hi, Scott, -- I believe you want to enlarge the LV first, then resize the filesystem it holds. Rough example ... lvexdent /dev/some/thing ext2online /dev/some/thing I usually do this offline. (And 'resize2fs', the offline resizer, demands that I run 'e2fsck -f' first.) -- R;  

Re: Newbie question on lvm

2011-10-05 Thread Richard Troth
Typo there ... should be 'lvextend'. Sorry. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Oct 5, 2011 at 17:26, Richard Troth vmcow...@gmail.com wrote: Hi, Scott, -- I believe you want to enlarge the LV first, then resize the filesystem it holds.  Rough

Re: RH NFS Server

2011-09-23 Thread Richard Troth
= 046A, REASON CODE = 6E2A1003 -Original Message- From: Richard Troth [mailto:vmcow...@gmail.com] Sent: Wednesday, September 21, 2011 3:16 PM To: Dazzo, Matt Cc: Linux on 390 Port Subject: Re: RH NFS Server Hang in there. You will get this. Many of us can relate to the double whammy

Re: RH NFS Server

2011-09-22 Thread Richard Troth
ASYNCHRONOUS MOUNT FAILED FOR FILE SYSTEM LN.NFSTEST. BPXF028I FILE SYSTEM LN.NFSTEST WAS 592 NOT MOUNTED.  RETURN CODE = 046A, REASON CODE = 6E2A1003 -Original Message- From: Richard Troth [mailto:vmcow...@gmail.com] Sent: Wednesday, September 21, 2011 3:16 PM To: Dazzo, Matt Cc

Re: RH NFS Server

2011-09-21 Thread Richard Troth
= 046A, REASON CODE = 6E2A1003 046a= No route to host 6e2a= unable to find this, might mean ' Verify that the operation was performed on a   physical file system that supports the operation' Any help is greatly appreciated, thanks Matt -Original Message- From: Richard Troth

Re: Duplicate rpm packages s390 - s390x, can one of them be removed?

2011-09-20 Thread Richard Troth
Check the contents of each package. If the package supplies libraries, then DO NOT remove them because other things may depend on them. If the package supplies commands, you may have difficulty removing. (But re-install of preferred arch may suffice.) In the case of libraries, it is normal to

Re: Duplicate rpm packages s390 - s390x, can one of them be removed?

2011-09-20 Thread Richard Troth
. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Tue, Sep 20, 2011 at 12:14, R P Herrold herr...@owlriver.com wrote: On Tue, 20 Sep 2011, Richard Troth wrote: In the case of libraries, it is normal to have both architectures installed.  Desirable even.  So

Re: RH NFS Server

2011-09-20 Thread Richard Troth
I don't know z/OS well enough to say if FILESYSTEM(SYS1.OMVS.NFSTEST) is required. Does not make sense that you would need a local empty ZFS filesystem. The filesystem of interest is a sub-directory of a remote filesystem. (Or could be the entire remote filesystem.) So at first blush, I would

Re: RSH RPM

2011-09-19 Thread Richard Troth
With all respect to Mark and Alan, David is correct. RSH is the only consistent supported means of automation between CMS (or TSO) and Linux. I put a lot of effort into cobbling up other tools to automate Linux-to-CMS, but in-house hacks are held in low esteem where vendor venues are more

Re: Found duplicate PV in Guest Linux SUSE 10

2011-09-07 Thread Richard Troth
You said you have no overlaps, but what Mark Post said still applies. Was a minidisk copied (enlarged? moved?) and the original space not wiped clean? If so, then any PV signature would still be present and would appear on the (new to Linux) device. I am suspicious of your 400 minidisk

Re: Adding users to RedHat 5.4

2011-09-07 Thread Richard Troth
If I understand the requirement, then you probably want to create normal users and simply add them to the /etc/sudoers file. That will give them superuser authority via 'sudo', which is generally the better way to do it. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/

Re: Question - listserv mail management

2011-08-30 Thread Richard Troth
My wife uses the TBird filter Rich suggests. A colleague uses GMail to the same effect. See comments by Scott and Neale for reliable ways to identify the messages. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/

Re: Xterm, Cygwin, etc

2011-08-02 Thread Richard Troth
As I already hinted, I don't see a problem with X security per se. You are probably seeing or hearing about security issues because of cases where people disable X security. For decades, X has had its own crude 'xauth' control. The trick is to prevent hijacks of that, protection which is

Re: Xterm, Cygwin, etc

2011-08-01 Thread Richard Troth
Hi, Steve, -- Actually, there is not necessarily a security problem with 'xterm'. But for the moment, I will defer that discussion. For remote desktop, I use VNC heavily. You get good security if you lock down VNC where it runs (ie: set it to reject remote connections) and then connect via

Re: is ext4 ready for production use?

2011-06-28 Thread Richard Troth
Is manadatory on Fedora that I have tried, so I would second what Shane said, that it is beyond expermental. I avoid it for one reason: downward compatibility. I share filesystems ... a lot. But if your shop is comprized of systems which all have EXT4 capability, then go for it. Dunno about

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Richard Troth
Is the volume group of the damaged system the same as the volume group of the repairing system? -- R; On Jun 25, 2011 5:49 PM, Donald Russell russell@gmail.com wrote: Thanks Scott There are other files systems that also use LVM, but I know the root file system is all on the 100

Re: [Q] Memory sharing of Linux servers on between different z/VMs?

2011-06-22 Thread Richard Troth
Jerry -- What John said. (Even though he is evidently stoned at the moment.) The name DCSS is a little confusing if you are new to Linux-on-z. But it is nothing more or less than a chunk of memory shared by several virtual machines. Best use for Linux is to stuff filesystems in it. If you

Re: 32 bit and 64 bit libraries of the same product

2011-06-19 Thread Richard Troth
John -- As z professionals, we understand that it's a 32-bit system with 31-bit addressing. Personally, I tire of having to explain the magical use s/390 makes of that high order bit. Also, in this context, 31/64 lib support on z is quite like 32/64 lib support on InTEL and AMD. So ... I got

Re: Open Xchange

2011-06-16 Thread Richard Troth
Berry -- I cannot help you get OX running, but I would suggest that if you run out of options ... consider a mixed approach. YOU MAY be well served by a combination of standard servers for email, contacts, calendar, and files. Many services are already provided by stock packages (programs you

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Richard Troth
I am not sure what you are asking. Linux/390 is an ASCII system, just like Solaris (SunOS). Linux on the mainframe needs no translation when talking to Solaris (on any hardware). Solaris on the mainframe needs no translation when talking to Linux (on any hardware). Linux/390 (and Solaris on z)

Re: Networking Question

2011-06-10 Thread Richard Troth
What you describe is easy to do and is common practice for some network services. Even without a load balancer, you can have hostname www point to two different machines. I would do it with multiple A records in the DNS. Protocols like HTTP carry out a complete transaction nicely that way.

Re: Why does zLinux die on a bad fstab entry?

2011-06-09 Thread Richard Troth
If /etc/fstab has markers which say this is important, then it dies. That is common for Unix/Linux/POSIX. Specifically, if you have the troubled FS set to be checked (last column something other than 0), and the check fails, the system will fall back to maint mode. Filesystems which fail to

Re: bad entry in fstab

2011-06-02 Thread Richard Troth
I made a typo when I added a new logical volume to fstab, ... It's a common and easy mistake. Here's a tip ... before rebooting, if there have been changes to /etc/fstab, then do this: mount -a It will cause the system to [re]examine /etc/fstab and try to mount everything which would

Re: 32 bit and 64 bit libraries of the same product

2011-05-25 Thread Richard Troth
Yep. What Mark said. To try and boost your comfort level, know that many of us regularly load both versions of many libraries. I have yet to experience any problem from that because the 64-bit flavor is always reliably addressed along a different file path. 32-bit programs run just fine on a

Re: GPG Key Ring Generation on zLinux Fails

2011-05-20 Thread Richard Troth
Try creating a few large temporary files with random content. Then change them up (gzip, then gunzip, stuff like that). The disk activity is one way to generate entropy. Better, configure GPG to use the crypto hardware. (Assuming you do have a crypto card.) I used to know how to do this with

Re: Question from our Linux Support Person

2011-04-11 Thread Richard Troth
Jim -- What I think I hear is that he wants to install an additional software package to the already installed and running Linux system, yes? (As opposed to performing an installation of Linux itself.) So ... he probably has a Linux desktop. If so, then he should ssh -X linuxonz and

Re: read-only

2011-04-07 Thread Richard Troth
If you're trying to use coalesced SAN volumes (and I believe you said that you are), then you want to INclude block devices under /dev/mapper and EXclude the rest. Something like ... filter = [ a|/dev/mapper/.*|, r|.*| ] Someone should confirm that I have the syntax correct. I can

Re: read-only

2011-04-06 Thread Richard Troth
Using multipath ... good! And creating PVs via the coalesced devices (under /dev/mapper) ... excellent! Be sure to also exclude /dev/sd* from LVM scanning so that you don't accidentally hit the individual paths directly. There is exclusion capability in /etc/lvm/lvm.conf. See the filter =

Re: Security question about having zLinux web servers out in DMZ.

2011-03-30 Thread Richard Troth
Mark is right. It's not a valid restriction. speculation The rule was likely put in place by someone with only MVS mainframe knowledge. /speculation Even so, there are shops which had mainframes on the public internet 15+ years ago and there are shops *today* with mainframes on the public

Re: maximum stripes in a logical volume

2011-03-22 Thread Richard Troth
I like Frank's point #4, create linear logical volumes. Consider why you're striping in the first place. Also remember that the storage subsystem be striping its physical platters. Is it? Letting the storage subsystem do it's thing is usually good advice. As Frank mentioned, you could get

Re: Where is kernel loaded in memory?

2011-03-18 Thread Richard Troth
You get a double benefit from XIP. Not only is the content shared by all guests (so if just one guest is using it, CP has already paged it in), but from the Linux perspective it is point and shoot. (That's why they call it execute in place. But you knew that.) Ordinarily, programs have to be

Re: Where is kernel loaded in memory?

2011-03-18 Thread Richard Troth
://www.velocitysoftware.com/ On Fri, Mar 18, 2011 at 08:57, Richard Troth vmcow...@gmail.com wrote: You get a double benefit from XIP.  Not only is the content shared by all guests (so if just one guest is using it, CP has already paged it in), but from the Linux perspective it is point and shoot.  (That's

Re: Where is kernel loaded in memory?

2011-03-17 Thread Richard Troth
Originally, the kernel loaded at real addr 64k. That is the default for Linux on most platforms. But you could change that, and for 1M alignment, some do so on S/390. Going with mapped memory, it sounds like absolute zero is the virtual pref for kernel space. Cool. Easily handled in all virt

Re: cleaning up /tmp

2011-03-11 Thread Richard Troth
Many Linux installations use tmpfs for /tmp. Personally, I do that as a rule. (All rules are subject to exception, and I do that too.) The advantage of tmpfs is that it magically cleans up every time you reboot. You can get the same effect from explicit deletion of /tmp contents when the

Re: cleaning up /tmp

2011-03-11 Thread Richard Troth
Mack said: You might also note that according to the FHS, /tmp is only supposed to be used by system processes. User-level processes are supposed to use /var/tmp. But of course, many programs violate that. Still, you might want to be cleaning up both directories. Yes ... keep an eye on

Re: Cloning question for zLinux

2011-03-09 Thread Richard Troth
Gary -- There is nothing in the kernel that cares if two disks have identical content unless you mount by label, which you did not. (And I am counting PV stamps as labels.) I gotta wonder if your second 'vmcp link' acquired a RO link instead of a RW link? You were right to use the mr token,

Re: Cloning question for zLinux

2011-03-09 Thread Richard Troth
Oh ... yeah ... she's right (of course). Did userid change from the first to the second? Guessing it did, but if it did not ... that would explain the problem. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Mar 9, 2011 at 13:18, Marcy Cortes

Re: Cloning question for zLinux

2011-03-09 Thread Richard Troth
I don't know what cloning process you're using, but if it is a shell script and if it uses hard-coded names for its work files ... just a guess. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Mar 9, 2011 at 13:02, Gary Detro de...@us.ibm.com wrote: I am

Re: EDEV FBA disks and Cloning

2011-03-02 Thread Richard Troth
Hi, Craig, -- For FBA, you are correct to dispense with 'dasdfmt'. (Will detail that in a following note.) You still need to stamp a bootstrap onto the FBA disk, and the bootstrap is different for FBA than for CKD. ... We've altered the script to identify the FBA devices, format them

Re: EDEV FBA disks and Cloning

2011-03-02 Thread Richard Troth
There is a lot of confusion about 'dasdfmt' versus 'mkfs'. If you already know the difference, please excuse this note. The water is muddier for mainframers because in z/OS land the concept of filesystem and volume is blurred. z/OS uses the low level structure (tracks, blocks, records, even

Re: disk not in z/OS format

2011-02-15 Thread Richard Troth
Sorry ... you did not indicate, and I failed to ask, so I presumed you're running on VM. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Tue, Feb 15, 2011 at 19:00, Daniel Tate daniel.t...@gmail.com wrote: We are continually having a problem when it comes time in

Re: disk not in z/OS format

2011-02-15 Thread Richard Troth
If you don't need z/OS to access the disks, then your best bet is probably CMS RESERVED. You would have to CMS FORMAT them and then RESERVE them before booting Linux. Given a raft of disks which have already been thusly processed, DO NOT run 'dasdfmt' on them. You don't even need 'fdasd'.

latest info for NORD Linux

2011-01-12 Thread Richard Troth
This is an overdue update about NORD Linux. Belated Merry Christmas to you all! I introduced NORD Linux almost a year ago on the VM discussion list. Its purpose is to assemble a minimalist system for use in service virtual machines. It is inspired by the SVMs which have been used on VM for

Re: ECKD driver vs DIAG driver

2011-01-10 Thread Richard Troth
. -- R;   Rick Troth Velocity Software http://www.velocitysoftware.com/ On Mon, Jan 10, 2011 at 08:25, Peter Oberparleiter ober...@linux.vnet.ibm.com wrote: On 04.01.2011 16:02, Richard Troth wrote: Mark is correct:  one automagically created partition.  Worse, there is no 'fdasd' or 'fdisk

Re: ECKD driver vs DIAG driver

2011-01-07 Thread Richard Troth
://www.velocitysoftware.com/ On Thu, Jan 6, 2011 at 16:47, Stephen Powell zlinux...@wowway.com wrote: On Thu, 06 Jan 2011 16:10:36 -0500 (EST), Richard Troth wrote: The problem is that one cannot boot from an unpartitioned CKD disk (LDL) even though one can boot from an unpartitioned FBA disk. Partition tables

Re: ECKD driver vs DIAG driver

2011-01-06 Thread Richard Troth
In theory, we could mangle the IPL code into the first 512 bytes of a filesystem which is reserved on x86 as partition boot record, ... You should thusly mangle the IPL code. :-) It doesn't break anything else to do so. a) the disk would not be labled as observed by other mainframe

Re: ECKD driver vs DIAG driver

2011-01-06 Thread Richard Troth
Velocity Software http://www.velocitysoftware.com/ On Thu, Jan 6, 2011 at 14:22, Stephen Powell zlinux...@wowway.com wrote: On Thu, 06 Jan 2011 09:03:46 -0500 (EST), Richard Troth wrote: ... The problem with mainframe labelling (the req for an IBM volser) is that it panders to the bad behaviour

Re: RHEL6 SSH key

2011-01-05 Thread Richard Troth
Check the ownership of the authorized_keys file. Also check permission bits on the file. Also check permission bits on all directories along the path to that file. Finally, see if the target system allows root logon (via SSH ... or at all). But see below. Regarding that last point, I STRONGLY

Re: ECKD driver vs DIAG driver

2011-01-04 Thread Richard Troth
Mark is correct: one automagically created partition. Worse, there is no 'fdasd' or 'fdisk' management of that partition. WORSE STILL, you *must* put the filesystem into the partition (such as it is) if you are going to boot from this disk. A filesystem in /dev/dasdx will be clobbered by the

  1   2   3   4   5   6   >