Re: umask curiosity

2012-09-25 Thread Scott Rohling
I understand it's a mask -  but I was referring to umask displaying the
current umask - not setting it.   Besides, you can't effect the special
bits with umask - the range is octal 0-777.  Any digits besides the last 3
have to be 0 - or the umask command will complain 'octal number out of
range'.

Scott Rohling

On Tue, Sep 25, 2012 at 4:51 PM, Ivan Warren  wrote:

> On 9/25/2012 8:07 PM, Scott Rohling wrote:
>
>> True - the value for the special bits only has meaning for chmod to
>> actually set those bits for a directory or file -- not umask. So it
>> will always be 0 in the context of umask. Scott Rohling
>>
>
> Scott,
>
> umask is a 'MASK' ! umask gives the bits you do NOT want set ! 077 (or
> 0077 - the same) means you want files created as rwx-- (aka 0700 or
> the 1 complement of the umask).. So basically, a umask of 077 is
> actually conceptually a mask of 07077 (the special bits can only be
> altered with chmod(2), not when creating the file through open(2)...
> Exception is mkdir(2) which will inherit the group special bit).
>
> --Ivan
>
> --**--**--
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/**wlvindex?LINUX-390<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 lists...@vm.marist.edu 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/


Re: umask curiosity

2012-09-25 Thread Scott Rohling
On Tue, Sep 25, 2012 at 10:01 AM,  wrote:

> umask only works for the user/group/other bits of the file, not for the
> special bits so you should never see something like a 1077 returned as a
> umask


True - the value for the special bits only has meaning for chmod to
actually set those bits for a directory or file -- not umask.   So it will
always be 0 in the context of umask.

Scott Rohling


>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: umask curiosity

2012-09-25 Thread Scott Rohling
The first of the 4 digits is for special permissions, like SUID, GUID and
the sticky bit..   If not specified - it's 0.

Scott Rohling

On Tue, Sep 25, 2012 at 8:22 AM, Smith, Ann (CTO Service Delivery) <
ann.sm...@thehartford.com> wrote:

> I notice on SLES10 that the umask command displays umask as 4 digits.
>
> Yet in /etc/profile I see a 3 digit value.
>
> Customers code 3 digit values in their .profile files.
>
> Coding umask 077 or umask 0077 seems to produce the same results.
>
> Is there any meaning to the fourth (really first) digit displayed by the
> umask command?
>
> Annie Smith
> 
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential and/or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited.  If you
> are not the intended recipient, please notify the sender immediately by
> return e-mail, delete this communication and destroy all copies.
> 
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: console-kit-daemon errors on SLES 11

2012-08-31 Thread Scott Rohling
>Hello!
>I agree. I've got a reasonable idea of what that program (and
>application) does on my system. But what does it do besides complain
>on a System Z?

And - what has a dependency on it so it can't be removed easily?   (and is
it possibly something that also has no use on z?)

I don't have a test system on z available to do some checking..

Scott Rohling

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: LGR guest quiesce

2012-08-31 Thread Scott Rohling
I wonder if doing a 'sync' on Linux just prior to the STOP would help cut
down on anything in the buffers?

Scott Rohling

On Fri, Aug 31, 2012 at 6:52 AM, Aria Bamdad  wrote:

> Thanks for the link to that document Marcy.  I think the CP STOP/BEGIN
> method would be the best solution for when you want to take a flashcopy of
> a
> live and still running guest.  Doing this plus normal file level backups
> would be a pretty safe DR solution.  It also would cut down on the time a
> guest is down and eliminate the need for a shutdown/restart.
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Marcy
> Cortes
> Sent: Thursday, August 30, 2012 2:50 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: LGR guest quiesce
>
> The suspend/resume thing exists already -
>
> http://www-03.ibm.com/support/techdocs/atsmastr.nsf/5cb5ed706d254a8186256c71
> 006d2e0a/57e3c8123412429186257910006ab443/$FILE/l0wadp00.pdf
>
> The CP STOP command may also be good enough.  Yes, you could have lost data
> in open files, but this would be no different that say a loss of power.
> You'd fsck and go on when you booted back up.  You wouldn't have the issue
> of disk A being out of sync with disk B which you'd get flashcopying a live
> system.
>
>
> Marcy
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Scott
> Rohling
> Sent: Thursday, August 30, 2012 8:28 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: [LINUX-390] LGR guest quiesce
>
> I don't think the disk snapshot from a freeze would be any better in terms
> of data integrity.   You're still snapshotting a disk with things like open
> files - and the guest is in an unknown state processing wise.
>
> If there was a facility to restore disks and then resume processing where
> the guest left off - it might work..  But you need something to dump and
> restore memory/pages/etc as well.   Sort of like 'hibernate' on a laptop.
>
> Scott Rohling
>
> On Thu, Aug 30, 2012 at 8:11 AM, Aria Bamdad  wrote:
>
> > Just curious, could this functionality be used somehow to allow for a
> > **consistent** disk snapshot using flashcopy for a live Linux guest?
> > What I mean is that currently, we have to shutdown the guest, do the
> > flashcopy and then restart the guest.  Is there a way we can tell the
> > Linux guest to freeze, take a snapshot of the disks and then resume?
> >
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> > Rob van der Heij
> > Sent: Thursday, August 30, 2012 7:47 AM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: LGR guest quiesce
> >
> > On 30 August 2012 11:43, Lu GL Gao  wrote:
> >
> > Linux guest move its memory to target z/VM member during relocating.
> > Then
> > > it quiesce and resume on target z/VM.
> > > How to understand "quiesce"? What state of linux when it is in
> > > quiesce time? Is idling? shutdown? or something?
> > >
> >
> > See it as "frozen while running" -  as long as Linux is actually
> > running, it may change memory that z/VM already copied over, so z/VM
> > will copy it again, and again...  To stop that, finally the guest is
> > frozen for a very short period, not making any further changes. That
> > gives z/VM time to copy the last bits and the guest then continues to
> > run on the other side, at the very instruction where it was frozen
> before.
> > Linux will observe that some time passed where it did not run, but
> > that's normal in time sharing.
> >
> > Rob
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions, send
> > email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
> >
>
> 

Re: console-kit-daemon errors on SLES 11

2012-08-30 Thread Scott Rohling
Maybe this daemon is unnecessary on z - or at least, under z/VM - where the
console access is logged in the operator consoles?

Scott Rohling

On Thu, Aug 30, 2012 at 3:29 PM, Mark Post  wrote:

> >>> On 8/30/2012 at 05:57 PM, Marcy Cortes 
> wrote:
> > I've noticed on SLES 11 that when DBUS starts, these messages appear
> >
> > Aug 30 14:52:21 zlinux-maint console-kit-daemon[10197]: GLib-CRITICAL:
> > g_async_queue_unref: assertion `queue->waiting_threads == 0' failed
> > Aug 30 14:52:24 zlinux-maint console-kit-daemon[13304]: WARNING: Could
> not
> > determine active console
> > Aug 30 14:52:24 zlinux-maint console-kit-daemon[13304]: WARNING: Error
> waiting
> > for native console 57 activation: Invalid argument
> -snip-
> > Aug 30 14:52:24 zlinux-maint console-kit-daemon[13304]: WARNING: Error
> waiting
> > for native console 1 activation: Invalid argument
> >
> >
> > What does this thing do and why does it complain so much?  Easily
> > recreatable with "rcdbus restart"
>
> Hopefully it generates a service request to get it fixed, since I've seen
> the same messages on my test systems.  :)  According to "rpm -qi
> ConsoleKit":
> ConsoleKit is a system daemon for tracking what users are logged into the
> system and how they interact with the computer (e.g. which keyboard and
> mouse they use).
>
> Clearly written by someone with no experience with other architectures
> than Intel/AMD.
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: LGR guest quiesce

2012-08-30 Thread Scott Rohling
It depends on your approach for DR..  is a physical backup the only method?
  Typically, it's a hybrid ..  use physical backups to restore as much as
you can (hopefully enough to run linux and be able to start backup clients
to restore) - and then use backup/restore clients to go to logical backups
for latest 'clean' data.

Scott Rohling

On Thu, Aug 30, 2012 at 9:52 AM, Aria Bamdad  wrote:

> True, no solution is as safe as shutdown/snapshot/restart in terms of
> ensuring consistency but I think it would be nice if there was some
> mechanism within Linux that would alert the kernel of this and would allow
> for a relatively consistent snapshot of the virtual machine, assuming
> perhaps we stop application servers databases on the host prior to
> snapshot.
> Then, we can at least minimize downtime for the server and reduce the
> resources necessary to bring the host back up.  I am imagining trying to
> shutdown/restart dozens or hundreds of virtual machines to take a snapshot
> for DR would consume a fair amount of resources and slows down the process
> a
> lot.  The bigger problem in my mind is that if you set this up to run
> unattended, then you have  a much higher risk where a server has a problem
> upon restart.
>
> I wonder if anyone would like to share their experiences with regards to
> automated shutdown/restart of linux guests for DR snapshot purposes.
>
> Aria
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rob
> van der Heij
> Sent: Thursday, August 30, 2012 11:43 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: LGR guest quiesce
>
> On 30 August 2012 17:11, Aria Bamdad  wrote:
>
> > Just curious, could this functionality be used somehow to allow for a
> > **consistent** disk snapshot using flashcopy for a live Linux guest?
>  What
> > I
> > mean is that currently, we have to shutdown the guest, do the flashcopy
> and
> > then restart the guest.  Is there a way we can tell the Linux guest to
> > freeze, take a snapshot of the disks and then resume?
> >
>
> No. It's perfectly possible that the Linux guest is moved from one z/VM
> LPAR to the other while it still has data in memory that's supposed to go
> out to disk (and it will eventually do that from its new location).
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Too true to be funny - 51% of the surveyed Americans think that stormy weather can interfere with the functionality of the cloud.

2012-08-30 Thread Scott Rohling
I cringe because I really have no idea what the word means any more..  I
read something about CMS yesterday - 'cloud managed services'.  ;-)   I'm
likely just not adjusting well - I admit it...

I suppose I really cringe because it's a word I hear more and more from
customers  and always have to ask for further clarification/definition
about what that means to them.   As a z/VM guy - it usually means automated
deployment of guests - which seems far removed from the cloud being
referred to in the ads...

It's this 'new and shiny' thing that execs like the sound of .. and I know
you know how it is with those bright and shiny objects,  sir Chuckie  -  ;-)

Scott Rohling

On Thu, Aug 30, 2012 at 10:28 AM, Alan Altmark wrote:

> On Thursday, 08/30/2012 at 11:28 EDT, Scott Rohling
>  wrote:
> > This doesn't surprise me - I'm not sure when we started calling data
> stored
> > on servers a 'cloud' - but I cringe every time I hear it.
> >
> > Is this really any different then not knowing what a catalytic converter
> > is, but driving anyway?
>
> Why cringe?  As you say,  As Seen On TV, "Cloud" is being cast as the data
> storage part of "The Internet."   I'm ok with that since it's easy for Mom
> & Dad to understand.   Of course, we IT professionals are going to have a
> cow like we tend to do over Internet vs. internet vs. intranet.  It's what
> we do, and no one was pushing a better word.
>
> Sure, data storage services are just one facet of "Cloud Computing," but
> Mom & Dad don't really care.  There will be another vague noun assigned
> when we think up another set of services to provide.
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: LGR guest quiesce

2012-08-30 Thread Scott Rohling
I don't think the disk snapshot from a freeze would be any better in terms
of data integrity.   You're still snapshotting a disk with things like open
files - and the guest is in an unknown state processing wise.

If there was a facility to restore disks and then resume processing where
the guest left off - it might work..  But you need something to dump and
restore memory/pages/etc as well.   Sort of like 'hibernate' on a laptop.

Scott Rohling

On Thu, Aug 30, 2012 at 8:11 AM, Aria Bamdad  wrote:

> Just curious, could this functionality be used somehow to allow for a
> **consistent** disk snapshot using flashcopy for a live Linux guest?  What
> I
> mean is that currently, we have to shutdown the guest, do the flashcopy and
> then restart the guest.  Is there a way we can tell the Linux guest to
> freeze, take a snapshot of the disks and then resume?
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rob
> van der Heij
> Sent: Thursday, August 30, 2012 7:47 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: LGR guest quiesce
>
> On 30 August 2012 11:43, Lu GL Gao  wrote:
>
> Linux guest move its memory to target z/VM member during relocating. Then
> > it quiesce and resume on target z/VM.
> > How to understand "quiesce"? What state of linux when it is in quiesce
> > time? Is idling? shutdown? or something?
> >
>
> See it as "frozen while running" -  as long as Linux is actually running,
> it may change memory that z/VM already copied over, so z/VM will copy it
> again, and again...  To stop that, finally the guest is frozen for a very
> short period, not making any further changes. That gives z/VM time to copy
> the last bits and the guest then continues to run on the other side, at the
> very instruction where it was frozen before.
> Linux will observe that some time passed where it did not run, but that's
> normal in time sharing.
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Too true to be funny - 51% of the surveyed Americans think that stormy weather can interfere with the functionality of the cloud.

2012-08-30 Thread Scott Rohling
This doesn't surprise me - I'm not sure when we started calling data stored
on servers a 'cloud' - but I cringe every time I hear it.

Is this really any different then not knowing what a catalytic converter
is, but driving anyway?

Scott Rohling

On Thu, Aug 30, 2012 at 6:39 AM, McKown, John  wrote:

> http://www.citrix.com/lang/English/lp/lp_2328330.asp
>
>
> 
> The survey carried out on 1000 adult americans of age 18 and more paint a
> disturbing picture: 54% of americans do not know what the cloud is and
> claim to never have used it. But, from these, 95% use it regularly for
> online banking, online shopping, social sites such as Facebook or Twitter
> and online sharing of photos and files. All of these services operate
> within the cloud, but it would seem that not everyone understands this.
> Also, another alarming number is that  51% of the surveyed Americans think
> that stormy weather can interfere with the functionality of the cloud.
> 
>
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> john.mck...@healthmarkets.com * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain confidential or
> proprietary information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. HealthMarkets(r) is the brand name for products underwritten and
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
> Life Insurance Company(r), Mid-West National Life Insurance Company of
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: zipl

2012-08-15 Thread Scott Rohling
I think you were supposed to remove the dasd=  - not the root=

Scott Rohling

On Wed, Aug 15, 2012 at 7:16 AM, Dean, David (I/S) wrote:

> Mark, here you go.
>
> Original zipl.conf
>
> [ipl]
> image = /boot/image
> target = /boot/zipl
> ramdisk = /boot/initrd,0x400
> parameters = "root=/dev/dasda1 dasd=202,700-730 TERM=dumb"
>
> run zipl
>
> Server comes up fine.
>
> Now:
>
> CHANGE zipl.conf to remove parameter root=/dev/dasda1 and run zipl
>
> Now I get this during boot
>
> dasd(eckd): 0.0.0202: 3390/0C(CU:3990/01) Cyl:8016 Head:15 Sec:224
> dasd(eckd): 0.0.0202: (4kB blks): 5771520kB at 48kB/trk compatible disk
> layout
>  dasda:VOL1/  0X0202: dasda1
> Loading dasd_fba_mod
> Loading jbd
> Loading ext3
> Waiting for device /dev/dasdb1 to appear:
> ..not fou
> d -- exiting to /bin/sh
>
>
>
>
>
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Mark Post
> Sent: Tuesday, August 14, 2012 4:28 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: zipl
>
> >>> On 8/14/2012 at 03:59 PM, "Dean, David (I/S)" 
> wrote:
> > We have gotten in to trouble twice now with zipl.conf.  We are on
> > 10.3, upgrading to 10.4 then to 11.2.  We have removed DASD in the
> > past - USER DIRECTORY - and when we boot again without running zipl we
> > get problems with it trying to load the old DASD def.  I do not have,
> > I recently discovered, an adequate knowledge of zipl -  working on
> > that -  but if anyone has directions to a good explanation (I like
> > flow charts.)
> >
> > Now the real question.  A friend asked the question, "why not run zipl
> > at boot?"  and I said "hmm".
> >
> > Good? Bad? Ugly?
>
> I don't understand what is meant by running "zipl at boot," but I don't
> think that matters much.  There is no reason to update /etc/zipl.conf at
> all when adding/removing DASD on SLES10 or SLES11 systems.  Just don't do
> it.  In fact, I would recommend removing any "dasd=" parameters from
> zipl.conf and then rebuilding your initrd and re-running zipl.  To test
> that out
> - Duplicate one of your menu entries in zipl.conf
> - Rename the menu entry to something unique
> - Add the new menu entry to the :menu list
> - Remove the "dasd=" list from the "parameters-" line
> - Re-run mkinitrd and zipl
> - Reboot and select the new menu entry.
>
> If things work as expected, do it for the rest of your menu entries.  If
> not, come back here with details.
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions, send
> email to lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: SLES11 SP2 install procedures for zseries

2012-08-09 Thread Scott Rohling
Hmm .. so doesn't sound like she could use 'wget' to just get the iso onto
the server.   Have to install X-windows and firefox and use VNC or
something just to start up a browser on the server and navigate to the
right url.   Argh...

Scott Rohling

On Thu, Aug 9, 2012 at 10:53 AM, Mark Post  wrote:

> >>> On 8/8/2012 at 08:24 PM, "Smith, Ann (CTO Service Delivery)"
>  wrote:
> -snip-
> > I finally want to upgrade SLES10 SP4 servers on mainframe to SLES11.
> > I am having trouble locating the zseries instructions.
> > I also have a bit of a limitation in that my PC has no access to the
> > customer network where the servers are located.
> > I have a vmware session (Windows XP) with very limited disk space which
> > I use to access the customer network.
> > Is there an install method where I can ftp the SLES11 iso directly to
> > one of the servers- which I can give a big filesytem?
>
> Hi, Ann,
>
> There is no mainframe-specific document, since the process is no different
> than from other architectures.  See
> http://www.novell.com/support/kb/doc.php?id=7010200 for details.  As far
> as getting the DVD image downloaded, there is no FTP access, only HTTPS,
> and a Javascript enabled browser seems to be required.  Javascript didn't
> use to be necessary, but it looks like that changed.  The URL is
> http://download.novell.com/protected/Summary.jsp?buildid=HSR2htIJwqQ~
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: SLES11 SP2 install procedures for zseries

2012-08-08 Thread Scott Rohling
I wouldn't use a z/VM minidisk.. you 'could' access it using cmsfs from
Linux - but it would be easier/better to just get the iso file into a Linux
filesystem.

Scott Rohling

On Wed, Aug 8, 2012 at 5:52 PM, Smith, Ann (CTO Service Delivery) <
ann.sm...@thehartford.com> wrote:

>  Or directly 'ftp get to zVM minidisk'
>
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: SLES11 SP2 install procedures for zseries

2012-08-08 Thread Scott Rohling
If the server is an existing zlinux server and you have connectivity to
Novell - sure - or even easier - use wget and point to the ftp or http url.
  If it requires authentication - there are wget options for that as well.

Scott Rohling

On Wed, Aug 8, 2012 at 5:43 PM, Smith, Ann (CTO Service Delivery) <
ann.sm...@thehartford.com> wrote:

> On the server can I 'ftp get' the file directly from the Novell/SuSE
> site?
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Scott Rohling
> Sent: Wednesday, August 08, 2012 8:38 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: SLES11 SP2 install procedures for zseries
>
> You could ftp the iso to a server and then mount it as a filesystem..
> for
> example:
>
> mount -o loop -r sles11.iso /mnt
>
> You then need either the server to allow access via ftp, nfs, or even
> http.. so you can point the other servers to it as the source for the
> upgrade media.
>
> I could be misunderstanding what you need though..
>
> Scott Rohling
>
> On Wed, Aug 8, 2012 at 5:24 PM, Smith, Ann (CTO Service Delivery) <
> ann.sm...@thehartford.com> wrote:
>
> > Yes I am late.
> > Yes I should have paid more attention when others asked in the past.
> > I finally want to upgrade SLES10 SP4 servers on mainframe to SLES11.
> > I am having trouble locating the zseries instructions.
> > I also have a bit of a limitation in that my PC has no access to the
> > customer network where the servers are located.
> > I have a vmware session (Windows XP) with very limited disk space
> > which I use to access the customer network.
> > Is there an install method where I can ftp the SLES11 iso directly to
> > one of the servers- which I can give a big filesytem?
> >
> > Annie Smith
> >
> > 
> > This communication, including attachments, is for the exclusive use of
>
> > addressee and may contain proprietary, confidential and/or privileged
> > information.  If you are not the intended recipient, any use, copying,
>
> > disclosure, dissemination or distribution is strictly prohibited.  If
> > you are not the intended recipient, please notify the sender
> > immediately by return e-mail, delete this communication and destroy
> all copies.
> > 
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions, send
> > email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
> 
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential and/or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited.  If you
> are not the intended recipient, please notify the sender immediately by
> return e-mail, delete this communication and destroy all copies.
> 
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: SLES11 SP2 install procedures for zseries

2012-08-08 Thread Scott Rohling
You could ftp the iso to a server and then mount it as a filesystem.. for
example:

mount -o loop -r sles11.iso /mnt

You then need either the server to allow access via ftp, nfs, or even
http.. so you can point the other servers to it as the source for the
upgrade media.

I could be misunderstanding what you need though..

Scott Rohling

On Wed, Aug 8, 2012 at 5:24 PM, Smith, Ann (CTO Service Delivery) <
ann.sm...@thehartford.com> wrote:

> Yes I am late.
> Yes I should have paid more attention when others asked in the past.
> I finally want to upgrade SLES10 SP4 servers on mainframe to SLES11.
> I am having trouble locating the zseries instructions.
> I also have a bit of a limitation in that my PC has no access to the
> customer network where the servers are located.
> I have a vmware session (Windows XP) with very limited disk space which
> I use to access the customer network.
> Is there an install method where I can ftp the SLES11 iso directly to
> one of the servers- which I can give a big filesytem?
>
> Annie Smith
>
> 
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential and/or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited.  If you
> are not the intended recipient, please notify the sender immediately by
> return e-mail, delete this communication and destroy all copies.
> 
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Red Hat Indeed

2012-07-04 Thread Scott Rohling
I wonder how the red hat ladies do with fedoras?  Their conference sounds
like a natural for promoting RHEL..   go dutch :)

Scott Rohling

On Wed, Jul 4, 2012 at 4:43 PM, David Kreuter wrote:

> Happy 4th to all my U.S. brethren.
> Here in Canada it is a work day. I'm traveling to Ottawa this a.m.
> I start chatting with the lady next to me. She tells me she is just back
> from Las Vegas where she was attending a Red Hat conference.
> So naturally my ears picked up. Linux I say?
> She then picks up a bag, unties it ... and removes a hand made
> red hat with all sorts of veils and tassels and stuff...
> It looked like something you might where at graduation.
> apparently there is a red hat society throughout at least North America
> where they
> make ... ready for it? Red Hats. She has a monthly get together to do
> this and
> they have an annual conference.
> And for those of you who know (of) me ... I am not making this up!
> David Kreuter
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: RHEL54 zLinux running TSA

2012-06-29 Thread Scott Rohling
Only thing I can think of -- are disks linked MWV on each side?   I'm not
sure what the recommendation is.. but I know that if you share a RACF DB
disk you specify MWV so virtual reserve/release is respected..  would think
this is similar to prevent disk clobbering?

Scott Rohling

On Fri, Jun 29, 2012 at 7:16 AM, Shumate, Scott wrote:

>  Has anyone implemented TSA (Tivioli System Automation) on RHEL54?  We are
> trying to use ECKD disk for our quorum disk.  We are running into this
> error:
>
> Initializing ECKD tie-breaker (.v DEVICE=/dev/dasdd)
> Reserving tie-breaker (.v DEVICE=/dev/dasdd)
> eckd_reserve is boxed, busy, or in error
> tb_reserve status DENIED(1) (errno=2)
>
> The disk is setup per IBM's recommendations.
>
> Here is the display on VMD1.  You can see the address B02F is defined as
> DEVNO and SHARED.  It is linked to LXD10111 as device number 703 and it is
> in WRITE mode.
>
> q b02f
> DASD B02F CP SYSTEM DEVNO1 SHARED
> Ready; T=0.01/0.01 17:50:12
> q sys B02f
>
> DASD B02F ATTACHED SYSTEM 0001 LXDQ02
> LXD10111 0703 R/W
> Ready; T=0.01/0.01 17:50:26
>
> Here is the same definition on the other system - VMD2
>
> q b02f
> DASD B02F CP SYSTEM DEVNO1 SHARED
> Ready; T=0.01/0.01 17:52:37
> q sys b02f
>
> DASD B02F ATTACHED SYSTEM 0001 LXDQ02
> LXD20112 0703 R/W
> Ready; T=0.01/0.01 17:52:41
>
> Anyone's help would be greatly appreciated.
>
>
> Thanks
> Scott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Start networkadapter without reboot

2012-06-15 Thread Scott Rohling
I just noticed this in your original post:

RTNETLINK answers: Cannot assign requested address

What does your ifcfg-eth1 look like? - is it possible the IP address you're
using is not valid?   You said this was a clone, so just checking network
interfaces were updated correctly.

I also wonder how this shows us on z/VM with a Q VSWITCH DETAILS -- does it
show connected for this 2nd NIC?

What does a 'vmcp q nic' show?  Are addresses attached to the vswitch?
(sort of the same as above)..

Scott Rohling

On Fri, Jun 15, 2012 at 7:54 AM, van Sleeuwen, Berry <
berry.vansleeu...@atos.net> wrote:

> Hi Scott,
>
> Yes it is.
>
> I've found some more information when looking through the /sys/ directory.
> The state for this device is in HARDSETUP.
>
> nlzlx204:~ # cat /sys/devices/qeth/0.0.0f10/state
> HARDSETUP
>
> Searching for this I've found some information in patch reports, for
> instance at git390.marist.edu and kerneltrap.org. This status is a result
> of a boot without the actual device available. Indeed, what we have here
> now. When the cable is plugged (or the vswitch connected) the state should
> switch to SOFTSETUP or eventualy even to UP. But it doesn't. Would it be
> possible to get it to UP dynamically or is this a bug that can be resolved
> with a reboot or network restart only? (kernel level is at 2.6.32.12-0.7).
>
> Berry.
>
> > -----Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> > Scott Rohling
> > Sent: vrijdag 15 juni 2012 15:47
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: Start networkadapter without reboot
> >
> > If you are using VSWITCH's to attach the guest nics -- is this guest
> authorized
> > for both?
> >
> > Scott Rohling
> >
> > On Fri, Jun 15, 2012 at 5:27 AM, van Sleeuwen, Berry <
> > berry.vansleeu...@atos.net> wrote:
> >
> > > Hi All,
> > >
> > > In a SLES11 SP1 guest I try to activate the second network adapter but
> > > it fails. The guest is cloned from a default system where both
> > > networks are configured. But this guest has started with only eth0.
> > > The nic eth1 was not available during boot. Probably it will start
> > > when rebooted but can I active a nic afterwards without a reboot
> > > (preferably without rcnetwork restart)?
> > >
> > > Running ifup I get:
> > > nlzlx204:~ # ifup eth1
> > >eth1  name: OSA Express Network card (0.0.0f10)
> > > RTNETLINK answers: Cannot assign requested address Cannot enable
> > > interface eth1.
> > > interface eth1 is not up
> > >
> > > But the adapter looks like to be online:
> > > nlzlx204:~ # cat /sys/devices/qeth/0.0.0f10/if_name
> > > eth1
> > > nlzlx204:~ # cat /sys/devices/qeth/0.0.0f10/online
> > > 1
> > >
> > > Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
> > > Berry van Sleeuwen Flight Forum 3000 5657 EW Eindhoven
> > > * +31 (0)6 22564276
> > > [Description: atos]  [Description:
> cid:325312309@02022011-28C8
> > > ]
> > >
> > >
> > >
> > >
> > >
> > >
> > > Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> > > bestemd voor de geadresseerde. Indien dit bericht niet voor u is
> > > bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het
> > > bericht te vernietigen. Aangezien de integriteit van het bericht niet
> > > veilig gesteld is middels verzending via internet, kan Atos Nederland
> > > B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel
> > > wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen
> > > enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij
> > > enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus
> > > in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en
> > > overeenkomsten waaronder Atos Nederland B.V. goederen en/of
> > diensten
> > > levert zijn met uitsluiting van alle andere voorwaarden de
> > Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> > > Deze worden u op aanvraag direct kosteloos toegezonden.
> > >
> > > This e-mail and the documents attached are confidential and intended
> > > solely for the addressee; it may also be privileged. If you receive
> > > this e-mail in error, please notify the sender immediately and destroy
> > > it. As its integrity cannot be secured on the Internet, the A

Re: Start networkadapter without reboot

2012-06-15 Thread Scott Rohling
If you are using VSWITCH's to attach the guest nics -- is this guest
authorized for both?

Scott Rohling

On Fri, Jun 15, 2012 at 5:27 AM, van Sleeuwen, Berry <
berry.vansleeu...@atos.net> wrote:

> Hi All,
>
> In a SLES11 SP1 guest I try to activate the second network adapter but it
> fails. The guest is cloned from a default system where both networks are
> configured. But this guest has started with only eth0. The nic eth1 was not
> available during boot. Probably it will start when rebooted but can I
> active a nic afterwards without a reboot (preferably without rcnetwork
> restart)?
>
> Running ifup I get:
> nlzlx204:~ # ifup eth1
>eth1  name: OSA Express Network card (0.0.0f10)
> RTNETLINK answers: Cannot assign requested address
> Cannot enable interface eth1.
> interface eth1 is not up
>
> But the adapter looks like to be online:
> nlzlx204:~ # cat /sys/devices/qeth/0.0.0f10/if_name
> eth1
> nlzlx204:~ # cat /sys/devices/qeth/0.0.0f10/online
> 1
>
> Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
> Berry van Sleeuwen
> Flight Forum 3000 5657 EW Eindhoven
> * +31 (0)6 22564276
> [Description: atos]  [Description: cid:325312309@02022011-28C8
> ]
>
>
>
>
>
>
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
> bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
> verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
> vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld
> is middels verzending via internet, kan Atos Nederland B.V. niet
> aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons
> inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie
> dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid
> voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze
> rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland
> B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere
> voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing.
> Deze worden u op aanvraag direct kosteloos toegezonden.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos Nederland B.V.
> group liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does not warrant that this transmission is virus-free and will not be
> liable for any damages resulting from any virus transmitted. On all offers
> and agreements under which Atos Nederland B.V. supplies goods and/or
> services of whatever nature, the Terms of Delivery from Atos Nederland B.V.
> exclusively apply. The Terms of Delivery shall be promptly submitted to you
> on your request.
>
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: LGR & IPL CMS

2012-06-14 Thread Scott Rohling
Yep - it was one of the more memorable moments in my working with VM almost
30 years...  feels a little magical when you get it to work :)Only way
I could tell on the Linux guest was 'vmcp q user' ..

Glad you got a chance to see it yourself!

Scott Rohling

On Thu, Jun 14, 2012 at 6:08 AM, Mark Pace  wrote:

> Detaching all the minidisks was the answer to my problem.
>
> I must say it is pretty amazing the 1st time that LGR works.  You know that
> it should work, but actually seeing it happen the 1st time is pretty cool.
>
> On Wed, Jun 13, 2012 at 2:23 PM, Robert J Brenneman  >wrote:
>
> > I relocate my Linux systems and I IPL CMS by default so I can use
> > SWAPGEN too - what is the actual error message you're getting when you
> > attempt to relocate ?
> >
> > --
> > Jay Brenneman
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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/
> >
>
>
>
> --
> The postings on this site are my own and don’t necessarily represent
> Mainline’s positions or opinions
>
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Run NTP on zLinux or not?

2012-06-06 Thread Scott Rohling
I wouldn't mind seeing a thread about how we incent a new generation of
z/VMers to start taking over the torch..  Over the next 10 years, our
numbers are going to shrink drastically as many of us finally retire.   My
visions of proudly walking away someday knowing I've turned things over to
competent hands are fading...

Scott Rohling

On Wed, Jun 6, 2012 at 7:55 AM, Dean, David (I/S) wrote:

> Last post on my poll, I will not waste further cycles on a non-technical
> issue here.  I appreciate the people that emailed me offline.  Rick, thanks
> for the info.
>
> FINAL TOT BOARD FOR UNDER 35 YEARS OF AGE = 2  (nice try, bear, but no
> cigar)
>
> I am not bashing zVM in any way, I am an evangelist and want only further
> expansion, but as my teenage son constantly says to me, "I'm just sayin'..."
>
>
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> r.stricklin
> Sent: Monday, June 04, 2012 3:07 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Run NTP on zLinux or not?
>
> On Jun 4, 2012, at 11:23 AM, Dean, David (I/S) wrote:
>
> > Amen.  We run it on 60 plus servers, started because of a tie in to
> Active Directory on about 4 servers, but continued it on all servers solely
> to work and play well with others.
>
> I had this requirement and found it sufficient to run 'ntpdate' from cron
> once a day on those systems that needed it.
>
> > What would REALLY be interesting to know is how many of the daily
> readers on this site are under 35 years old.  Hope I am wrong...but
>
> FWIW I've been subscribed for about five years... but turned 35 last month.
>
>
> ok
> bear.
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Run NTP on zLinux or not?

2012-06-05 Thread Scott Rohling
Thanks Sirs Richard, John, DavidB, Rob, DavidD, Bear, Thomas, Patrick and
Madame Marcy -

I appreciate your input very much!   I believe it has helped decide in
favor implementing ntpd on Linux guests in this particular instance.

A special thanks to Rob for his presentation which helped myself and others
understand the science behind it for the case of z/VM and it's pengins...

Scott Rohling

On Tue, Jun 5, 2012 at 8:33 AM, Patrick Spinler wrote:

> I'd suspect that just running ntpd would be a preferably option here.
> Otherwise, you will get a cron awakened activity / network peak as
> dozens or hundreds of servers all wake up and try to sync their time.
>
> ntpd really is a very low impact service to run, both in terms of
> network and server resources.
>
> -- Pat
>
> On 06/04/2012 06:36 PM, Thomas Kern wrote:
> > When we had linux on Z, we ran the ntpdate program once per day (before
> start of
> > business). On our current ESX and Oracle Virtualization (xen), we need
> to run it every hour.
> >
> > /Tom Kern
> >
> > On 6/4/2012 12:31, David Boyes wrote:
> >> Running NTP everywhere wakes every guest up periodically, so you waste
> a fair amount of cycles waking up to do nothing for most guests.
> >>
> >> The clocks in Linux guests do drift slightly (even if the HW is synced
> to STP) -- it's order of tenths of microseconds, but it does lose a little
> (barely measurable) bit.
> >>
> >> The things that really care about time (like any service using Kerberos
> security, or other things that use time as a salt in some other process)
> need NTP because they don't work without completely accurate time.
> >> Everything else can get along fine with running ntpdate once a day.
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Run NTP on zLinux or not?

2012-06-04 Thread Scott Rohling
Was having a conversation today about running Linux on System z and whether
it needed to run an NTP client -- the statement being STP is used to keep
the mainframe time in synch, so why run NTP on a Linux guest - the system
time is correct.  My understanding is that Linux maintains it's own clock
so even if z/VM fully supported STP, it doesn't mean the guests would
necessarily benefit.  I haven't done a lot of research into time
synchronization, so I thought I'd ask what others here do and why.   Any
input would be appreciated!

Scott Rohling

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: LXFMT bug fix

2012-05-15 Thread Scott Rohling
If you execute VMARC with no args or ?  it should tell you the version
number ...

Mine is 1.2.29  --  and what I see is things are a century off:

LISTFILE LXFMT* * (ISODATE

FILENAME FILETYPE FM FORMAT LRECL   RECS BLOCKS DATE TIME
LXFMTASSEMBLE A1 F 80   3456 68  5/15/1912  9:42:28
LXFMTTEXT A1 F 80239  5  5/15/1912  9:44:19
LXFMTMODULE   A1 V  18712  4  5  5/15/1912  9:44:25
LXFMTREADME   A1 F 80 46  1  1/02/1908  6:37:33
LXFMTHELPCMS  A2 V 79148  2  1/02/1908  6:36:02
Ready; T=0.01/0.01 07:34:17

What VMARC version do you have, Neale?

Scott Rohling

On Tue, May 15, 2012 at 12:08 PM, O'Brien, Dennis L <
dennis.l.o'br...@bankofamerica.com> wrote:

> Interesting.  I downloaded the latest VMARC MODULE from IBM, which is a
> slightly different size than my previous version from 2001, and also tried
> setting my date format to FULL and ISO.  I tried this on both z/VM 5.4 and
> 6.2, and I still get dates in the 1900's.  Time for a PMR, I suppose.  Is
> VMARC officially supported?
>
>
>
>  Dennis
> O'Brien
>
> "No man`s life, liberty, or property are safe while the legislature is in
> session."  -- Mark Twain
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> Neale Ferguson
> Sent: Tuesday, May 15, 2012 10:35
> To: LINUX-390@vm.marist.edu
> Subject: Re: LXFMT bug fix
>
> Not using the VMARC MODULE I am:
>
> LXFMTVMARCX1 F 80   111622 2012-05-15 09:45:58
> LXFMTLOADMAP  X5 V100 89 3 2012-05-15 09:44:25
> LXFMTMODULE   X1 V  18712  4 5 2012-05-15 09:44:25
> LXFSETEXT X1 F 80121 3 2012-05-15 09:44:23
> LXMSGTEXT X1 F 80 61 2 2012-05-15 09:44:20
> LXFMTTEXT X1 F 80239 5 2012-05-15 09:44:19
> LXASMEXEC X1 V 65 22 1 2012-05-15 09:42:45
> LXFMTASSEMBLE X1 F 80   345668 2012-05-15 09:42:28
> LXFSEASSEMBLE X1 F 8091718 2010-08-24 12:53:52
> LXMSGASSEMBLE X1 F 80 78 2 2010-08-24 12:04:32
> LXFMTREADME   X1 F 80 46 1 2008-01-02 06:37:33
> LXFMTHELPCMS  X2 V 79148 2 2008-01-02 06:36:02
> LXVMARC  EXEC X1 V 54 16 1 2007-12-10 12:35:28
> LXFMT1   LXCONFIG X1 F 80  3 1 2007-12-10 10:35:02
> LNXVMCNTRLX2 F 80  5 1 2007-12-02 16:49:14
>
> On 5/15/12 1:17 PM, "O'Brien, Dennis L" <
> dennis.l.o'br...@bankofamerica.com>
> wrote:
>
> > The files in the new LXFMT22 VMARC have dates in 1907, 1908, and 1912.
>  Either
> > we had some very forward-thinking programmers a hundred years ago, or
> there's
> > an error.  Is this a VMARC bug or a packaging error when the files were
> > created?
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
>
> --
> This message w/attachments (message) is intended solely for the use of the
> intended recipient(s) and may contain information that is privileged,
> confidential or proprietary. If you are not an intended recipient, please
> notify the sender, and then please delete and destroy all copies and
> attachments, and be advised that any review or dissemination of, or the
> taking of any action in reliance on, the information contained in or
> attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a
> solicitation of any investment products or other financial product or
> service, an official confirmation of any transaction, or an official
> statement of Sender. Subject to applicable law, Sender may intercept,
> monitor, review and retain e-communications (EC) traveling through its
> networks/systems and may produce any such EC to regulators, law
> enforcement, in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling
> of EC, and EC may be archived, supervis

Re: swap and RedHat kickstart

2012-04-12 Thread Scott Rohling
Is your kickstart file defining the DASD to be used and which should be
used as swap?  It needs to..   show us the pertinent statements in the ks
file if so..

Scott Rohling

On Thu, Apr 12, 2012 at 11:14 AM, Rothman, Peter <
peter.roth...@travelport.com> wrote:

> Our few linux servers have been stable for a few years now.
> We are working on installing a few new servers and I noticed something
> strange about swap after a kickstart.
>
> We use SWAPGEN to define swap at 201 and 202. The ks completes fine but we
> don't have any swap - "swapon -s" does not show anything.
> Even after a reboot the results are the same.
> However if I shutdown and log the server off then xautolog and have the
> swap redefined by SWAPGEN all is fine.
>
> The lines for swap in our profile exec are:
>
> 'EXEC SWAPGEN 201  524288' /* CREATE A 256M VDISK DISK SWAP */
> 'EXEC SWAPGEN 202 1048576' /* CREATE A 512M VDISK DISK SWAP */
>
> I am probably missing something - can anyone advise.
> Thanks
>
>
>
> If you are not the intended recipient of this e-mail message, please
> notify the sender
> and delete all copies immediately. The sender believes this message and
> any attachments
> were sent free of any virus, worm, Trojan horse, and other forms of
> malicious code.
> This message and its attachments could have been infected during
> transmission. The
> recipient opens any attachments at the recipient's own risk, and in so
> doing, the
> recipient accepts full responsibility for such actions and agrees to take
> protective
> and remedial action relating to any malicious code. Travelport is not
> liable for any
> loss or damage arising from this message or its attachments.
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount an AIX filesystem on zLinux?

2012-03-19 Thread Scott Rohling
Googling around looks like SLES doesn't support it - the utilities are no
longer included ...  but I believe all you'd need is the jfsutils rpm.

Anyway - yes - quite possible.   I searched on 'jfs s390x' to find info..

Scott Rohling

On Mon, Mar 19, 2012 at 5:54 PM, Jerry Park  wrote:

> Hi there,
>
> Is it possible to mount an AIX filesystem(JFS) on zLinux?
>
> One of my customer is considering about zLinux as their batch system.
> Their existing AIX systems are using Oracle, the customer wants to
> replicate their AIX Oracle disks to disks attached with zLinux,
> and mount this replicated AIX filesystems on zLinux, Oracle on zLinux
> reads data files on this mounted AIX filesystems.
>
> Is this possible story?
>
> --
> Jae-hwa(Jerry)  Park 
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2012-03-14 Thread Scott Rohling
Time to put the pipe down, brother :)

Scott Rohling

On Wed, Mar 14, 2012 at 3:43 PM, Shane G  wrote:

> This is just your friendly vendor messing with you.
> Not to mention LVM itself.
>
> An lv is not a volume, it's really a "partition" - no, wait, that's what a
> pv
> is ...
> Unless, of course, a pv is a full volume, and not a partition at all.
> And a vg is a group of volumes except when a pv is not a partition, but a
> volume, which makes the vg a group of ... never mind :eek:.
>
> Overloaded acronyms are always lots of "fun".
>
> Shane ...
>
> On Thu, Mar 15th, 2012 at 9:11 AM, Tom Duerbusch wrote:
>
> > Just have to know the secret handshake and all is well .
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2012-03-14 Thread Scott Rohling
just realized that the lvextend command I showed should be:   lvextend -L
+2G /dev/testvg/testlv

And - if the error is about resize - then it's likely because the
filesystem is mounted and you will need to unmount it.   If yast got that
far, I'm not sure what the state of your volume group is - so you may want
to do a vgdisplay -v to see if the device did get added to the vg..

Scott rohling

On Wed, Mar 14, 2012 at 11:42 AM, Scott Rohling wrote:

> It's not too difficult to do this on the command line:
>
> lsdasd  and figure out what the /dev/dasd device is - let's say it's dasdx
>
> format it:   dasdfmt -b 4096 /dev/dasdx
> partition it:   fdasd -a /dev/dasdx (make one partition using whole
> deice)
> lvm format:  pvcreate /dev/dasdx1
> add to volume group:vgextend vg-name /dev/dasdx1   (where vg-name is
> the volume group name you're extending)
>
> You can then issue appropriate lvextend command to add space to the
> logical volume..  for example - add 2G to to testlv in testvg:
>
> lvextend +L 2G /dev/testvg/testlv
>
> Then issue appropriate resize commands for whatever filesystem..
>
> Hope that helps - not sure about SLES or Yast system tools for this - I
> always use command line.
>
> Scott Rohling
>
>
> On Wed, Mar 14, 2012 at 11:28 AM, Tom Duerbusch <
> duerbus...@stlouiscity.com> wrote:
>
>> I have an existing LVM that is near out of space.
>> I created it with the defaults that came with SLES 11 SP 1.
>>
>> Now I need to add a drive to the LVM pool.  But there doesn't seem to be
>> an option to add a volume to the pool.
>>
>> I have done the same thing with SLES 8, 9 and 10, so it is not like I
>> don't have an understanding of what is needed.
>>
>> So, I'm wondering if SLES 11 SP 1 just didn't include that option by
>> mistake, or if the defaults changed to making striping, or something else
>> that prevents just adding a disk to the pool, that I didn't pay attention
>> to.
>>
>> I'm now on the tangent of bringing up a test SLES 11 SP 1 system that I
>> can crash and/or destroy while playing around on adding a pack to an
>> existing LVM.  But just in case it is something simple, it is better to ask
>> the collective, before I spend the hours on researching the problem.
>>
>> Thanks
>>
>> Tom Duerbusch
>> THD Consulting
>>
>> --
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2012-03-14 Thread Scott Rohling
It's not too difficult to do this on the command line:

lsdasd  and figure out what the /dev/dasd device is - let's say it's dasdx

format it:   dasdfmt -b 4096 /dev/dasdx
partition it:   fdasd -a /dev/dasdx (make one partition using whole
deice)
lvm format:  pvcreate /dev/dasdx1
add to volume group:vgextend vg-name /dev/dasdx1   (where vg-name is
the volume group name you're extending)

You can then issue appropriate lvextend command to add space to the logical
volume..  for example - add 2G to to testlv in testvg:

lvextend +L 2G /dev/testvg/testlv

Then issue appropriate resize commands for whatever filesystem..

Hope that helps - not sure about SLES or Yast system tools for this - I
always use command line.

Scott Rohling

On Wed, Mar 14, 2012 at 11:28 AM, Tom Duerbusch
wrote:

> I have an existing LVM that is near out of space.
> I created it with the defaults that came with SLES 11 SP 1.
>
> Now I need to add a drive to the LVM pool.  But there doesn't seem to be
> an option to add a volume to the pool.
>
> I have done the same thing with SLES 8, 9 and 10, so it is not like I
> don't have an understanding of what is needed.
>
> So, I'm wondering if SLES 11 SP 1 just didn't include that option by
> mistake, or if the defaults changed to making striping, or something else
> that prevents just adding a disk to the pool, that I didn't pay attention
> to.
>
> I'm now on the tangent of bringing up a test SLES 11 SP 1 system that I
> can crash and/or destroy while playing around on adding a pack to an
> existing LVM.  But just in case it is something simple, it is better to ask
> the collective, before I spend the hours on researching the problem.
>
> Thanks
>
> Tom Duerbusch
> THD Consulting
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: ZVM IPL Error

2012-03-07 Thread Scott Rohling
Enter FORCE ..  you shouldn't lose anything.

And the changes in SYSTEM CONFIG will be in effect the NEXT TIME YOU IPL in
the specified date ranges -- z/VM will not switch automatically -- those
values are only good at boot time.   You will have to specifically issue CP
SET TIMEZONE to get z/VM to change the time.   Or - reboot shortly after
the specified date/time defined in the CONFIG file if you're hankering for
a reboot :)

Scott Rohling

On Wed, Mar 7, 2012 at 8:33 AM, Dazzo, Matt  wrote:

> I had to add the timezone for 2012 in my SYSTEM CONFIG file. I thought
> (that's the problem) it might be a good idea to IPL for 2 reasons, first
> it's been months since vm was ipl'd, second I did not know if the changes
> would be in affect without it.
>
> Seems vm did not come down all the way even after waiting 10-15 minutes,
> so I did a load to restart and now have the following messages and can't
> find too much  on it on the internet. Aside from entering the FORCE seems I
> do not have much of an option? Any help is appreciated. Thanks Matt
>
> HCPSED6013A a cp read is pending
> Invalid warm start data encountered
> To change to a force start enter force
> To stop processing enter stop
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: LVM mount points

2012-02-23 Thread Scott Rohling
Likely lots of answers, but here's one flavor:

/var
/usr
/opt
/tmp
/home

Any directory that is prone to 'growth' is a likely candidate to be a
separate filesystem..

Scott Rohling

On Thu, Feb 23, 2012 at 7:43 AM, Mark Workman  wrote:

> What are recommended LVM mount points for a Linux guest?  I currently use
> /opt for my WebSphere installations, but occasionally fill up /.
>
> Thanks,
>
> Mark Workman
> Shelter Insurance Companies
> 573.214.4672
> mwork...@shelterinsurance.com
>
> This e-mail is intended only for its addressee and may contain information
> that is privileged, confidential, or otherwise protected from disclosure.
>  If
> you have received this communication in error, please notify us
> immediately by
> e-mailing postmas...@shelterinsurance.com; then delete the original
> message.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: RACF database during z/VM upgrade

2012-02-21 Thread Scott Rohling
You should not rebuild your RACF database..  you only do that the very
first time you install RACF.

You would typically add the RACF definitions for the new system
ids/minidisks  - like those buggers that change names (e.g. 6VMDIR10,
6VMTCP10) ...   and then at some point where you don't think backing off is
going to happen - remove the definitions for the old system ids (e.g.
5VMDIR40)..

I think rebuilding the RACF database just for a z/VM OS upgrade is madness
:)You don't want to start over - you want to 'manage' it.

Scott Rohling

On Tue, Feb 21, 2012 at 11:30 AM, Troy A Slaughter  wrote:

> I'm wondering how others update z/VM's RACF during a z/VM OS upgrade.
>  Given a scenario where a new z/VM OS is sitting on first level with it's
> own DASD.  How do you convert and merge the old database and the new ID
> entries into one unified RACF database?  In the past, I've would merge the
> two USER DIRECTs by appending my non system IDs from the old z/VM OS to the
> end of the new USER DIRECT.  Then I use the RACF utility to build a new
> database with the USER DIRECT as a source.  So, at least, all of the IDs
> exist.  The only problem with that is the customizations that have been
> made on the old database are lost.  User current passwords are lost...that
> sort of thing.  You can add the customizations manually to the output
> dataset before using it to create the database but that is error prone.
>
> How are others handling the RACF piece of a z/VM OS upgrade?
>
> Thanks
>
> *
>
> ___
> Troy Slaughter | Software Consultant | Mainframe Platform Engineering *
> 50 South Lasalle Street, LQ 11SE, Chicago, Illinois, 60603 | Phone
> 312-557-6322 | Cell 312-208-3735 | *t...@ntrs.com * 
> Please visit *northerntrust.com* <http://www.northerntrust.com/>
>
> CONFIDENTIALITY NOTICE: This communication is confidential, may be
> privileged and is meant only for the intended recipient. If you are not the
> intended recipient, please notify the sender ASAP and delete this message
> from your system.
>
> IRS CIRCULAR 230 NOTICE: To the extent that this message or any attachment
> concerns tax matters, it is not intended to be used and cannot be used by a
> taxpayer for the purpose of avoiding penalties that may be imposed by law.
> For more information about this notice, see *
> http://www.northerntrust.com/circular230*<http://www.northerntrust.com/circular230>
>
> P Please consider the environment before printing this e-mail.
>
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/
<>

Re: Error when trying to install CentOS 4.x on s390

2011-12-31 Thread Scott Rohling
Did 'you' format the DASD on this guest or was it perhaps already formatted
when it was on a bigger minidisk (and so wasn't re-formatted during
install)?

Scott Rohling

On Fri, Dec 30, 2011 at 12:34 PM, Cameron Seay  wrote:

> This is an error I get when going through the installation sequence for
> CentOS 4 on our z9:
>
> "EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block -
> inode=
> 13415,
> block=16395
> attempt to access beyond end of device"
>
> The DASD I am writing to has been formatted.  Anyone have any suggestions?
>
> Thanks.
>
> --
> Cameron Seay, Ph.D.
> Electronics, Computer and Information Technology
> School of Technology
> NC A & T State University
> Greensboro, NC
> 336 334 7717 x2251
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Running top on second level RHEL5

2011-12-15 Thread Scott Rohling
It depends on what you're trying to get from top.   If it's to find out the
highest users of cpu relative to others within the same virtual guest  -
it's fine..  If you're trying to compare this with something outside of
that virtual guest - or are looking for an accurate overall CPU usage for
the guest - it's not.

Scott Rohling

On Wed, Dec 14, 2011 at 11:25 AM, Shumate, Scott wrote:

> Quick question.  When you run top on RHEL5 linux on systemz, is it
> accurate or is it a best guess?
>
>
> Thanks
> Scott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: VDISK Swap

2011-10-31 Thread Scott Rohling
No - you must IPL CMS and issue it ..  usually in the PROFILE EXEC .. and
then IPL the right Linux disk.

Scott Rohling

On Mon, Oct 31, 2011 at 1:38 PM, Dean, David (I/S) wrote:

> Oh, so stupid question, can I just take off the cp part?
> As:
>
> > 'SWAPGEN 203 409600 ( REUSE FBA'
> > 'SWAPGEN 204 2097152 ( REUSE FBA'
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Mark Post
> Sent: Monday, October 31, 2011 3:31 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: VDISK Swap
>
> >>> On 10/31/2011 at 02:16 PM, "Dean, David (I/S)" 
> wrote:
> > Profile exec
> >
> > ADDRESS COMMAND
> > 'CP SET PF11 RETRIEVE FORWARD'
> > 'CP SET PF12 RETRIEVE BACKWARD'
> > 'CP SWAPGEN 203 409600 ( REUSE FBA'
> > 'CP SWAPGEN 204 2097152 ( REUSE FBA'
>
> SWAPGEN isn't a CP command, it's a REXX EXEC.
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Install tape driver error on zlinux

2011-10-19 Thread Scott Rohling
You're making too much sense here, David :)

Scott Rohling

On Wed, Oct 19, 2011 at 6:40 AM, David Boyes  wrote:

> > You also have to rebuild the thing after each kernel update.  Kind of a
> pain.
> > Especially if you forget and it's not functional anymore :)
>
> Look into DKMS. It can be configured to rebuild kernel modules
> automagically  when the kernel changes. Works fine for most of the parallel
> filesystem stuff we do, and that stuff gets really intimate with various
> bits of the kernel, far more so than the lin_tape driver does.
>
> Still, if IBM would document the ATL interface or provide a decent DFSMS
> RMM interface over TCP, we wouldn't have to mess with this driver idiocy
> release after release; we could just build it into 'mt' like the rest of the
> world has done. Or TSM could buy a clue and support the drives that most of
> us ACTUALLY have.
>
> There I go, thinking again.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: VDISK Swap

2011-10-06 Thread Scott Rohling
It's that new silicon smell  :)

Scott Rohling

On Thu, Oct 6, 2011 at 8:55 AM, David Stuart wrote:

> Now, how do you tell "Fresh zeros" from "stale zeros" that may be past
> their shelf life?
>
>
> Dave
>
>
>
> Dave Stuart
> Prin. Info. Systems Support Analyst
> County of Ventura, CA
> 805-662-6731
> david.stu...@ventura.org
>
>
>
> >>> rodgerd  10/5/2011 5:28 PM >>>
> snip
>
> "Fresh zeros" is a delightful turn of phrase that leads me to imagine busy
> little IBM gnomes parcelling them out.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Remote HMC access

2011-10-05 Thread Scott Rohling
Try port 443 - the https port...

Scott Rhling

On Wed, Oct 5, 2011 at 7:28 PM, Mike Myers  wrote:

> Doug:
>
> I now have the needed access to the University's network. Once in, I can
> PING the IP address that is supposed to be that of the HMC. However, I
> don't get the login screen. I am using IE with the address
> https://:433, where the correct IP address is
> inserted. This works fine on a z10 that I can remotely access at another
> client.
>
> I did create a userid for myself that had remote access permission, so
> things seem correct from the remote end, but the HMC isn't responding to
> the attempted connection. It might be the port number 433 is not correct
> for the HMC code version or it may be that the HMC just isn't accepting
> connections.
>
> You mentioned some bit needing to be set to allow communications with
> the HMC over the Net. I can't find any specific reference in either the
> HMC Handbook (version 7) - maybe this HMC code is at a lower level?  The
> HMC Operations manual talks about certificates, might that be the issue?
>
> Any ideas???
>
> Mike Myers
>
>
> On 10/04/2011 07:52 AM, Doug Fuerst wrote:
>
>> IIRC, the HMC can't respond to a ping unless the permission bit is set for
>> remote access. Can't ping something that is not enabled.
>>
>> Doug
>>
>> -Original Message-
>> From: Linux on 390 Port 
>> [mailto:LINUX-390@VM.MARIST.**EDU]
>> On Behalf Of Mike
>> Myers
>> Sent: Tuesday, October 04, 2011 7:23 AM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Remote HMC access
>>
>> Doug:
>>
>> I think it's a bit more basic than that. He is unable to PING the HMC.
>> Once in the VPN he can PING the gateway but the HMC doesn't respond to a
>> PING.
>>
>> It shouldn't take much more than connection to the net and an IP address
>> to respond to a PING, shouldn't it?
>>
>> Mike Myers
>>
>> On 10/03/2011 09:15 PM, Doug Fuerst wrote:
>>
>>> You need to read the appropriate HMC Operations Guide for the processor
>>>
>> you
>>
>>> have. Each is different depending on the HMC level. The books have a
>>>
>> section
>>
>>> on remote HMC operation and how to set it up. It is not just the IP
>>> addressing, it is also permissions in the userid's on the HMC.
>>>
>>> Doug Fuerst
>>>
>>> -Original Message-
>>> From: Linux on 390 Port 
>>> [mailto:LINUX-390@VM.MARIST.**EDU]
>>> On Behalf Of
>>> Cameron Seay
>>> Sent: Monday, October 03, 2011 8:38 PM
>>> To:LINUX-390@VM.MARIST.EDU
>>> Subject: Remote HMC access
>>>
>>> This is not a VM question per se, but maybe the group can help me.  I am
>>> trying to access my HMC remotely.  My school requires I use a VPN.  The
>>> IP
>>> address, gateway and mask are  set by my school, and are supposed to work
>>> with this VPN.  I can ping the Gateway from home, but not the assigned IP
>>> (it is static and not DHCP).
>>>
>>> I used the CUSTOM NETWORK SETTINGS in the HMC, but I think I must have
>>> missed a setting.  I have the IP set for eth0 and "routing enable".  Does
>>> anyone know the generic settings for remote HMC access?  Thanks.
>>>
>>> --
>>> Cameron Seay, Ph.D.
>>> Electronics, Computer and Information Technology
>>> School of Technology
>>> NC A&   T State University
>>> Greensboro, NC
>>> 336 334 7717 x2251
>>>
>>> --**--**
>>> --
>>> For LINUX-390 subscribe / signoff / archive access instructions,
>>> send email tolists...@vm.marist.edu  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 tolists...@vm.marist.edu  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 lists...@vm.marist.edu 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 lists...@vm.marist.edu with the message: INFO LINUX-390 o

Re: FW: VDISK Swap

2011-10-05 Thread Scott Rohling
Actually - the bit checking for a userid() EXEC will see RC0 and try and
execute every time -- the rc ^= 28 is checking the rc of the SET CMSTYPE RT
- not the STATE.  Use PIPE (e.g. PIPE CMS STATE .   | HOLE) and forget
about CMSTYPE ;-)

Scott Rohling

On Wed, Oct 5, 2011 at 2:18 PM, David Boyes  wrote:

> Bletch. Left out a line in previous post. Use this step 3 instead.
>
>
> > 3) Create a PROFILE EXEC on COMMON 191 that looks something like this:
> >
>  /* REXX */
>  'say 'Formatting swap disks'
>  'SWAPGEN ' /* replace xxx with correct swapgen parms */
>  'SET CMSTYPE HT'
>  u = userid()
>  'STATE' u 'EXEC A'
> 'SET CMSTYPE RT'
>  If rc ^= 28 then do
>   'EXEC' u 'EXEC A'
>  end
>  say 'Booting Linux'
>  'CP IPL 150'
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: VDISK Swap

2011-10-05 Thread Scott Rohling
You can just do SWAPGEN - you don't need mkswap since SWAPGEN writes the
swap signature.   I think SWAPGEN will create the vdisks if they don't
already exist or will use the one in place if it already exists..

Scott Rohling

On Wed, Oct 5, 2011 at 2:21 PM, Dean, David (I/S) wrote:

> Yes, vdisk.  Do I have do I have to do both (swapgen and mkswap)? Or can I
> just do cms swapgen and then have them (vdisks) defined in user dir?
>
> Anyway, thanks all for the direction, guess it is time to read...
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Scott Rohling
> Sent: Wednesday, October 05, 2011 3:11 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: VDISK Swap
>
> Are they defined as VDISK?  If so - you have to mkswap them each boot..  or
> use SWAPGEN to create them...  if they are on DASD you shouldn't have to do
> this after initial formatting - so not sure what's up.
>
> Scott Rohling
>
> On Wed, Oct 5, 2011 at 1:04 PM, Dean, David (I/S)  >wrote:
>
> > Why do my swap disks go away when the zvm is ipl'ed?  They are defined in
> > the USER DIRECTORY, they are then created on each Linux box as swap
> drives
> > through partitioning, and exist in the fstab as swap disks.  After a
> recent
> > IPL, I had to re partition each drive...
> >
> > 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: VDISK Swap

2011-10-05 Thread Scott Rohling
You would IPL CMS first - have the PROFILE EXEC issue SWAPGEN to create one
or more swapdisks -- and then IPL the Linux disk from the PROFILE EXEC.
 Note that SWAPGEN is from SineNomine and offered as a free download..

Scott Rohling

On Wed, Oct 5, 2011 at 1:31 PM, Dean, David (I/S) wrote:

> No, the only place I have them defined is in the USER DIR.  Where do I put
> swapgen exec.
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
> Post
> Sent: Wednesday, October 05, 2011 3:15 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: VDISK Swap
>
> >>> On 10/5/2011 at 03:04 PM, "Dean, David (I/S)" 
> wrote:
> > Why do my swap disks go away when the zvm is ipl'ed?  They are defined in
> the
> > USER DIRECTORY, they are then created on each Linux box as swap drives
> > through partitioning, and exist in the fstab as swap disks.  After a
> recent
> > IPL, I had to re partition each drive...
>
> Do your guests IPL CMS and run SWAPGEN EXEC before Linux gets IPLed?
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: VDISK Swap

2011-10-05 Thread Scott Rohling
Are they defined as VDISK?  If so - you have to mkswap them each boot..  or
use SWAPGEN to create them...  if they are on DASD you shouldn't have to do
this after initial formatting - so not sure what's up.

Scott Rohling

On Wed, Oct 5, 2011 at 1:04 PM, Dean, David (I/S) wrote:

> Why do my swap disks go away when the zvm is ipl'ed?  They are defined in
> the USER DIRECTORY, they are then created on each Linux box as swap drives
> through partitioning, and exist in the fstab as swap disks.  After a recent
> IPL, I had to re partition each drive...
>
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: parmfile with vlan definition

2011-10-02 Thread Scott Rohling
Do you mean the z/VM SYSTEM CONFIG file (answer is yes) - or Linux network
config files?  (again answer is yes)  or something else?

Scott Rohling

2011/10/1 Rogério Soares 

> Hello list,
>
>  it is possible set vlan parameters on parm file ?
>
>
> Tia,
>
>  Rogério Soares
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Window question

2011-09-26 Thread Scott Rohling
As I recall:DIR Z:

Scott Rohling

On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen  wrote:

>   Does any know the command in WINDOW where I can list every
> files/directories
>   Under my Z drive.
>
>
>   Similar to the Linux command of
>   "ls -lR" where I can list all the files/directory under the file system.
>
>Thanks
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
> Post
> Sent: Monday, September 26, 2011 3:37 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: RH NFS Server
>
> >>> On 9/26/2011 at 03:04 PM, "Dazzo, Matt"  wrote:
> > I finally got some messages to the /var/log/messages file. What might
> these
> > means? Thanks Matt
> >
> > Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
> > 27.1.39.74:1023 for /home/matt (/home/matt)
> > Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
> > (27.1.39.74:1062)!
> > [root@lntest1 log]#
>
> It means that the z/OS client initiated the mount request on outgoing port
> 1062.  Since only root can open ports between 0-1023, those are called
> 'secure ports" and anything else is referred to as "unprivileged" or
> "insecure" ports.  Some NFS server implementations don't like mount requests
> coming in on unprivileged ports, since it means that some process that might
> not be running as root has done that.
>
> I don't recall if the z/OS NFS client can be made to only make requests on
> secure ports or not.  If not, then you'll have to tell your NFS server to
> accept requests on unprivileged ports.
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> Please consider the environment before printing this email.
>
> Visit our website at http://www.nyse.com
>
> 
>
> Note:  The information contained in this message and any attachment to it
> is privileged, confidential and protected from disclosure.  If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error, please notify the sender immediately by replying to
> the message, and please delete it from your system.  Thank you.  NYSE
> Euronext.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: RH NFS Server

2011-09-20 Thread Scott Rohling
Nothing special about z in this respect --  here's a good page to view:
http://nfs.sourceforge.net/nfs-howto/ar01s03.html#config_server_setup

Scott Rohling

On Tue, Sep 20, 2011 at 8:56 AM, Dazzo, Matt  wrote:

> I would like to nfs mount a filesystem that resides on a vm/Linux server
> onto mvs in hopes of maybe backing it up to tape. I have configured both the
> nfs client and server on mvs. Now I need to configure the nfs server on
> Linux 5.5, according to the good book I need to configure the /etc/exports
> file. I am looking for a sample exports file of a similar requirement,
> anyone care to share?
>
> Thanks Matt
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Ubuntu on z?

2011-09-08 Thread Scott Rohling
Is Debian on server better then Ubuntu?   I'm happy to learn :-)  I just
prefer to run the same distro across my devices... and Ubuntu was the first
desktop distro that worked out of the box on my laptop and desktop.  That's
what made me an Ubuntu fan, and as such I use their other versions as well.


Scott Rohling

On Thu, Sep 8, 2011 at 9:31 AM, Sergey Korzhevsky wrote:

> Hi,
>   A little bit offtopic, but i can't resist to ask, why you use Ubuntu
> and not Debian on server?
>
> Thanks.
>
>
>
>
>WBR, Sergey
>
>
>
>
> Scott Rohling 
> Sent by: Linux on 390 Port 
> 08-09-11 18:06
> Please respond to Linux on 390 Port
>
>To: LINUX-390@VM.MARIST.EDU
>cc:
>Subject:Re: Ubuntu on z?
>
>
> Excellent!   I have been running Ubuntu (desktop, server, netbook) on all
> my
> computing devices for the last 3 years..  things 'just work'.   And Debian
> and it's package manager and .deb structure is just better than rpm IMHO.
> Hope this works out - love to see a new face in the mix here...  tres
> cool.
>
> Scott Rohling
>
> On Thu, Sep 8, 2011 at 8:54 AM, Neale Ferguson 
> wrote:
>
> > http://www.linuxtoday.com/infrastructure/2011090700941OSHWUB
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Ubuntu on z?

2011-09-08 Thread Scott Rohling
Excellent!   I have been running Ubuntu (desktop, server, netbook) on all my
computing devices for the last 3 years..  things 'just work'.   And Debian
and it's package manager and .deb structure is just better than rpm IMHO.
Hope this works out - love to see a new face in the mix here...  tres cool.

Scott Rohling

On Thu, Sep 8, 2011 at 8:54 AM, Neale Ferguson  wrote:

> http://www.linuxtoday.com/infrastructure/2011090700941OSHWUB
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Question - listserv mail management

2011-08-30 Thread Scott Rohling
Wouldn't you just look for sender  "LINUX-390@vm.marist.edu"?

Scott Rohling

On Tue, Aug 30, 2011 at 8:09 AM, Lionel Dyck  wrote:

> I changed my subscription to digest as I could find no way using Lotus
> Notes to filter incoming messages to put them into a unique folder.
>
> Can anyone provide a suggestion on how to identify posts on this listserv
> when they arrive in my inbox so that I can easily route them to a folder?
>
> Thanks
>
> Lionel
>
>
> Lionel B. Dyck <><
> z Client Architect
> IBM Corporation - West IMT
>
> Mobile Phone: 1-925-207-4518
> E-mail: lionel.d...@us.ibm.com
> System z: www-03.ibm.com/systems/z/
> Linux on z: http://www-03.ibm.com/systems/z/os/linux/
> Destination z: http://www-03.ibm.com/systems/z/destinationz/index.html/
>
> "Think Inside the z Box"
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount error - Network config problem

2011-08-25 Thread Scott Rohling
If ifconfig command works - you shouldn't need to restart the network ...
 what does 'ifconfig' all by itself show right after the ifconfig eth0
10.241.1.193..  command?   Before we see if the network startup works --
I want to see if the network can be configured manually..  if so - then we
know the problem is somewhere in the network config files.

Scott Rohling

On Thu, Aug 25, 2011 at 9:24 AM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> This command works but , when I am restarting  network service usnig below
> command
>
> service network restart again , I dont see anthing in ifconfig for eth0.
>
> Not sure why it is happening or is it required to restart nework service
> before using the ip.
>
> Thanks & Regards
> Saurabh
>
> On Thu, Aug 25, 2011 at 8:40 PM, Edmund R. MacKenty <
> ed.macke...@rocketsoftware.com> wrote:
>
> > On Thursday, August 25, 2011 10:48:51 am you wrote:
> > > in the suggested ifconfig command, what is the third ip address is for
> ?
> > >
> > > ifconfig eth0 10.10.21.20 netmask 255.255.255.0 *addr 10.10.21.255* up
> > ...
> > >getting below error
> > >
> > >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.241.1.255 up
> > >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.24  > >10.241.1.193 n
> > >etmask 255.255.248.0 addr 10.241
> > >  .1.255 up
> > >addr: Unknown host
> > >ifconfig: `--help' gives usage information.
> > >sles10:/var/log #
> >
> > I think Scott meant for that to be the broadcast address.  That sure
> looks
> > like a broadcast address to me.  But there's no "addr" keyword for the
> > ifconfig command, so I think you should use the "broadcast" keyword
> > instead.
> > Try this:
> >
> > ifconfig eth0 10.241.1.193 netmask 255.255.255.0 broadcast 10.241.1.255
> up
> >
> > Be sure to use that 255.255.255.0 netmask.
> > - MacK.
> > -
> > Edmund R. MacKenty
> > Software Architect
> > Rocket Software
> > 275 Grove Street  -  Newton, MA 02466-2272  -  USA
> > Tel: +1.617.614.4321
> > Email: m...@rs.com
> > Web: www.rocketsoftware.com
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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/
> >
>
>
>
> --
> Thanks & Regards
> Saurabh Khandelwal
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount error - Network config problem

2011-08-25 Thread Scott Rohling
You should not have to restart the network, no ..what does 'ifconfig'
and 'route' show after manually configuring?

Scott Rohling

On Thu, Aug 25, 2011 at 11:20 AM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> no.. after manually configure ifconfig. also  I am not able to use
> network..
>
> I think we need to restart network service after manual configure
> ifconfig..
> But still i am not sure on this. Please correct me, if I am wrong.
>
> THanks & Regards
> Saurabh
>
> On Thu, Aug 25, 2011 at 10:29 PM, Scott Rohling  >wrote:
>
> > Looks to me like no attempt is made to bring up eth0 at all..
> >
> > If you manually configure with ifconfig - are you able to use the
> network?
> >  If so - I would ssh in and then use 'yast' to setup the network..
> >
> > Scott Rohling
> >
> > On Thu, Aug 25, 2011 at 10:41 AM, saurabh khandelwal <
> > sourabhkhandelwal...@gmail.com> wrote:
> >
> > > yes. I dont see any error in /var/log/message.
> > >
> > > But when I tried lokking at log in 3215 also I just got below line.
> > >
> > >
> > >
> > > Setting up hostname 'sles10'..done""
> > > Setting up loopback interface lo""
> > > loIP address: 127.0.0.1/8   ""
> > > ..done""
> > > Loading AppArmor module ..done""
> > > Mounting securityfs on /sys/kernel/security ..done""
> > > Loading AppArmor profiles ..done""
> > > ip6_tables: (C) 2000-2006 Netfilter Core Team
> > > ip_tables: (C) 2000-2006 Netfilter Core Team
> > > Netfilter messages via NETLINK v0.30.
> > > ip_conntrack version 2.4 (8192 buckets, 65536 max) - 296 bytes per
> > > conntrack
> > > Creating /var/log/boot.msg""
> > >
> > > But it doesn't have much information about network error.
> > >
> > > Thanks & Regards
> > > Saurabh
> > >
> > > On Thu, Aug 25, 2011 at 10:04 PM, Mark Post  wrote:
> > >
> > > > >>> On 8/25/2011 at 12:02 PM, "Edmund R. MacKenty" <
> > > > ed.macke...@rocketsoftware.com>
> > > > wrote:
> > > > > You might also want to take a look at the end of /var/log/messages
> to
> > > see
> > > > if
> > > > > any errors generated while you do the "service network restart"
> > appear
> > > in
> > > > > there.
> > > >
> > > > They probably won't show up there.  They most definitely should show
> up
> > > on
> > > > the 3215 console, however.
> > > >
> > > >
> > > > Mark Post
> > > >
> > > >
> --
> > > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > > send email to lists...@vm.marist.edu 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/
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks & Regards
> > > Saurabh Khandelwal
> > >
> > > --
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
> >
>
>
>
> --
> Thanks & Regards
> Saurabh Khandelwal
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount error - Network config problem

2011-08-25 Thread Scott Rohling
Looks to me like no attempt is made to bring up eth0 at all..

If you manually configure with ifconfig - are you able to use the network?
 If so - I would ssh in and then use 'yast' to setup the network..

Scott Rohling

On Thu, Aug 25, 2011 at 10:41 AM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> yes. I dont see any error in /var/log/message.
>
> But when I tried lokking at log in 3215 also I just got below line.
>
>
>
> Setting up hostname 'sles10'..done""
> Setting up loopback interface lo""
> loIP address: 127.0.0.1/8   ""
> ..done""
> Loading AppArmor module ..done""
> Mounting securityfs on /sys/kernel/security ..done""
> Loading AppArmor profiles ..done""
> ip6_tables: (C) 2000-2006 Netfilter Core Team
> ip_tables: (C) 2000-2006 Netfilter Core Team
> Netfilter messages via NETLINK v0.30.
> ip_conntrack version 2.4 (8192 buckets, 65536 max) - 296 bytes per
> conntrack
> Creating /var/log/boot.msg""
>
> But it doesn't have much information about network error.
>
> Thanks & Regards
> Saurabh
>
> On Thu, Aug 25, 2011 at 10:04 PM, Mark Post  wrote:
>
> > >>> On 8/25/2011 at 12:02 PM, "Edmund R. MacKenty" <
> > ed.macke...@rocketsoftware.com>
> > wrote:
> > > You might also want to take a look at the end of /var/log/messages to
> see
> > if
> > > any errors generated while you do the "service network restart" appear
> in
> > > there.
> >
> > They probably won't show up there.  They most definitely should show up
> on
> > the 3215 console, however.
> >
> >
> > Mark Post
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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/
> >
>
>
>
> --
> Thanks & Regards
> Saurabh Khandelwal
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount error - Network config problem

2011-08-25 Thread Scott Rohling
Yes meant for that to be broadcast - thanks Edmund - had a brain hiccup :)

Scott Rohling

On Thu, Aug 25, 2011 at 9:10 AM, Edmund R. MacKenty <
ed.macke...@rocketsoftware.com> wrote:

> On Thursday, August 25, 2011 10:48:51 am you wrote:
> > in the suggested ifconfig command, what is the third ip address is for ?
> >
> > ifconfig eth0 10.10.21.20 netmask 255.255.255.0 *addr 10.10.21.255* up
> ...
> >getting below error
> >
> >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.241.1.255 up
> >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.24  >10.241.1.193 n
> >etmask 255.255.248.0 addr 10.241
> >  .1.255 up
> >addr: Unknown host
> >ifconfig: `--help' gives usage information.
> >sles10:/var/log #
>
> I think Scott meant for that to be the broadcast address.  That sure looks
> like a broadcast address to me.  But there's no "addr" keyword for the
> ifconfig command, so I think you should use the "broadcast" keyword
> instead.
> Try this:
>
> ifconfig eth0 10.241.1.193 netmask 255.255.255.0 broadcast 10.241.1.255 up
>
> Be sure to use that 255.255.255.0 netmask.
> - MacK.
> -
> Edmund R. MacKenty
> Software Architect
> Rocket Software
> 275 Grove Street  -  Newton, MA 02466-2272  -  USA
> Tel: +1.617.614.4321
> Email: m...@rs.com
> Web: www.rocketsoftware.com
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Mount error - Network config problem

2011-08-25 Thread Scott Rohling
What happens if you issue the 'ifconfig' command yourself to configure?
ex:
ifconfig eth0 10.10.21.20 netmask 255.255.255.0 addr 10.10.21.255 up

Also - is your 468 address attached to a VSWITCH?   Does a Q VSWITCH DETAILS
show the guest is attached and has assigned an IP?
Is this layer2 or layer3?

Scott Rohling

On Thu, Aug 25, 2011 at 7:54 AM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> I deleted NETWORK  parameter from this file . and I restarted netork from
>
> service network restart command  but still i am not getting my ip address
> in
> ifconfig and network is not up.
>
>
>
> On Thu, Aug 25, 2011 at 7:02 PM, saurabh khandelwal <
> sourabhkhandelwal...@gmail.com> wrote:
>
> > Does it necessary to code network parameter in this.
> >
> >
> > On Thu, Aug 25, 2011 at 6:28 PM, Raymond Higgs  >wrote:
> >
> >> Your netmask and network aren't consistent.
> >>
> >> NETMASK=255.255.248.0
> >> NETWORK=10.241.1.0
> >>
> >> If the network is correct, shouldn't the netmask be 255.255.255.0 ?
> >>
> >> Regards,
> >>
> >> Ray Higgs
> >> System z FCP Firmware Development
> >> Bld. 706, B42
> >> 2455 South Road
> >> Poughkeepsie, NY 12601
> >> (845) 435-8666,  T/L 295-8666
> >> rayhi...@us.ibm.com
> >>
> >> Linux on 390 Port  wrote on 08/25/2011
> 02:50:41
> >> AM:
> >>
> >> > From: saurabh khandelwal 
> >> > To: LINUX-390@vm.marist.edu
> >> > Date: 08/25/2011 02:55 AM
> >> > Subject: Re: Mount error - Network config problem
> >> > Sent by: Linux on 390 Port 
> >> >
> >> > Thanks to all for solving the problem. There was two logical volume
> and
> >> I
> >> > was able to monut and created network config.  Then I bring down the
> >> > sles9sp2 and unmobut the sles10 logical disk.
> >> >
> >> > Then I bring sles10 z/linux up but its it not taking the netwokr
> >> > configuration.
> >> >
> >> >
> >> >
> >> > sles10:/etc/sysconfig/network # ls
> >> > ls
> >> > bkp-ifcfg-qeth-bus-ccw-0.0.0468  ifcfg-qeth-bus-ccw-0.0.0468
> >> > config   ifcfg.template
> >> > dhcp ifroute-lo
> >> > if-down.difservices.template
> >> > if-up.d  providers
> >> > ifcfg-eth0   routes
> >> > ifcfg-lo scripts
> >> > sles10:/etc/sysconfig/network #
> >> >
> >> >
> >> > I modified the  ifcfg-qeth-bus-ccw-0.0.0468 file  and route file for
> >> netwokr
> >> > configuration
> >> >
> >> >
> >> > sles10:/etc/sysconfig/network # cat ifcfg-qeth-bus-ccw-0.0.0468
> >> > cat ifcfg-qeth-bus-ccw-0.0.0468
> >> > BOOTPROTO=STATIC
> >> > IPADDR=10.241.1.193
> >> > STARTMODE=ONBOOT
> >> > NETMASK=255.255.248.0
> >> > NETWORK=10.241.1.0
> >> > BROADCAST=10.241.1.255
> >> > _nm_name=qeth-bus-ccw-0.0.0468
> >> > sles10:/etc/sysconfig/network #
> >> >
> >> >
> >> > sles10:/etc/sysconfig/network # cat routes
> >> > cat routes
> >> > default 10.241.0.1 - -
> >> > sles10:/etc/sysconfig/network #
> >> >
> >> >
> >> >
> >> > sles10:/etc/sysconfig/network # ifconfig
> >> > ifconfig
> >> > loLink encap:Local Loopback
> >> >   inet addr:127.0.0.1  Mask:255.0.0.0
> >> >   inet6 addr: ::1/128 Scope:Host
> >> >   UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >> >   RX packets:10 errors:0 dropped:0 overruns:0 frame:0
> >> >   TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
> >> >   collisions:0 txqueuelen:0
> >> >   RX bytes:652 (652.0 b)  TX bytes:652 (652.0 b)
> >> >
> >> > sles10:/etc/sysconfig/network #
> >> >
> >> >
> >> > looks like system is not able to pick the netowrk configuration file..
> >> Can
> >> > you please help with points that where i am making mistake.
> >> >
> >> > Thanks & Regards
> >> > Saurabh
> >> >
> >> > On Thu, Aug 25, 2011 at 12:43 AM, Scott Rohling
> >> > wrote:
&g

Re: Mount error

2011-08-24 Thread Scott Rohling
Sorry - try 'vgdisplay -v system' -- this should show the logical volumes
and also the disks that make up the volumes.  And there is also 'lvscan' to
see logical volumes.

Let's say that you see there is a 'root' logical volume -- then to mount:

mount /dev/system/root /mnt

Scott Rohling

On Wed, Aug 24, 2011 at 12:55 PM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> I have followed the sugged way to find out, if these disk are part of LVM.
>
> O/P of command issued
>
> sles9sp2:~ # pvscan
> pvscan
>  PV /dev/dasdl1   VG system   lvm2 -2.29 GB / 0free-
>  PV /dev/dasdm1   VG system   lvm2 -2.29 GB / 0free-
>  Total: 2 -4.58 GB- / in use: 2 -4.58 GB- / in no VG: 0 -0   -
> sles9sp2:~ #
>
>
> sles9sp2:~ # vgscan
> vgscan
>  Reading all physical volumes.  This may take a while...
>  Found volume group "system" using metadata type lvm2
> sles9sp2:~ #
>
>
>
> then I activted this LVM and
>
> sles9sp2:~ # vgdisplay
> vgdisplay
>  --- Volume group ---
>  VG Name   system
>  System ID
>  Formatlvm2
>  Metadata Areas2
>  Metadata Sequence No  3
>  VG Access read/write
>
>  VG Status resizable
>  MAX LV0
>  Cur LV2
>  Open LV   0
>  Max PV0
>  Cur PV2
>  Act PV2
>  VG Size   4.58 GB
>  PE Size   4.00 MB
>  Total PE  1172
>  Alloc PE / Size   1172 / 4.58 GB
>  Free  PE / Size   0 / 0
>  VG UUID   kKrkDt-61J0-GnEs-ei7T-vabU-NDNo-pZxQsN
>
> sles9sp2:~ #
>
>
>
> Can you please suggest, now what will the the command to mount and which
> logical volume has to be monut
>
> Thanks & Regards
> Saurabh
>
>
> On Wed, Aug 24, 2011 at 11:58 PM, Scott Rohling  >wrote:
>
> > Do a 'pvscan' and 'vgscan' to see if these are actually disks belonging
> to
> > an LVM --  you won't be able to mount these directly...If you find
> the
> > disks are an LVM -- (let's say it's called 'system'):
> >
> > vgchange -ay system  (activate the LVM)
> >
> > Then you can vgdisplay system and figure out what logical volume you can
> > mount.
> >
> > If you already use LVM on the system you are linking the disks from and
> use
> > the same names -- then you won't be able to mount since they are
> > duplicates.
> >
> > Scott Rohling
> >
> > On Wed, Aug 24, 2011 at 12:18 PM, saurabh khandelwal <
> > sourabhkhandelwal...@gmail.com> wrote:
> >
> > > Hello Ron,
> > >  The problem is I don't know in which volume /etc is
> > > mounted in the for the sles10 mini disk.  I am really confused that Why
> I
> > > am
> > > able to mount only first disk of sles10. But rest of the sles10 mini
> disk
> > I
> > > am bot able to mount and getting error.  device number 300 to 304
> belong
> > to
> > > sles10 system.
> > >
> > > Below is the output of lsdasd command from sles9sp2 system.
> > >
> > > 0.0.0200(ECKD) at ( 94:  0) is dasda  : active at blocksize 4096,
> > > 1802880 bl
> > > ocks, 7042 MB
> > > 0.0.0300(ECKD) at ( 94: 40) is dasdk  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0301(ECKD) at ( 94: 44) is dasdl  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0302(ECKD) at ( 94: 48) is dasdm  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0303(ECKD) at ( 94: 52) is dasdn  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0304(ECKD) at ( 94: 56) is dasdo  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > >
> > >
> > > Also  when I am trying to monut these dasd, I am getting below error
> > >
> > > sles9sp2:~ # mount /dev/dasdl1 /d1
> > > mount /dev/dasdl1 /d1
> > > mount: /dev/dasdl1 already mounted or /d1 busy
> > >
> > >
> > > sles9sp2:~ # mount /dev/dasdm1 /d1
> > > mount /dev/dasdm1 /d1
> > > mount: /dev/dasdm1 already mounted or /d1 busy
> > >
> > >
> > > sles9sp2:~ # mount /dev/dasdn1 /d1
> > > mount /dev/dasdn1 /d1
> > > FAT: bogus number of reserved sectors
>

Re: Mount error

2011-08-24 Thread Scott Rohling
You had indicated 300-304 were the sles10 disks..   are they all linked and
active?  If so - the pvscan and vgscan should pick them up.. if not -- not
sure what to say -- you need to get all the disks that are part of the LVM
for sles10.

Scott Rohling

On Wed, Aug 24, 2011 at 12:43 PM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> Thanks for reply. From the system(sles10) I got these disk is logged of
> now.
>
> Now I just have sles9sp2 z/linux up. using sles9sp2, how do I find that
> remaining 4 disk of sles10, which we are not able to mount is part of LVM,
> as those disk actually belong to sles10 not sles9sp2.
>
> Please guide me on this.
>
> Regards
> Saurabh
>
> On Wed, Aug 24, 2011 at 11:58 PM, Scott Rohling  >wrote:
>
> > Do a 'pvscan' and 'vgscan' to see if these are actually disks belonging
> to
> > an LVM --  you won't be able to mount these directly...If you find
> the
> > disks are an LVM -- (let's say it's called 'system'):
> >
> > vgchange -ay system  (activate the LVM)
> >
> > Then you can vgdisplay system and figure out what logical volume you can
> > mount.
> >
> > If you already use LVM on the system you are linking the disks from and
> use
> > the same names -- then you won't be able to mount since they are
> > duplicates.
> >
> > Scott Rohling
> >
> > On Wed, Aug 24, 2011 at 12:18 PM, saurabh khandelwal <
> > sourabhkhandelwal...@gmail.com> wrote:
> >
> > > Hello Ron,
> > >  The problem is I don't know in which volume /etc is
> > > mounted in the for the sles10 mini disk.  I am really confused that Why
> I
> > > am
> > > able to mount only first disk of sles10. But rest of the sles10 mini
> disk
> > I
> > > am bot able to mount and getting error.  device number 300 to 304
> belong
> > to
> > > sles10 system.
> > >
> > > Below is the output of lsdasd command from sles9sp2 system.
> > >
> > > 0.0.0200(ECKD) at ( 94:  0) is dasda  : active at blocksize 4096,
> > > 1802880 bl
> > > ocks, 7042 MB
> > > 0.0.0300(ECKD) at ( 94: 40) is dasdk  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0301(ECKD) at ( 94: 44) is dasdl  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0302(ECKD) at ( 94: 48) is dasdm  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0303(ECKD) at ( 94: 52) is dasdn  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > > 0.0.0304(ECKD) at ( 94: 56) is dasdo  : active at blocksize 4096,
> > > 600840
> > > blo
> > > cks, 2347 MB
> > >
> > >
> > > Also  when I am trying to monut these dasd, I am getting below error
> > >
> > > sles9sp2:~ # mount /dev/dasdl1 /d1
> > > mount /dev/dasdl1 /d1
> > > mount: /dev/dasdl1 already mounted or /d1 busy
> > >
> > >
> > > sles9sp2:~ # mount /dev/dasdm1 /d1
> > > mount /dev/dasdm1 /d1
> > > mount: /dev/dasdm1 already mounted or /d1 busy
> > >
> > >
> > > sles9sp2:~ # mount /dev/dasdn1 /d1
> > > mount /dev/dasdn1 /d1
> > > FAT: bogus number of reserved sectors
> > > VFS: Can't find a valid FAT filesystem on dev dasdn1.
> > > Aug 24 11:14:42 sles9sp2 kernel: FAT: bogus number of reserved sectors
> > > Aug 24 11:14:42 sles9sp2 kernel: VFS: Can't find a valid FAT filesystem
> > on
> > > dev d
> > > asdn1.
> > > mount: you must specify the filesystem type
> > >
> > >
> > > sles9sp2:~ # mount /dev/dasdo1 /d1
> > > mount /dev/dasdo1 /d1
> > > FAT: bogus number of reserved sectors
> > > VFS: Can't find a valid FAT filesystem on dev dasdo1.
> > > Aug 24 11:15:07 sles9sp2 kernel: FAT: bogus number of reserved sectors
> > > Aug 24 11:15:07 sles9sp2 kernel: VFS: Can't find a valid FAT filesystem
> > on
> > > dev d
> > > asdo1.
> > > mount: you must specify the filesystem type
> > >
> > > Output of df -h from sles9sp2
> > >
> > >
> > > sles9sp2:~ # df -h
> > > df -h
> > > FilesystemSize  Used Avail Use% Mounted on
> > > /dev/dasda1   6.8G  1.9G  4.7G  29% /
> > > tmpfs1002M  4.0K 1002M   1% /dev

Re: Mount error

2011-08-24 Thread Scott Rohling
Do a 'pvscan' and 'vgscan' to see if these are actually disks belonging to
an LVM --  you won't be able to mount these directly...If you find the
disks are an LVM -- (let's say it's called 'system'):

vgchange -ay system  (activate the LVM)

Then you can vgdisplay system and figure out what logical volume you can
mount.

If you already use LVM on the system you are linking the disks from and use
the same names -- then you won't be able to mount since they are duplicates.

Scott Rohling

On Wed, Aug 24, 2011 at 12:18 PM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

> Hello Ron,
>  The problem is I don't know in which volume /etc is
> mounted in the for the sles10 mini disk.  I am really confused that Why I
> am
> able to mount only first disk of sles10. But rest of the sles10 mini disk I
> am bot able to mount and getting error.  device number 300 to 304 belong to
> sles10 system.
>
> Below is the output of lsdasd command from sles9sp2 system.
>
> 0.0.0200(ECKD) at ( 94:  0) is dasda  : active at blocksize 4096,
> 1802880 bl
> ocks, 7042 MB
> 0.0.0300(ECKD) at ( 94: 40) is dasdk  : active at blocksize 4096,
> 600840
> blo
> cks, 2347 MB
> 0.0.0301(ECKD) at ( 94: 44) is dasdl  : active at blocksize 4096,
> 600840
> blo
> cks, 2347 MB
> 0.0.0302(ECKD) at ( 94: 48) is dasdm  : active at blocksize 4096,
> 600840
> blo
> cks, 2347 MB
> 0.0.0303(ECKD) at ( 94: 52) is dasdn  : active at blocksize 4096,
> 600840
> blo
> cks, 2347 MB
> 0.0.0304(ECKD) at ( 94: 56) is dasdo  : active at blocksize 4096,
> 600840
> blo
> cks, 2347 MB
>
>
> Also  when I am trying to monut these dasd, I am getting below error
>
> sles9sp2:~ # mount /dev/dasdl1 /d1
> mount /dev/dasdl1 /d1
> mount: /dev/dasdl1 already mounted or /d1 busy
>
>
> sles9sp2:~ # mount /dev/dasdm1 /d1
> mount /dev/dasdm1 /d1
> mount: /dev/dasdm1 already mounted or /d1 busy
>
>
> sles9sp2:~ # mount /dev/dasdn1 /d1
> mount /dev/dasdn1 /d1
> FAT: bogus number of reserved sectors
> VFS: Can't find a valid FAT filesystem on dev dasdn1.
> Aug 24 11:14:42 sles9sp2 kernel: FAT: bogus number of reserved sectors
> Aug 24 11:14:42 sles9sp2 kernel: VFS: Can't find a valid FAT filesystem on
> dev d
> asdn1.
> mount: you must specify the filesystem type
>
>
> sles9sp2:~ # mount /dev/dasdo1 /d1
> mount /dev/dasdo1 /d1
> FAT: bogus number of reserved sectors
> VFS: Can't find a valid FAT filesystem on dev dasdo1.
> Aug 24 11:15:07 sles9sp2 kernel: FAT: bogus number of reserved sectors
> Aug 24 11:15:07 sles9sp2 kernel: VFS: Can't find a valid FAT filesystem on
> dev d
> asdo1.
> mount: you must specify the filesystem type
>
> Output of df -h from sles9sp2
>
>
> sles9sp2:~ # df -h
> df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/dasda1   6.8G  1.9G  4.7G  29% /
> tmpfs1002M  4.0K 1002M   1% /dev/shm
>
>
>
> Can you please help me why output is showing me that /dev/dasdl1 already
> mounted or /d1 busy. I dont see anything is mounted in /d1
>
>
> Thanks & Regards
> Saurabh
>
> On Wed, Aug 24, 2011 at 7:09 PM, Ron Foster at Baldor-IS <
> rfos...@baldor.com
> > wrote:
>
> > Saurabh,
> >
> > First we need to determine if you really need to reach out from one Linux
> > system to fix another Linux system.
> >
> > At some point in the life of SLES, it became possible to put an
> appropriate
> > entry in the /etc/inittab.  That entry allowes you to access the ASCII
> > console emulator that is a part of the HMC.  If your system is at the
> > appropriate SLES level, and you have the appropriate entry in
> /etc/inittab,
> > and the only problem you are having is the fact that TCP/IP is not up,
> then
> > you will have a way to use vi and YaST to fix your problem.
> >
> > The entry is:
> > #zVM 5.3 Guest ASCII Console Support
> > cn:2345:respawn:/sbin/agetty -L 9600 ttyS1 xterm
> >
> > In order for a guest to access the console, someone have to issue the
> > following command:
> >
> > att sysa to linuxguest
> >
> > (where linux guest is the machine you are attaching the console to.)
> >
> > Then navigate to your z/VM LPAR on the HMC and start the ASCII console.
> >  Hit enter a couple of times and you should get a Linux logon prompt.
> >
> > But if you cannot use that method...
> > You have to know a little bit about the how your filesystems are
> structured
> > to do this.
> >
> > Just a thought, in zLinux, yes you have to make volu

Re: patching frequency

2011-08-18 Thread Scott Rohling
Well - I mostly was objecting to the idea of 'patching more frequently'
without some structure and reasoning behind it.  Patching just to patch
isn't really a strategy.

But yes - I would agree that it is usually better to apply a few patches at
once rather than many, for the reasons you state.  So there is an argument
there for 'more frequently'.   But there's another argument, like stability
- which would rather reduce down times to the fewest instances possible --
and do a single large multiple patch rather then several small ones - to
reduce the number of potential outages.

Anyway - we need more info about the 'why' of being requested to patch more
frequently...   is there an intent or strategy behind it -- or is it coming
from someone who just thinks 'more is better'?   I still think a policy
needs to be defined and put in place if it is not already, and then talk
about frequency of patches in that context.

Scott Rohling


On Thu, Aug 18, 2011 at 12:37 PM, Clovis Pereira  wrote:

> Scott, only to feed this discussion:
> Apply 5 patchs by month looks better than 15 by quarter or 30 by
> half-year. Less corrections is faster, easy to analyze and less
> problematic to fallback, if needed.
> Is it a valid argument?
> Regards,
>
> PS. Only ideas, I don't work in the Linux team. Don't know the practical
> issues...
> __
> Clovis
>
>
>
> From:
> Scott Rohling 
> To:
> LINUX-390@vm.marist.edu
> Date:
> 18/08/2011 13:17
> Subject:
> Re: patching frequency
> Sent by:
> Linux on 390 Port 
>
>
>
> If someone told me to patch more frequently - I would make them explain
> exactly how often and why.   For convenience sake, patching every x weeks
> or
> months might be nice .. but there should be policies in place that
> distinguish between security fixes and other types, and give
> rules/guidelines for how soon such patches should be applied.   If these
> policies don't exist - they should be developed - so I would be working to
> define that.
>
> There are so many approaches to patching..  'if it ain't broke, don't fix
> it' - 'stay a release behind current' - 'apply security fixes immediately'
> .. that being told 'patch more frequently' doesn't really give you much to
> go on.  What is your strategy when it comes to software maintenance?  What
> are the policies that must be adhered to?  What are the maintenance
> windows
> that allow you to patch servers? Those seem like better indicators then
> 'frequency'.
>
> Scott Rohling
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: patching frequency

2011-08-18 Thread Scott Rohling
If someone told me to patch more frequently - I would make them explain
exactly how often and why.   For convenience sake, patching every x weeks or
months might be nice .. but there should be policies in place that
distinguish between security fixes and other types, and give
rules/guidelines for how soon such patches should be applied.   If these
policies don't exist - they should be developed - so I would be working to
define that.

There are so many approaches to patching..  'if it ain't broke, don't fix
it' - 'stay a release behind current' - 'apply security fixes immediately'
.. that being told 'patch more frequently' doesn't really give you much to
go on.  What is your strategy when it comes to software maintenance?  What
are the policies that must be adhered to?  What are the maintenance windows
that allow you to patch servers? Those seem like better indicators then
'frequency'.

Scott Rohling

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: BASH scripts are a trade secret?

2011-08-17 Thread Scott Rohling
Yeah - very strange...  'copyright' - ok.  Trade secret in a glass jar?
 no..  by definition, not a secret.

Scott Rohling

On Wed, Aug 17, 2011 at 8:48 AM, McKown, John  wrote:

> Most weird. At least to me. Well, I guess it is possible to use a BASH
> script where most would use C code. But a "trade secret" that you distribute
> in source form?
>
> http://www.clustermonkey.net//content/view/308/1/
>
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> john.mck...@healthmarkets.com * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain confidential or
> proprietary information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. HealthMarkets(r) is the brand name for products underwritten and
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
> Life Insurance Company(r), Mid-West National Life Insurance Company of
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Annoyances with lsdasd and/or /proc/dasd/devices

2011-08-10 Thread Scott Rohling
I'm pretty sure /proc/dasd/devices is deprecated too..  need to do some
fancy reading of things out of /sys now.   I actually preferred
/proc/dasd/devices over lsdasd - because lsdasd output is different
depending on the distro/release..  /proc was the same no matter where you
were..   still use it in a pinch because the /sys route is more
complicated..

Hopefully - lsdasd is stabilizing it's output now and you can more reliably
count on the output..

Scott Rohling

On Wed, Aug 10, 2011 at 1:40 PM, Patrick Spinler
wrote:

> Okay, please accept an 'I'm stupid' retraction, as Bob N. across the
> wall got me.  Running 'lsdasd' as root returns the full information
> about the device in a nicely parsable format.  (Curious it doesn't as
> non-root, but there you go).
>
> I'll only wish a salmon on the tools authors in the form of a nice sushi
> roll the next time I have a chance to meet one of you at a conference.
>
> -- Pat
>
> On 8/10/11 2:26 PM, Patrick Spinler wrote:
> >
> > Okay, so this just reached an annoyance point with me, so please forgive
> > me kvetching a bit.  BTW -- this is specific to RHEL 5, s390utils 1.8,
> > so all you more modern folks or SuSE users can just laugh at me.
> >
> > The contents of /proc/dasd/devices is very complete, but a PITA to
> > parse.  You can't parse it based on character position, it has varying
> > length fields, and you can't parse it based on a simple fixed field
> > separator, either:
> >
> > 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.07ff(FBA ) at ( 94:16) is dasde   : active at blocksize:
> > 512, 2097152 blocks, 1024 MB
> >
> > Note that the blocksize. number of blocks, and size are all varying
> > length fields.  Note all that neither space, nor parents, nor colon make
> > a good choice for a field separator.
> >
> > Now lsdasd produces output that would be easily parsable by either fixed
> > character position or by using space as a delimiter, that's great.
> > However, it doesn't include reliable size information, e.g. if I want to
> > make sure a source and dest device both have the same number of blocks
> > and blocksize:
> >
> > Bus-ID Status  Name  Device  Type  BlkSz  Size  Blocks
> >
> ==
> > 0.0.0391   active  dasda 94:0ECKD  ???87MB  ???
> > 0.0.0392   active  dasdb 94:4ECKD  ???7042MB???
> > 0.0.0393   active  dasdc 94:8ECKD  ???7042MB???
> > 0.0.0394   active  dasdd 94:12   ECKD  ???7042MB???
> > 0.0.07ff   active  dasde 94:16   FBA   ???1024MB???
> >
> > This leaves me writing complex and fragile regular expressions to parse
> > info from /proc/dasd/devices, leaving myself and my colleagues many
> > maintenance headaches to come.
> >
> > To whoever wrote both of these tools, my apologies, but a wriggling wet
> > salmon be inflicted on your keyboard in the middle of an editing
> > session!  More seriously, though, please consider machine parsibility
> > when you write tools.
> >
> > Grumbling,
> > -- Pat
> >
> >
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: NFS Mount

2011-08-04 Thread Scott Rohling
I think you want to drop the -o after ver=2  ?   mount is thinking the nfs
address is an option -- and so thinks you want to mount just /mnt...  and
doesn't know what should be mounted to it.

Scott Rohling

On Thu, Aug 4, 2011 at 8:07 AM, Dazzo, Matt  wrote:

> On z1.11 I have the NFS client and server up. I am trying to mount from
> Linux-390 to mvs and getting some errors. Not much help from the Network
> File System Guide and Reference guide either. Getting a Linux error msg, any
> help is appreciated. See below, tks Matt
>
> [root@lndb2con /]# mount -o ver=2 -o 27.1.xx.xx:st1mat /mnt
> mount: can't find /mnt in /etc/fstab or /etc/mtab
>
> Matthew Dazzo
> Sr MVS Systems Programmer
> Publishers Clearing House
> Port Washington NY
> 516-944-4816
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: disabled IPV6, now down.

2011-08-03 Thread Scott Rohling
Does a 'modprobe ipv6' have any effect?

Scott Rohling

On Wed, Aug 3, 2011 at 10:47 AM, Tom Duerbusch
wrote:

> I've been getting the "MARTIAN SOURCE 192.168.195.255 FROM 192.168.193.176,
> ON DEV ETH0" on one of my test machines for two months.
>
> So I decided to check it out and see if I can fix the problem.
>
> Per a Google search, I found a suggestion  which looked reasonable:
>
> More details would be needed.
> ifconfig -a
> route -n
> cat /etc/sysconfig/network/routes
>
> When I did them, I saw that IPV6 was up and running.  I thought some of my
> playing around caused IPV6 to be enabled.  I didn't realize that IPV6 comes
> up by default and we are not IPV6 on our network, so I decided to see what
> happens when I disable it.
>
> So, yast, network, network settings, Global Options tab, and disable IPv6,
> save it and reboot.
>
> Of course now, I can't get in (other than via the console).
> I lost my eth0 adapter:
>
> ifconfig  -a
> loLink encap:Local Loopback
>  inet addr:127.0.0.1  Mask:255.0.0.0
>  UP LOOPBACK RUNNING  MTU:16436  Metric:1
>  RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>  TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>  collisions:0 txqueuelen:0
>  RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)
>
> linux76:~ #
>
>
> I tried to add eth0 back in:
>
> ifconfig eth0 add fe80::200:100:100:14/64
> No support for INET6 on this system.
> linux76:~ #
>
> But I don't know how to add support for INET6 via the command line
> interface.
>
> This is SLES 11 SP 1.
>
> No big deal in recreating this system.  But it would be an interesting
> learning exercise in recovering from my failure.
>
> Tom Duerbusch
> THD Consulting
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Xterm, Cygwin, etc

2011-08-01 Thread Scott Rohling
vnc is what I use..startup vncserver on zLinux .. use a vnc client (
tightvnc.org has a free one) to connect.  You can also use a web browser and
the 58xx port.  Need the firewall to allow 59xx and/or 58xx ports.

Scott Rohling

On Mon, Aug 1, 2011 at 12:47 PM, Gentry, Steve <
steve.gen...@westernsouthernlife.com> wrote:

> I still like to occasionaly connect to zLinux and use the GUI Desktop
> interface. IIRC, Xterm isn't a good option because of security issues.
> What is the preferred method, these days, to use the GUI Desktop?
> (Yes, I realize that using the GUI, Desktop isn't the best thing to do)
> Thanks,
> Steve
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Showing a process running in BG

2011-08-01 Thread Scott Rohling
The 'jobs' command lists all active or stopped jobs (in the current shell)..
 also -  ps -aux shows a '+' under the Status field if it's running in the
foreground.   With ps -ef the PID and PPID fields may help in determining
who called what.   Hope this helps.

Scott Rohling

On Mon, Aug 1, 2011 at 9:32 AM, Tom Duerbusch wrote:

> I have a process that may or may not be running in background.
>
> When I use any of the forms of "ps", it shows the process running, but, I
> don't understand if any of the fields being displayed, indicate that this is
> a BG process.  It all looks the same to me .
>
> If the process is running in the background, I need to follow the path of
> how did it get there (bg).  If the process isn't running in background, I
> have a different problem all together.
>
> Thanks
>
> Tom Duerbusch
> THD Consulting
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: tar with tape drives

2011-07-29 Thread Scott Rohling
Strange - almost sounds like tar is getting a '&' appended and running in
the background..   which doesn't seem possible if it's just being executed
as part of a script.  I need a beer too.

Scott Rohling

On Fri, Jul 29, 2011 at 3:09 PM, Tom Duerbusch
wrote:

> And another thing.
>
> It isn't a problem with REXEC or REXECD.
>
> Instead of executing each command via REXEC to Linux, I created a script
> which had all the commands in it.
> So, REXEC only executed the script.
> But what happened was
>
> The tar was being executed.
> Long before the tar completed, bash started executing the remainder of the
> commands in the script.  However tar was still running (and keeping the tape
> drive in use).
>
> This is similar to tar being executed asynchronously.
>
> However, when I run the script interactively, from Putty (actually Kitty),
> the command runs like it is suppose to.  Only when the tar completes does
> the next command start to executed.
>
> So, it seems, at this point, that tar knows when it is being executed
> remotely and returns control early (and continues to execute).
>
> However, executing the script using VM's REXEC, didn't produce the
> asynchronous behavior.
>
> So, REXEC from VSE using the CSI 1.5E stack seems to be telling tar
> something that REXEC from VM (z/VM 5.2) isn't.
>
> Time for a beer.
>
> Tom Duerbusch
> THD Consulting
>
> >>> Carsten Otte  7/28/2011 8:41 AM >>>
> Hi Tom,
>
> if I recall correctly, we reserve the tape on open, and free it on closing
> the file descriptor. You shout be able
> to find out which process is using it via "fuser /dev/ntibmX".
>
> with kind regards
> Carsten Otte
> IBM Linux Technology Center / Boeblingen lab
> --
> omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
> habetur, quomodo habenda est
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Poor man's top

2011-07-22 Thread Scott Rohling
Essentially -  It shows processes, sorted by highest CPU usage - and also
shows memory usage and other data.  Much like the 'top' command.Try
'top' first..then check out this command..top can end up eating into
cpu itself -- and this alternative uses a fraction of it.   Doesn't do
everything top does - but does show the 'top cpu users'.

Now that I've written that - did you mean - how does it work?  That's a
different answer :)

Scott Rohling

On Fri, Jul 22, 2011 at 9:23 AM, Dazzo, Matt  wrote:

> For us new to linux can anyone explain what this does? Tks Matt
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Scott Rohling
> Sent: Thursday, July 21, 2011 12:39 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Poor man's top
>
> I found this buried in some notes..   thought others might enjoy it.   Much
> less overhead then top.. :
>
> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'
>
> Scott Rohling
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Poor man's top

2011-07-21 Thread Scott Rohling
Ah ..   I think I remember -- we were running this at the z/VM console on a
Linux guest... so wanted to limit the output so it didn't wrap and mess up
the displayed tasks..

Scott Rohling

On Thu, Jul 21, 2011 at 11:20 AM, Scott Rohling wrote:

> Just ensure 80 amount of characters are displayed on each line ..   you can
> certainly leave it out --  it's been too long for me to remember why that
> was stuck in  :(I'm not sure now what the rationale was..
>
> Scott Rohling
>
>
> On Thu, Jul 21, 2011 at 11:04 AM, Bauer, Bobby (NIH/CIT) [E] <
> baue...@mail.nih.gov> wrote:
>
>> Can somebody explain to me what the 'cut' step is suppose to do? I left it
>> out and the results appear to be the same.
>>
>> Bobby Bauer
>> Center for Information Technology
>> National Institutes of Health
>> Bethesda, MD 20892-5628
>> 301-594-7474
>>
>>
>>
>> -Original Message-
>> From: Richard J Moore [mailto:richardj_mo...@uk.ibm.com]
>> Sent: Thursday, July 21, 2011 12:57 PM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Poor man's top
>>
>> very good. nice suggestion.  but I needed to do:
>>
>> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1- | head -20'
>>
>> Richard
>>
>>
>>
>>
>> From:   Scott Rohling 
>> To: LINUX-390@vm.marist.edu
>> Date:   21/07/2011 17:43
>> Subject:    Poor man's top
>> Sent by:Linux on 390 Port 
>>
>>
>>
>> I found this buried in some notes..   thought others might enjoy it.
>> Much
>> less overhead then top.. :
>>
>> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'
>>
>> Scott Rohling
>>
>> --
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Poor man's top

2011-07-21 Thread Scott Rohling
Just ensure 80 amount of characters are displayed on each line ..   you can
certainly leave it out --  it's been too long for me to remember why that
was stuck in  :(I'm not sure now what the rationale was..

Scott Rohling

On Thu, Jul 21, 2011 at 11:04 AM, Bauer, Bobby (NIH/CIT) [E] <
baue...@mail.nih.gov> wrote:

> Can somebody explain to me what the 'cut' step is suppose to do? I left it
> out and the results appear to be the same.
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> -Original Message-
> From: Richard J Moore [mailto:richardj_mo...@uk.ibm.com]
> Sent: Thursday, July 21, 2011 12:57 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Poor man's top
>
> very good. nice suggestion.  but I needed to do:
>
> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1- | head -20'
>
> Richard
>
>
>
>
> From:   Scott Rohling 
> To: LINUX-390@vm.marist.edu
> Date:   21/07/2011 17:43
> Subject:Poor man's top
> Sent by:Linux on 390 Port 
>
>
>
> I found this buried in some notes..   thought others might enjoy it.   Much
> less overhead then top.. :
>
> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'
>
> Scott Rohling
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Poor man's top

2011-07-21 Thread Scott Rohling
I found this buried in some notes..   thought others might enjoy it.   Much
less overhead then top.. :

watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'

Scott Rohling

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: Linux backups and restores to/from tape

2011-07-08 Thread Scott Rohling
Didn't mean to imply TSM required tape - only that it's supported...

Scott Rohling

On Fri, Jul 8, 2011 at 9:54 AM, Harder, Pieter <
pieter.har...@brabantwater.nl> wrote:

> Just a remark. TSM does *not* have a tape requirement. You can have a disk
> only installation just fine. Do your first level backups to what your
> standard disk for Linux uses. Then migrate to some cheap outside storage and
> have that mirrored to a secondary location. My experience is that the
> software side of TSM is lots cheaper than whatever hardware (tape or disk)
> you need to get to reasonable (Terabyte scale) amounts of data. If you don't
> need that scale just use some outside TSM on x86_64.
>
> Best regards,
> Pieter Harder
>
> pieter.har...@brabantwater.nl
> tel  +31-73-6837133 / +31-6-47272537
>
> -Oorspronkelijk bericht-
> Van: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] Namens Scott
> Rohling
> Verzonden: vrijdag 8 juli 2011 17:41
> Aan: LINUX-390@VM.MARIST.EDU
> Onderwerp: Re: Linux backups and restores to/from tape
>
> The TSM product will do file level backups (with FCP attached tape) under
> Linux on System z .. but it's not free.
>
> I think it's the tape part that's going to limit options..if you could
> deal with using disk storage for 'archive' purposes, then there are lots of
> open source options..  everything from rdiff (as I recall - an rsync based
> backup with delta archiving) and things like bacula.   You could perhaps
> combine this solution with physical backups to tape of the archive data on
> disk?
>
> Scott Rohling
>
> On Fri, Jul 8, 2011 at 9:23 AM, Frederick, Michael <
> michael_freder...@ibi.com> wrote:
>
> > Hi all,
> >
> > A question came up about getting an older version of a file on a Linux
> > disk, which I was able to do by restoring the DASD that held the file in
> > question to a temporary disk and then they could do whatever they liked
> with
> > the file, easy enough.  It got me to thinking about, what would happen if
> > this were to take place on an LVM?  Having a dasd-level backup is likely
> to
> > be of limited use in this case, because you'd more than likely have to
> > restore the entire LVM to a separate set of disks just to get at that one
> > file.
> >
> > So does anyone know of a solution (free being better) that would do a
> > file-level backup for zLinux to a tape?  Or has anyone dealt with this
> > problem before and had some other way around it?
> >
> > Thanks in advance,
> >
> > Mike Frederick
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
>
> Brabant Water N.V.
> Postbus 1068
> 5200 BC  's-Hertogenbosch
> http://www.brabantwater.nl
> Handelsregister: 16005077
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Linux backups and restores to/from tape

2011-07-08 Thread Scott Rohling
The TSM product will do file level backups (with FCP attached tape) under
Linux on System z .. but it's not free.

I think it's the tape part that's going to limit options..if you could
deal with using disk storage for 'archive' purposes, then there are lots of
open source options..  everything from rdiff (as I recall - an rsync based
backup with delta archiving) and things like bacula.   You could perhaps
combine this solution with physical backups to tape of the archive data on
disk?

Scott Rohling

On Fri, Jul 8, 2011 at 9:23 AM, Frederick, Michael <
michael_freder...@ibi.com> wrote:

> Hi all,
>
> A question came up about getting an older version of a file on a Linux
> disk, which I was able to do by restoring the DASD that held the file in
> question to a temporary disk and then they could do whatever they liked with
> the file, easy enough.  It got me to thinking about, what would happen if
> this were to take place on an LVM?  Having a dasd-level backup is likely to
> be of limited use in this case, because you'd more than likely have to
> restore the entire LVM to a separate set of disks just to get at that one
> file.
>
> So does anyone know of a solution (free being better) that would do a
> file-level backup for zLinux to a tape?  Or has anyone dealt with this
> problem before and had some other way around it?
>
> Thanks in advance,
>
> Mike Frederick
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


[no subject]

2011-07-08 Thread Scott Rohling
Monty Python:  spam spam spam spam spam

Scott Rohling

On Fri, Jul 8, 2011 at 1:47 AM, Rob JACKSON  wrote:

> I invite you to visit my first site! It’s important for me!..
> http://www.soleholiday.com/sites.friend.php?zyqCID=16iw4
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: RHEL 5.6 adding LUNs and mkinitrd

2011-07-02 Thread Scott Rohling
See this thread.. starting about here:
http://www.mail-archive.com/linux-390@vm.marist.edu/msg51864.html

I'd surmise from the conversation that if you're able to reboot, you likely
don't need to run mkinitrd..   As Rick Troth indicates - the initial ramdisk
just needs enough smarts to be able to mount root.

Scott Rohling

On Sat, Jul 2, 2011 at 9:34 AM, Donald Russell wrote:

> I have RHEL 5.6 running on zVM 6.1. The RHEL userid has several FCP devices
> dedicated in the cp directory.
>
> When I add LUNs to the system to create a new file system, or expand an
> existing one, I add the fcp/wwpn/lun triplet to /etc/zfcp.conf, run zfcp.sh
> which then brings them all online. I then "echo reconfigure | multipathd
> -r". (I think it's -r, I'm going by memory here)
>
> All seems to be good, and everything survives a reboot... but recently I've
> come across something about using mkinitrd and using zipl...
>
> Is that necessary? Where can I read more about mkinitrd and when it is
> needed and so on?
>
> Thanks very much
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Another Layer 2 question.

2011-06-28 Thread Scott Rohling
Give us a hint :-)

Scott Rohling

On Tue, Jun 28, 2011 at 12:08 PM, Chuck Tribolet wrote:

> I've got a similar problem to Dave Jones, converting from real OSA ports
> to a Layer 2 VSWITCH.  I've successfully done SLES 10 and RHEL 5, but I'm
> having trouble with a SLES 11 system on the same VSWITCH.
>
> What do I need to change there?
>
>
>
> Chuck Tribolet
> trib...@almaden.ibm.com (IBM business)
> trib...@garlic.com (Personal)
> http://www.almaden.ibm.com/cs/people/triblet
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Layer 2 question

2011-06-27 Thread Scott Rohling
Drop the TYPE=   and VSWITCH= as well as HWADDR=  ..

Scott Rohling

On Mon, Jun 27, 2011 at 1:41 PM, Dave Jones  wrote:

> Hi, Mark.
>
> I've tried it without the HWADDR value and now the error is "eth0 does
> not seem to be present".
>
> Thanks.
>
> DJ
>
> On 06/27/2011 02:32 PM, Mark Post wrote:
> >>>> On 6/27/2011 at 03:25 PM, Dave Jones  wrote:
> >> HWADDR=02:00:00:00:00:07
> >
> > I would try removing this from the ifcfg-eth0 file.  There's usually not
> a good reason for a guest to be setting (or expecting) a particular MAC
> address for it's virtual NIC.
> >
> >
> > Mark Post
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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/
> >
>
> --
> Dave Jones
> V/Soft Software
> www.vsoft-software.com
> Houston, TX
> 281.578.7544
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Layer 2 question

2011-06-27 Thread Scott Rohling
You need to either remove the specification of the MAC in ifcfg-eth0 -- or
specify it in the z/VM directory entry  for the guest so that it matches.
 It's likely best to just remove it and let it default unless you have a
real need to specify it.

Scott Rohling

On Mon, Jun 27, 2011 at 1:25 PM, Dave Jones  wrote:

> Hi, gang.
>
> I've have been tasked with changing the network configuration for a
> RedHat EL 5.6 s390x guest from employing layer 3 (tcpip) connectivity to
> a vswitch, to using layer 2 (ethernet) on another vswitch. I've updated
> the ifcfg-eth0 configuration file with the proper parameters (I think),
> but a boot time Linux complains that:
>
> "Device eth0 has different MAC address than expected"
>
> and doesn't bring up the interface.
>
> I can configure eth0 manually by creating the device in
> /sys/bus/ccwgroup/drivers/qeth with:
>
> echo 0.0.0110,0.0.0101,0.0.0102 > group
>
> and then
>
> echo 1 > 0.0.0100/layer2
> echo 1 > 0.0.0100/online
>
> Here is what is in the ifcfg-eth0 file:
>
> # IBM QETH
> DEVICE=eth0
> BOOTPROTO=static
> VSWITCH=1
> OPTION=(layer2=1)
> IPADDR=xxx.yyy.www.zzz
> NETMASK=255.255.255.0
> NETTYPE=qeth
> TYPE=Ehternet
> ONBOOT=yes
> HWADDR=02:00:00:00:00:07
> SUBCHANNELS=0.0.0100,0.0.0101,0.0.0102
>
>
> Thanks and have a good one.
>
> --
> Dave Jones
> V/Soft Software
> www.vsoft-software.com
> Houston, TX
> 281.578.7544
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2011-06-25 Thread Scott Rohling
sorry - bad wording..   you needed to mount it as an LVM  -- not a dasd
device..

Scott Rohling

On Sat, Jun 25, 2011 at 5:08 PM, Scott Rohling wrote:

> I meant unmount it from the system you were trying to recover it from --
> cuz you needed to mount is as an LVM -- not as a filesystem.   But - the
> duplicate vg apparently would have stopped you.  I forgot about the SINGLE
> parm -- nice one.
>
> Couple recommendations:
>
> -  ensure /etc/zipl.conf has the correct menu listings - and issue 'zipl'
>  without the -X option.. hopefully that gives you the boot menu back -- but
> maybe you don't want it now that you have the magic incantation.
> -  you may want to define yourself a recovery server that doesn't use LVM
> -- just have a minimal system on a single minidisk.   avoid volume group
> name conflicts completely.  Only bring it up when needed.
>
> Scott Rohling
>
>
> On Sat, Jun 25, 2011 at 3:46 PM, Donald Russell wrote:
>
>> Thanks Scott There are other files systems that also use LVM, but I
>> know
>> the root file system is all on the 100 disk only.
>>
>> I can't actually unmount anything... but I can shut the whole server down
>> and log it off.
>> On my healthy system I can attach (link) the disk, but that's where you're
>> saying I'll have a name conflict because there will already be rootvg
>> volume
>> group.
>>
>> 
>>
>> Solved:
>> #CP 100 PARM SINGLE
>>
>> Whuwho! I'm in and problem fixed.
>>
>>
>> On Sat, Jun 25, 2011 at 13:48, Scott Rohling > >wrote:
>>
>> > If it's really a single disk LVM -- unmount it..   You need to do a
>> pvscan,
>> > vgscan, and then vgchange -ay volume-group..   then mount
>> > /dev/volume-group/logical-volume.And if your other server already
>> uses
>> > the same volume-group name - you will have to rename it before you can
>> > activate the new one.   (if the lvm consists of more than the 100 disk -
>> > you
>> > need to link and activate those too..)
>> >
>> > Sounds like you did a zipl -X at some point, which eliminates the
>> startup
>> > menu..
>> >
>> > Good luck!
>> >
>> > Scott Rohling
>> >
>> > On Sat, Jun 25, 2011 at 2:11 PM, Donald Russell > > >wrote:
>> >
>> > > RHEL 5.6 on zVM 6.1
>> > >
>> > > I made a change to /etc/pam.d/system-auth and didn't test it before
>> > logging
>> > > off again. :-(
>> > >
>> > > Now, nobody can logon because they get an error, "Module not found".
>> (I
>> > > must
>> > > have fat-fingered the module name I was adding.
>> > >
>> > > OK, no big deal, signal shutdown user x within 300 to bring the server
>> > down
>> > > and reboot in single user mode
>> > >
>> > > Except the server doesn't stop at the usual prompt asking what to
>> > boot,
>> > > it just comes up. (Normally that's when I would say #CP VI VMSG 0 1 to
>> > come
>> > > up in single user mode...
>> > >
>> > > So, I tried shutting it down and logging off, then attach the 100
>> mdisk
>> > > (boot and root file systems) to another running zLinux system.
>> > >
>> > > From the running zLinux system I linked to the other 100 disk in write
>> > mode
>> > > (while its proper owner was logged off) and tried to mount the
>> partition
>> > at
>> > > /mnt... where I thought I could then correct the bad file.
>> > >
>> > > I said mount /dev/dasdm2 /mnt and was told I had to specify the file
>> > system
>> > > type
>> > > mount -t ext3 /dev/dasdm2 /mnt
>> > > Nope... it says it can't find an ext3 file system there.
>> > >
>> > > I have no reason to think the data is damaged in anyway... but it is
>> also
>> > > an
>> > > LVM disk
>> > >
>> > > So, I'm looking for some help in how to recover from this snafu. :-)
>> > >
>> > > Thank you
>> > >
>> > > --
>> > > For LINUX-390 subscribe / signoff / archive access instructions,
>> > > send email to lists...@vm.marist.edu with the message: INFO LINUX-390
>> or
>> > > visit
>> > > http://www.marist.edu/htbin/wlvindex?LI

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

2011-06-25 Thread Scott Rohling
I meant unmount it from the system you were trying to recover it from -- cuz
you needed to mount is as an LVM -- not as a filesystem.   But - the
duplicate vg apparently would have stopped you.  I forgot about the SINGLE
parm -- nice one.

Couple recommendations:

-  ensure /etc/zipl.conf has the correct menu listings - and issue 'zipl'
 without the -X option.. hopefully that gives you the boot menu back -- but
maybe you don't want it now that you have the magic incantation.
-  you may want to define yourself a recovery server that doesn't use LVM --
just have a minimal system on a single minidisk.   avoid volume group name
conflicts completely.  Only bring it up when needed.

Scott Rohling


On Sat, Jun 25, 2011 at 3:46 PM, Donald Russell wrote:

> Thanks Scott There are other files systems that also use LVM, but I
> know
> the root file system is all on the 100 disk only.
>
> I can't actually unmount anything... but I can shut the whole server down
> and log it off.
> On my healthy system I can attach (link) the disk, but that's where you're
> saying I'll have a name conflict because there will already be rootvg
> volume
> group.
>
> 
>
> Solved:
> #CP 100 PARM SINGLE
>
> Whuwho! I'm in and problem fixed.
>
>
> On Sat, Jun 25, 2011 at 13:48, Scott Rohling  >wrote:
>
> > If it's really a single disk LVM -- unmount it..   You need to do a
> pvscan,
> > vgscan, and then vgchange -ay volume-group..   then mount
> > /dev/volume-group/logical-volume.And if your other server already
> uses
> > the same volume-group name - you will have to rename it before you can
> > activate the new one.   (if the lvm consists of more than the 100 disk -
> > you
> > need to link and activate those too..)
> >
> > Sounds like you did a zipl -X at some point, which eliminates the startup
> > menu..
> >
> > Good luck!
> >
> > Scott Rohling
> >
> > On Sat, Jun 25, 2011 at 2:11 PM, Donald Russell  > >wrote:
> >
> > > RHEL 5.6 on zVM 6.1
> > >
> > > I made a change to /etc/pam.d/system-auth and didn't test it before
> > logging
> > > off again. :-(
> > >
> > > Now, nobody can logon because they get an error, "Module not found". (I
> > > must
> > > have fat-fingered the module name I was adding.
> > >
> > > OK, no big deal, signal shutdown user x within 300 to bring the server
> > down
> > > and reboot in single user mode
> > >
> > > Except the server doesn't stop at the usual prompt asking what to
> > boot,
> > > it just comes up. (Normally that's when I would say #CP VI VMSG 0 1 to
> > come
> > > up in single user mode...
> > >
> > > So, I tried shutting it down and logging off, then attach the 100 mdisk
> > > (boot and root file systems) to another running zLinux system.
> > >
> > > From the running zLinux system I linked to the other 100 disk in write
> > mode
> > > (while its proper owner was logged off) and tried to mount the
> partition
> > at
> > > /mnt... where I thought I could then correct the bad file.
> > >
> > > I said mount /dev/dasdm2 /mnt and was told I had to specify the file
> > system
> > > type
> > > mount -t ext3 /dev/dasdm2 /mnt
> > > Nope... it says it can't find an ext3 file system there.
> > >
> > > I have no reason to think the data is damaged in anyway... but it is
> also
> > > an
> > > LVM disk
> > >
> > > So, I'm looking for some help in how to recover from this snafu. :-)
> > >
> > > Thank you
> > >
> > > --
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu with the message: INFO LINUX-390 or
> > visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > --
> > Fo

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

2011-06-25 Thread Scott Rohling
If it's really a single disk LVM -- unmount it..   You need to do a pvscan,
vgscan, and then vgchange -ay volume-group..   then mount
/dev/volume-group/logical-volume.And if your other server already uses
the same volume-group name - you will have to rename it before you can
activate the new one.   (if the lvm consists of more than the 100 disk - you
need to link and activate those too..)

Sounds like you did a zipl -X at some point, which eliminates the startup
menu..

Good luck!

Scott Rohling

On Sat, Jun 25, 2011 at 2:11 PM, Donald Russell wrote:

> RHEL 5.6 on zVM 6.1
>
> I made a change to /etc/pam.d/system-auth and didn't test it before logging
> off again. :-(
>
> Now, nobody can logon because they get an error, "Module not found". (I
> must
> have fat-fingered the module name I was adding.
>
> OK, no big deal, signal shutdown user x within 300 to bring the server down
> and reboot in single user mode
>
> Except the server doesn't stop at the usual prompt asking what to boot,
> it just comes up. (Normally that's when I would say #CP VI VMSG 0 1 to come
> up in single user mode...
>
> So, I tried shutting it down and logging off, then attach the 100 mdisk
> (boot and root file systems) to another running zLinux system.
>
> From the running zLinux system I linked to the other 100 disk in write mode
> (while its proper owner was logged off) and tried to mount the partition at
> /mnt... where I thought I could then correct the bad file.
>
> I said mount /dev/dasdm2 /mnt and was told I had to specify the file system
> type
> mount -t ext3 /dev/dasdm2 /mnt
> Nope... it says it can't find an ext3 file system there.
>
> I have no reason to think the data is damaged in anyway... but it is also
> an
> LVM disk
>
> So, I'm looking for some help in how to recover from this snafu. :-)
>
> Thank you
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: CMS commands from Linux

2011-06-22 Thread Scott Rohling
That can work -- BUT -- not much good for capturing/seeing the response...
 sort of like pushing a button and not knowing if it worked or not.

Scott Rohling

On Wed, Jun 22, 2011 at 2:47 PM, Eddie Chen  wrote:

>  Have you try setup secondary userid and issue the "vmcp send cmsuser
>  listfile * * A"
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Fábio Paim
> Sent: Friday, June 10, 2011 10:41 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: CMS commands from Linux
>
> Hi,
>
> I have a script rexx in zVM and I need execute it from Linux, How is this
> possible? How I can send commands CMS from linux (or send Linux commands
> from z/VM) , I know the command "vmcp", but it only for command CP.
>
> Thanks
>
>
> Fábio Paim
> Analista de sistemas
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> Please consider the environment before printing this email.
>
> Visit our website at http://www.nyse.com
>
> 
>
> Note:  The information contained in this message and any attachment to it
> is privileged, confidential and protected from disclosure.  If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error, please notify the sender immediately by replying to
> the message, and please delete it from your system.  Thank you.  NYSE
> Euronext.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: CMS commands from Linux

2011-06-22 Thread Scott Rohling
Yes - good point..   and Linux does have an rexec client.   You may want to
use a private lan, depending on the network setup, but it's doable.
Keeping it internal may fend off any restrictions..

Scott Rohling

On Wed, Jun 22, 2011 at 9:03 AM, Tom Duerbusch
wrote:

> If you are on the same mainframe, i.e. it doesn't have to go out on the
> network, what was wrong with using REXEC to remote execute CMS
> commands?
>
> VM supports it.
> I don't know if Linux does (or has a RPM for it).
>
> Tom Duerbusch
> THD Consulting
>
> >>> Scott Rohling  6/21/2011 8:44 AM >>>
> I built a provisioning server this way once..   on the Linux side -
> just a
> 'wget' and pass a bunch of parms:
>
> wget
> http://x.x.x.x/cgi-bin/makelnx?lnx001+WEBAPP+1G+4G+VSWITCH2+..
> ..
>
> Running Webshare on z/VM and the 'makelnx' CGI was a REXX EXEC that did
> all
> the dirmaint/racf/cloning stuff.. and wrapped it's output in simple
> html
> tags (so the Linux side could examine for success/failure and keep
> logs
> using the wget output).
>
> Only trouble here is security...  how to ensure the function can only
> be
> used by 'authorized' requesters.  Webshare doesn't normally qualify as
> a
> secure interface.
>
> If what the EXEC does is benign - then maybe it's no big deal...  it
> can be
> a great way to easily make z/VM application output available to Linux.
>
> Scott Rohling
>
> On Tue, Jun 21, 2011 at 7:24 AM, Agblad Tore 
> wrote:
>
> > setup a webserver in z/VM, and allow the Linux to run a rexx inside
> the
> > webserver via http :)
> >
> > Cordialement / Vriendelijke Groeten / Best Regards / Med Vänliga
> Hälsningar
> >  Tore Agblad
> > 
> > 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: tore.agb...@volvo.com
> > http://www.volvo.com/volvoit/global/en-gb/
> > 
> > From: Linux on 390 Port [LINUX-390@VM.MARIST.EDU] On Behalf Of van
> > Sleeuwen, Berry [berry.vansleeu...@atosorigin.com]
> > Sent: Friday, June 10, 2011 16:56
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: CMS commands from Linux
> >
> > Hi Fabio,
> >
> > Once you are running linux you can't execute CMS commands. This is
> because
> > you're not running CMS anymore. So if you need to run a rexx you need
> to
> > rewrite it to a bash script. And obviously you can't have CMS
> commands in
> > the bash script.
> >
> > Regards, Berry.
> >
> > > -Original Message-
> > > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf
> Of
> > > Fábio Paim
> > > Sent: vrijdag 10 juni 2011 16:41
> > > To: LINUX-390@VM.MARIST.EDU
> > > Subject: CMS commands from Linux
> > >
> > > Hi,
> > >
> > > I have a script rexx in zVM and I need execute it from Linux, How
> is this
> > > possible? How I can send commands CMS from linux (or send Linux
> > > commands from z/VM) , I know the command "vmcp", but it only for
> > > command CP.
> > >
> > > Thanks
> > >
> > >
> > > Fábio Paim
> > > Analista de sistemas
> > >
> > >
> --
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> send
> > email to
> > > lists...@vm.marist.edu 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 lists...@vm.marist.edu 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-39

Re: CMS commands from Linux

2011-06-21 Thread Scott Rohling
I built a provisioning server this way once..   on the Linux side - just a
'wget' and pass a bunch of parms:

wget http://x.x.x.x/cgi-bin/makelnx?lnx001+WEBAPP+1G+4G+VSWITCH2+..
..

Running Webshare on z/VM and the 'makelnx' CGI was a REXX EXEC that did all
the dirmaint/racf/cloning stuff.. and wrapped it's output in simple html
tags (so the Linux side could examine for success/failure and keep logs
using the wget output).

Only trouble here is security...  how to ensure the function can only be
used by 'authorized' requesters.  Webshare doesn't normally qualify as a
secure interface.

If what the EXEC does is benign - then maybe it's no big deal...  it can be
a great way to easily make z/VM application output available to Linux.

Scott Rohling

On Tue, Jun 21, 2011 at 7:24 AM, Agblad Tore  wrote:

> setup a webserver in z/VM, and allow the Linux to run a rexx inside the
> webserver via http :)
>
> Cordialement / Vriendelijke Groeten / Best Regards / Med Vänliga Hälsningar
>  Tore Agblad
> 
> 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: tore.agb...@volvo.com
> http://www.volvo.com/volvoit/global/en-gb/
> 
> From: Linux on 390 Port [LINUX-390@VM.MARIST.EDU] On Behalf Of van
> Sleeuwen, Berry [berry.vansleeu...@atosorigin.com]
> Sent: Friday, June 10, 2011 16:56
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: CMS commands from Linux
>
> Hi Fabio,
>
> Once you are running linux you can't execute CMS commands. This is because
> you're not running CMS anymore. So if you need to run a rexx you need to
> rewrite it to a bash script. And obviously you can't have CMS commands in
> the bash script.
>
> Regards, Berry.
>
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> > Fábio Paim
> > Sent: vrijdag 10 juni 2011 16:41
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: CMS commands from Linux
> >
> > Hi,
> >
> > I have a script rexx in zVM and I need execute it from Linux, How is this
> > possible? How I can send commands CMS from linux (or send Linux
> > commands from z/VM) , I know the command "vmcp", but it only for
> > command CP.
> >
> > Thanks
> >
> >
> > Fábio Paim
> > Analista de sistemas
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions, send
> email to
> > lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: z/VM page space

2011-06-17 Thread Scott Rohling
>
>
>
> Hi David - one further comment - although it is indeed typical to see some
> CP owned pages written immediately after the system IPL, it's really not
> safe to make the assumption that that is the only time it will happen,  In
> particular, the ISFC and Virtual Free Storage spaces are pageable,
> and page reference activity, and therefore paging behavior, for them
> can be driven at times other than system IPL.
>
> Bill Holder, Senior Software Engineer
>
>
I'm curious about why CP would write pages immediately after IPL?   At that
point, there is likely sufficient memory and paging isn't needed..  so why
not wait until it is?   I'm sure there's a good explanation - just
wondering...

Scott Rohling

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/


Re: Set Share Relative

2011-06-14 Thread Scott Rohling
No worries, Sir Rob - I seem to be especially cranky today.  Excellent paper
and explanation of relative share - and a much better answer then the
simplistic HELP explanation.  I'll refer to this in the future...  Thank
you!

Scott Rohling

On Tue, Jun 14, 2011 at 2:56 PM, Rob van der Heij <
rvdh...@velocity-software.com> wrote:

> On Tue, Jun 14, 2011 at 7:57 PM, Scott Rohling 
> wrote:
>
> > My statements were based on the help for CP SET SHARE..  my comments on
> math
> > were somewhat tongue in cheek - but since this is a relative value - 100
> is
> > as good as any other to base things on..  set all your guests to 7 and
> use
> > increment of 3 if you like.   No idea at all by what you mean by
> 'political'
> > ..  and annoyed at the statement that the defaults are just flat out
> wrong.
>
> My apologies. One should not post on the mailing list while standing
> up or while in a hurry...
>
> You can't do VM performance with just the CP help files. I provided
> the link to the PDF that explains that it does not work the way you
> might think it should. The reason you see relative share like 100 and
> 200 is not for simple math or aesthetics, but to compensate for the
> fact that the allocated share is distributed over the virtual CPUs.
> The paper explains what the implications are when you don't play the
> game right.
>
> We're pushing the scheduler to its limits with workloads that are
> completely different from what it was designed for. It works as long
> as you don't do silly things or try to mislead the scheduler.
> Political tuning is when someone claims that VTAM is the most
> important thing in the system and recommends it should have REL 1
> (or the z/OS sysprog insist that their OSA port should be "preferred
> route" even though he has no clue...)
>
> As for "wrong" - I thought that was beaten to death already. I buy an
> adult beverage for the first* who can explain why it makes sense to
> have the TCPIP stacks with a relative share 30 times higher than their
> Linux production guests.
>
> Rob
> --
> Rob van der Heij
> Velocity Software
> http://www.velocitysoftware.com/
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Set Share Relative

2011-06-14 Thread Scott Rohling
My statements were based on the help for CP SET SHARE..  my comments on math
were somewhat tongue in cheek - but since this is a relative value - 100 is
as good as any other to base things on..  set all your guests to 7 and use
increment of 3 if you like.   No idea at all by what you mean by 'political'
..  and annoyed at the statement that the defaults are just flat out wrong.


Scott Rohling

On Tue, Jun 14, 2011 at 11:25 AM, Rob van der Heij wrote:

> On Tue, Jun 14, 2011 at 5:49 PM, Scott Rohling 
> wrote:
>
> > Depends on how granular you want to be, but I tend to go in 100
> > increments... helps make the math easier.   At 200 you get twice as much
> > access to resources as those at 100, at 1500, 15 times, etc.   If that
> seems
> > like too much of a jump (twice as much) -- then go fractional.   150 for
> 1.5
> > times the access, etc.
>
> To double the relative share just so that your own math gets easier
> sounds pretty weird.
> And you're wrong about how it works. For most installations, CPU
> resources go to the users with the highest effective share. Only when
> they don't want any more, it goes to the next ones. Your best bet is
> to keep the share settings mostly in line with what the users need and
> don't try to do politics with it. See
> http://www.velocitysoftware.com/relshare.pdf
>
> The 1500 and 3000 as defaults are wrong. Don't follow that example.
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: z/VM page space

2011-06-14 Thread Scott Rohling
Nope - issuing a DRAIN is really the only option.  In my experience - it
almost always requires an IPL to completely get it clear.   DRAIN does not
actively move pages -- it simply prevents any CP from writing any new ones
on it.   It's pretty standard to have to wait until the next maintenance
window to reclaim drained volumes.

Scott Rohling

On Tue, Jun 14, 2011 at 9:56 AM, Nelson, Gene C. wrote:

> We ran into the same issue.  Our page space got up to 70% - 80% and we
> saw performance "go down the toilet".  Our page volumes were on MOD-9's
> but only a third of each volume was usable because the page space had been
> defined as a MOD-3.
> We tried the DRAIN and that stopped using that page volume but didn't clear
> it.  So we shut down all of our virtual machines and re-initialized the
> page
> space on the volumes we were using and now are sitting at 19% - 20% page
> utilization.  Because they were production guests, we had to wait for our
> Sunday morning window to re-init our page volumes.
>
> I was just wondering if there was another way to do what we did.  We didn't
> want to add more volumes, we just needed to fix the ones we were using.
> Thanks for all of your help and ideas.
>
>
> Gene Nelson
> Federated Insurance Company
> 121 E. Park Square
> Owatonna, MN  55060
> (507) 455-5200
> ext. 4555706
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Marcy Cortes
> Sent: Tuesday, June 14, 2011 9:54 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: z/VM page space
>
> The question is why do you need to know?
> If you are running out of space, add more.
> If you can't, you'll have to shut virtual machines down.  Start with the
> largest ones.
> BTW, don't let your paging space get more than 50% full or performance goes
> down the toilet.
>
>
>
> Marcy
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Bill
> Holder
> Sent: Tuesday, June 14, 2011 7:44 AM
> To: LINUX-390@vm.marist.edu
> Subject: Re: [LINUX-390] z/VM page space
>
> > In z/VM is there a way to tell who or what is using that page space?
> Coming from the z/OS world
> > I know there was a way to display show was the biggest user of the page
> slots.  Is there a way
> > to do that in z/VM?
>
> I am unaware of any way to tell which users (or other pageable entities)
> have their pages on a given paging volume in z/VM.
>
> Bill Holder, Senior Software Engineer
> IBM z/VM Development, Memory Management, Endicott, NY
> Phone:  607-429-3640IBM TieLine: 620-3640
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/
>
> The information contained in this e-mail message is intended only for the
> personal and confidential use of the designated recipient(s) named above.
> This message may be an attorney-client or work product communication which
> is privileged and confidential. It may also contain protected health
> information that is protected by federal law.  If you have received this
> communication in error, please notify us immediately by telephone and
> destroy (shred) the original message and all attachments. Any review,
> dissemination, distribution or copying of this message by any person other
> than the intended recipient(s) or their authorized agents is strictly
> prohibited. Thank you.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: z/VM page space

2011-06-14 Thread Scott Rohling
Maybe I'm not understanding - but if you will be moving res/spool/page/guest
-- then what's on page doesn't really matter -- it's cleared between IPL's
and you will be IPLing off a new res pack ..   no?   PAGE and TEMP you
normally don't worry about.. just make sure the new volumes are
formatted/allocated correctly.

Scott Rohling

On Tue, Jun 14, 2011 at 8:48 AM, Sam Bass  wrote:

> Alan,
>
> Do you think IBM will think about adding a 'page delete' feature so you can
> migrate page volumes to another disk subsystem so you don't have to shutdown
> all of the guest and z/VM?  It sure would be handy.
> I was hoping to move all of the paging to the new devices so I would have
> less to do on the weekend when I move the z/VM res/spool/page/guest volumes.
>
> Sam Bass
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan
> Altmark
> Sent: Monday, June 13, 2011 6:02 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: z/VM page space
>
> On Monday, 06/13/2011 at 03:48 EDT, Sam Bass 
> wrote:
> > I am migrating from one disk subsystem to another.
> > I know that you can add PAGE volumes via DEF CPOWNED after you have
> formatted a
> > volume and ATT *unit* SYSTEM.
> >
> > Is there a way to do a 'page delete' like you can in z/OS so you can
> move off
> > of the old disk volumes?
>
> Unfortunately, no.  You can tell CP to stop using (adding new data to) a
> paging or spooling volume, but you cannot make CP migrate data off of the
> drained volume onto an active one.
>
> Alan Altmark
>
> z/VM and Linux on System z Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: Set Share Relative

2011-06-14 Thread Scott Rohling
Depends on how granular you want to be, but I tend to go in 100
increments... helps make the math easier.   At 200 you get twice as much
access to resources as those at 100, at 1500, 15 times, etc.   If that seems
like too much of a jump (twice as much) -- then go fractional.   150 for 1.5
times the access, etc.

Scott Rohling


On Tue, Jun 14, 2011 at 8:52 AM, Dean, David (I/S) wrote:

> Is there a rule of thumb on setting relative shares for zVM users?  Default
> has them at 100, we have increased important ones to 200.  I noticed the
> system users have very high shares, e.g. 1500.  So, when you are
> prioritizing, or de-prioritizing should you go in small incremental (25-50)
> or larger (say 100, 200)?
>
>
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: z/VM page space

2011-06-14 Thread Scott Rohling
This is for SPOOL -- not PAGE!   Completely different allocation types,
etc..

Scott Rohling

On Tue, Jun 14, 2011 at 9:19 AM, Clovis Pereira  wrote:

> Friends,
> Please, take a look at SPOOLCHN
> http://www.vm.ibm.com/download/packages/
>
> Follow the announce:
>   (c) Copyright International Business Machines Corporation 1993,2005
>All Rights Reserved.
>
>  *-*
>  *Name: SPOOLCHN, version 5.C  *
>  * *
>  * Description: Extensions to spool Query commands *
>  * *
>  *  Author: Richard Ross (rich...@us.ibm.com)  *
>  * *
>  *Date: August, 2005   *
>  *-*
>
>
> SPOOLCHN is a VM system programmer utility (class C or E) which will
> display files in the spool system.
>
> SPOOLCHN has the following advantages over the standard spool Query
> commands:
>  - can show spool usage (blocks of spool data)
>  - shows more information than the spool Query commands
>  - output can be directed to terminal, stack, disk, or variables in REXX
>
>  - output can include an exec for manipulating the spool files
>  - more search criterea than spool Query, such as number of records,
>age of file, etc.
>  - wildcard searches allowed
>
> ---
> SPOOLCHN has been tested on all current releases of VM.
> ---
>
> SPOOLCHN is  used by  a privileged  user to  query files  in the  spool
> system.
> Unlike QUERY RDR, QUERY PRT, or QUERY  PUN, SPOOLCHN will show spool files
> that
> are open (as these  files do take up space in the spool  system).  It will
> also
> not tie up system resources the way that a QUERY RDR ALL will.
>
> SPOOLCHN requires class C or E to display the spool file blocks in real
> storage
> (DIAGNOSE 4).  It also requires class D if the DIAGNOSE D8 option is used.
>
>
> ---
>
> SPOOLCHN is available from VMTOOLS and http://www.vm.ibm.com
>
> Richard Ross
>
> _
>
> __
> Clovis
>
>
>
> From:
> Scott Rohling 
> To:
> LINUX-390@vm.marist.edu
> Date:
> 14/06/2011 10:32
> Subject:
> Re: z/VM page space
> Sent by:
> Linux on 390 Port 
>
>
>
> Performance Toolkit can show you the paging load for users (menu option 22
> -
> FCX113)..  how much in XSTORE, how much on DASD ... but it doesn't
> identify
> the paging volume(s) the pages are stored on, if that's what you want to
> do.
>
> Scott Rohling
>
> On Tue, Jun 14, 2011 at 7:03 AM, Nelson, Gene C.
> wrote:
>
> > In z/VM is there a way to tell who or what is using that page space?
> >  Coming from the z/OS world
> > I know there was a way to display show was the biggest user of the page
> > slots.  Is there a way
> > to do that in z/VM?
> >
> >
> > Gene Nelson
> > Federated Insurance Company
> > 121 E. Park Square
> > Owatonna, MN  55060
> > (507) 455-5200
> > ext. 4555706
> >
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Alan
> > Altmark
> > Sent: Monday, June 13, 2011 6:02 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: z/VM page space
> >
> > On Monday, 06/13/2011 at 03:48 EDT, Sam Bass 
> > wrote:
> > > I am migrating from one disk subsystem to another.
> > > I know that you can add PAGE volumes via DEF CPOWNED after you have
> > formatted a
> > > volume and ATT *unit* SYSTEM.
> > >
> > > Is there a way to do a 'page delete' like you can in z/OS so you can
> > move off
> > > of the old disk volumes?
> >
> > >Unfortunately, no.  You can tell CP to stop using (adding new data to)
> a
> > >paging or spooling volume, but you cannot make CP migrate data off of
> the
> > >drained volume onto an active one.
> >
> > Alan Altmark
> >
> > z/VM and Linux on System z Consultant
> > IBM System Lab Services and Training
> > ibm.com/systems/services/labservices
> > office: 607.429.3323
> > mobile; 607.321.7556
> > alan_altm...@us.ibm.com
> > IBM Endicott
> >
> 

Re: Performance toolkit - HCPMOG6556E

2011-06-14 Thread Scott Rohling
HELP HCPMOG6556E  will show you several different ways to approach.
Increasing the size of the MONDCSS segment is likely the quickest.   An
example:

CP DEFSEG MONDCSS 2000-2BFF SC RSTD
CP SAVESEG MONDCSS

You need to ensure no other segments are defined in the address range you
specify..

Scott Rohling


On Tue, Jun 14, 2011 at 7:57 AM, Kobus Erwee  wrote:

> Hi,
>
>
>
> Can anyone please tell me why I get the following error when starting
> PERFSVM. You can not use the gui or 3270 interactive monitor as the
> collection of data is not active.
>
>
>
> FCXBAS500I Performance Toolkit for VM FL530
>
>
> FCXPMN445E Return code 6556 for MONITOR START command
>
>
> FCXAPP530I Connected to *IDENT for resource FCXRES00
>
>
> FCXAPF530I Connected to *IDENT for resource FCXSYSTM
>
>
> FCXTCP571I Connected to TCP/IP server TCPIP on path 0003
>
>
> FCXTCR571I Connected to TCP/IP server TCPIP on path 0004
>
>
> FCXAPP527I User PERFSVM connected on path 0006
>
>
> FCXAPC535I Connected to resource FCXRES00 on path , for S&F-Coll
>
>
> FCXTCP575I WebServer host IP address is 10.131.56.250:00081
>
>
> FCXTCR575I TCPRequest host IP address is 10.131.56.250:41780
>
>
> FCXTCR590I TCPRequest interface activated
>
>
> FCXTCP590I WebServer interface activated
>
>
> Monitor event started -- recording is activated
>
>
> HCPMOG6556E Sample monitoring cannot start because there are not enough
> pages
>
> available in the DCSS MONDCSS.  1792 pages are available.
>
>
>
> When I do a q nss all map the output for mandcss is as follow:
>
> 0031 MONDCSS  CPDCSS N/A02200  02FFF   SC  R  1   N/A
> N/A
>
>
>
> In what config file must I change what?
>
>
>
> Any help would be appreciated.
>
>
>
> Kobus
>
>
> .
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: ASCII to EBCDIC conversion

2011-06-14 Thread Scott Rohling
I'm not sure this will make a difference -- I misread the table .. and the
LF characters are the same in ebcdic or ibm..
You may need to use 'tr' or some other translate function after the dd.

Scott Rohling

On Tue, Jun 14, 2011 at 7:43 AM, Scott Rohling wrote:

> Did you use 'ebcdic' or 'ibm' for conversion type on the dd command?
> Whichever you used, you might want to try and use the other and see if
> results change.
>
> Scott Rohling
>
>
> On Mon, Jun 13, 2011 at 11:15 PM, Sundaram, Parthasarthy <
> parthasarthy.sunda...@eds.com> wrote:
>
>> Hi  Team,
>>
>>  Very good morning...Iam parthasarathy working in Mphasis.Kindly
>> requesting you to help me on my below queries.
>>
>> i)  In SunOS how to convert the ASCII mode to EBCDIC mode in SFTP
>> mode.
>> ii) Iam able to convert the ASCII file to EBCDIC thru DD command
>> outside SFTP mode.Is this the right command.
>> iii)I have a file with 100 records but after converting from ASCII
>> to EBCDIC all the 100 records is aligned in the single line.Please let
>> me know how to resolve this and iam sure that carriage return is
>> missing. Please let me know how to apply the carriage return value
>> during the EBCDIC conversion.
>>
>> It could be highly appreciated if you help me on this.
>>
>> Parthasarathy Sundaram
>> Mphasis an HP company
>> Level 4, 1-B DLF Info City, 1/124 Shivaji Garden , Manapakkam,
>> Chennai-89
>> Mob: 91 9176663227
>> parthasarthy.sunda...@hp.com
>> parthasarthy.sunda...@eds.com
>>
>>
>>
>>
>> --
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: ASCII to EBCDIC conversion

2011-06-14 Thread Scott Rohling
Did you use 'ebcdic' or 'ibm' for conversion type on the dd command?
Whichever you used, you might want to try and use the other and see if
results change.

Scott Rohling

On Mon, Jun 13, 2011 at 11:15 PM, Sundaram, Parthasarthy <
parthasarthy.sunda...@eds.com> wrote:

> Hi  Team,
>
>  Very good morning...Iam parthasarathy working in Mphasis.Kindly
> requesting you to help me on my below queries.
>
> i)  In SunOS how to convert the ASCII mode to EBCDIC mode in SFTP
> mode.
> ii) Iam able to convert the ASCII file to EBCDIC thru DD command
> outside SFTP mode.Is this the right command.
> iii)I have a file with 100 records but after converting from ASCII
> to EBCDIC all the 100 records is aligned in the single line.Please let
> me know how to resolve this and iam sure that carriage return is
> missing. Please let me know how to apply the carriage return value
> during the EBCDIC conversion.
>
> It could be highly appreciated if you help me on this.
>
> Parthasarathy Sundaram
> Mphasis an HP company
> Level 4, 1-B DLF Info City, 1/124 Shivaji Garden , Manapakkam,
> Chennai-89
> Mob: 91 9176663227
> parthasarthy.sunda...@hp.com
> parthasarthy.sunda...@eds.com
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: z/VM page space

2011-06-14 Thread Scott Rohling
Performance Toolkit can show you the paging load for users (menu option 22 -
FCX113)..  how much in XSTORE, how much on DASD ... but it doesn't identify
the paging volume(s) the pages are stored on, if that's what you want to do.

Scott Rohling

On Tue, Jun 14, 2011 at 7:03 AM, Nelson, Gene C. wrote:

> In z/VM is there a way to tell who or what is using that page space?
>  Coming from the z/OS world
> I know there was a way to display show was the biggest user of the page
> slots.  Is there a way
> to do that in z/VM?
>
>
> Gene Nelson
> Federated Insurance Company
> 121 E. Park Square
> Owatonna, MN  55060
> (507) 455-5200
> ext. 4555706
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan
> Altmark
> Sent: Monday, June 13, 2011 6:02 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: z/VM page space
>
> On Monday, 06/13/2011 at 03:48 EDT, Sam Bass 
> wrote:
> > I am migrating from one disk subsystem to another.
> > I know that you can add PAGE volumes via DEF CPOWNED after you have
> formatted a
> > volume and ATT *unit* SYSTEM.
> >
> > Is there a way to do a 'page delete' like you can in z/OS so you can
> move off
> > of the old disk volumes?
>
> >Unfortunately, no.  You can tell CP to stop using (adding new data to) a
> >paging or spooling volume, but you cannot make CP migrate data off of the
> >drained volume onto an active one.
>
> Alan Altmark
>
> z/VM and Linux on System z Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
>
> The information contained in this e-mail message is intended only for the
> personal and confidential use of the designated recipient(s) named above.
> This message may be an attorney-client or work product communication which
> is privileged and confidential. It may also contain protected health
> information that is protected by federal law.  If you have received this
> communication in error, please notify us immediately by telephone and
> destroy (shred) the original message and all attachments. Any review,
> dissemination, distribution or copying of this message by any person other
> than the intended recipient(s) or their authorized agents is strictly
> prohibited. Thank you.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: CMS commands from Linux

2011-06-10 Thread Scott Rohling
You will have to rely on another (CMS) guest issuing the REXX .. it could be
as simple as:

vmcp xautolog cmsguest#dorexx(xautolog cmsguest and pass parm dorexx
so that DOREXX is executed)

If the last thing DOREXX does is logoff -- you can use vmcp q user cmsguest
to check if it's done or not.

There are many ways to do it -- it's just capturing results and knowing when
it's done that's the problem.   REXEC is one way, but is usually frowned up
security wise.

Scott Rohling

2011/6/10 Fábio Paim 

> Thanks for all response,
>
> I have one bash script on Linux, and one step of this script, I need to
> call
> a REXX on Z/VM.
>
>
> Fabio.
>
> 2011/6/10 Mark Post 
>
> > >>> On 6/10/2011 at 10:40 AM, Fábio Paim wrote:
> > > Hi,
> > >
> > > I have a script rexx in zVM and I need execute it from Linux, How is
> this
> > > possible? How I can send commands CMS from linux (or send Linux
> commands
> > > from z/VM) , I know the command "vmcp", but it only for command CP.
> >
> > Are you trying to execute CMS commands, or simply execute a REXX EXEC?
>  CMS
> > is not available in a guest running Linux, but Regina to run REXX
> certainly
> > is.
> >
> >
> > Mark Post
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu 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/
> >
>
>
>
> --
> Atenciosamente,
>
> Fábio Paim
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: mvsdasd working for SLES11 someone ?

2011-06-10 Thread Scott Rohling
If that's the case - you don't grant access.   I am objecting to the
automatic assumption that there's a security problem because someone wants
to use a driver to read a z/OS volume.   Just as if I have a confidential
file on my 191 disk..  I don't grant access even if the rest of the files
are completely benign.

Note that none of us has really contributed to answering Tore's question.

Scott Rohling

On Fri, Jun 10, 2011 at 8:01 AM, Alan Altmark wrote:

> On Thursday, 06/09/2011 at 04:15 EDT, Scott Rohling
>  wrote:
> > Implementing the driver isn't an auditable offense..   gaining access to
> the
> > volume through a DEDICATE or LINK, etc is another story - but that
> shouldn't
> > discourage use of the driver.   I see little difference between this and
> the
> > cmsfs driver...  access to a z/OS or CMS disk is auditable (or should
> be) -
> > the ability to read a z/OS volume or CMS disk is not.
>
> In the z/OS, case I must, in general, disagree.  The problem is that MVS
> volumes can contain multiple datasets and MVS access controls are at the
> dataset level, not volume.  (Subject to DASDVOL authority.)
>
> I did make the exception for an MVS volume very specifically constructed
> for this purpose.  But that also means additional controls on who can
> allocate datasets on the volume.  They better be only the Users Who
> Understand The Implications.
>
> LINK to a fullpack minidisk would provide RACF control & audit on VM.
> ATTACH/DEDICATE does not yet do so.  For CMSFS, you can make the
> reasonable argument that the volumes are owned by the VM system and the
> audit records are properly contained there as CMS files on minidisk are
> authorized at the virtual volume level.
>
> Alan Altmark
>
> z/VM and Linux on System z Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: mvsdasd working for SLES11 someone ?

2011-06-09 Thread Scott Rohling
Implementing the driver isn't an auditable offense..   gaining access to the
volume through a DEDICATE or LINK, etc is another story - but that shouldn't
discourage use of the driver.   I see little difference between this and the
cmsfs driver...  access to a z/OS or CMS disk is auditable (or should be) -
the ability to read a z/OS volume or CMS disk is not.

Scott Rohling

On Thu, Jun 9, 2011 at 1:56 PM, Alan Altmark wrote:

> On Thursday, 06/09/2011 at 01:10 EDT, Mark Post  wrote:
> > >>> On 6/9/2011 at 11:23 AM, Agblad Tore  wrote:
> > > Anyone having tried the mvsdad driver for read z/OS dasd directly ?
> >
> > For anyone that has, I hope their auditors never find out.
>
> (shudder)  Indeed.  Reading an MVS volume that has not been specifically
> created with express purpose accessing from outside of z/OS will result in
> a visit from "Mr. Smith" and "Mr. Smith" (not related), from the
> previously-unsuspected Data Protection Division.   From your hospital room
> you will find that you are unable to find such a Division in the company
> org chart hmmm...   I thought I locked my door when I left home
>
> Alan Altmark
>
> z/VM and Linux on System z Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2011-06-09 Thread Scott Rohling
For mounting network filesystems this can be true... but for a local disk
(which I'm pretty sure is the case here) - you are either put into a
recovery shell or it won't come up at all and you have to recover by other
means.  Depends on what the error in your fstab is and what fsck option you
have coded.

Scott Rohling

On Thu, Jun 9, 2011 at 12:04 PM, Dean, David (I/S) wrote:

> I would bet it just has to time out.  I know NFS and SMBFS can hold on for
> quite a while before giving up the ghost.
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Bauer, Bobby (NIH/CIT) [E]
> Sent: Thursday, June 09, 2011 12:21 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Why does zLinux die on a bad fstab entry?
>
> I recently had a typo in fstab for a new file system I tried to add and my
> system would not come back up. Thanks to everybody for helping me out and
> getting my system back without a major recovery effort.
>
> Any reason why zLinux dies when it finds a bad entry in fstab even though
> the filesystem is not needed to bring the system up? Do other linux/unix
> system do this? Seems a little short on error recovery but then I'm speaking
> as an old MVS dinosaur.
>
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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/
> -
> 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 lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


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

2011-06-09 Thread Scott Rohling
This might be influenced by those numbers at the end of the fstab entry..
 The last one indicates whether fsck should be run against it.  If yours is
0, then that should prevent Linux from requiring it there.

I'm not sure how badly you mucked up the syntax though...As others have
said - use 'mount -a' to check each time you update fstab.

And -- error recovery is there.. you are put into a shell so you can try and
correct it   :-)

Scott Rohling

On Thu, Jun 9, 2011 at 10:21 AM, Bauer, Bobby (NIH/CIT) [E] <
baue...@mail.nih.gov> wrote:

> I recently had a typo in fstab for a new file system I tried to add and my
> system would not come back up. Thanks to everybody for helping me out and
> getting my system back without a major recovery effort.
>
> Any reason why zLinux dies when it finds a bad entry in fstab even though
> the filesystem is not needed to bring the system up? Do other linux/unix
> system do this? Seems a little short on error recovery but then I'm speaking
> as an old MVS dinosaur.
>
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/


Re: bad entry in fstab

2011-06-02 Thread Scott Rohling
well - then you have to link all of the disks that are part of the LVM - so
rinse and repeat the previous steps.
You also want to make very sure that the system you are on does not have the
same LVM name in use.  It's just not worth messing with if it does.. (imo).
But - if you have all the disks linked and activated:

pvscan
vgscan
vgchange -ay volume_group(make volume_group active)
mount /dev/volume_group/logical_volume   /mnt

Scott Rohling

On Thu, Jun 2, 2011 at 1:05 PM, Bauer, Bobby (NIH/CIT) [E] <
baue...@mail.nih.gov> wrote:

> Thanks Scott, could I ask for the steps for LVM?
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> -Original Message-
> From: Scott Rohling [mailto:scott.rohl...@gmail.com]
> Sent: Thursday, June 02, 2011 2:59 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: bad entry in fstab
>
> chccwdev -e 2201   (activate it)
> lsdasd  (find out what dasd 2201 is)
> mount /dev/dasdx1 /mnt
>
> This assumes 2201 contains a single filesystem.. if it's part of an LVM,
> there's more to all this..
>
> Scott Rohling
>
> On Thu, Jun 2, 2011 at 12:51 PM, Bauer, Bobby (NIH/CIT) [E] <
> baue...@mail.nih.gov> wrote:
>
> > Aria, please explain further because I don't know how to do this.
> > First I would:
> > vmcp link servername 201 2201 mw password
> >
> > then what?
> >
> >
> > Bobby Bauer
> > Center for Information Technology
> > National Institutes of Health
> > Bethesda, MD 20892-5628
> > 301-594-7474
> >
> >
> > -Original Message-
> > From: Aria Bamdad [mailto:a...@bsc.gwu.edu]
> > Sent: Thursday, June 02, 2011 1:50 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: bad entry in fstab
> >
> > Or just link the VM minidisk with the root file system for this failing
> > system as R/W on an working linux system, let's call that the maintenance
> > system.  On the maintenance system, enable and mount that temporary
> volume.
> > Now you have a fully functional linux system and can use any tool you
> like
> > to correct the typo.
> >
> > Unmount, release/detach the minidisk when done and then boot the original
> > failing system.
> >
> > Aria
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> > Bauer,
> > Bobby (NIH/CIT) [E]
> > Sent: Thursday, June 02, 2011 1:32 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: bad entry in fstab
> >
> > Thanks to everybody for help, especially for the remount command.
> >
> > Never did find a way to send Control-D
> >
> > The sed command worked perfect when I tested it on a running system but
> > would not work from the maintenance mode. I kept getting the
> "Unterminated
> > `s'" error and it looked like the # was causing a problem. We escaped the
> #
> > like this \# and sed added a new line above the LogVol08 line. One of the
> > guys said we should just use sed to delete the line and sure enough, we
> > deleted the bad line in fstab and was able to ipl it.
> >
> > I think I learned my lesson to make backups no matter how simple a change
> > it
> > is.
> >
> > Bobby Bauer
> > Center for Information Technology
> > National Institutes of Health
> > Bethesda, MD 20892-5628
> > 301-594-7474
> >
> >
> >
> > -Original Message-
> > From: Brent Kincer [mailto:dev.bkin...@gmail.com]
> > Sent: Thursday, June 02, 2011 12:19 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: bad entry in fstab
> >
> > In case you're not using IUCV terminals and don't have access to
> something
> > like 'vi', just use sed to comment out the offending line and reboot.
> >
> > Would go something like this:
> > mount -o remount,rw /
> > sed -i 's/.*LogVol08.*/#&/g' /etc/fstab
> > shutdown -r now
> >
> > That sed statement will comment out any line containing LogVol08 in
> > /etc/fstab. Correct your typo after the reboot.
> >
> > Hope this helps!
> >
> > On , Rogério Soares  wrote:
> > > do a CTRL+D, you will got aa single user mode,, just correct you
> >
> > > /etc/fstab and reboot :)
> >
> >
> >
> >
> >
> >
> >
> > > On Thu, Jun 2, 2011 at 12:55 PM, Bauer, Bobby (NIH/CIT) [E]
> > > baue...@mail.nih.gov> wrote:
> >
> >
> >
> > > &g

Re: bad entry in fstab

2011-06-02 Thread Scott Rohling
chccwdev -e 2201   (activate it)
lsdasd  (find out what dasd 2201 is)
mount /dev/dasdx1 /mnt

This assumes 2201 contains a single filesystem.. if it's part of an LVM,
there's more to all this..

Scott Rohling

On Thu, Jun 2, 2011 at 12:51 PM, Bauer, Bobby (NIH/CIT) [E] <
baue...@mail.nih.gov> wrote:

> Aria, please explain further because I don't know how to do this.
> First I would:
> vmcp link servername 201 2201 mw password
>
> then what?
>
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
> -Original Message-
> From: Aria Bamdad [mailto:a...@bsc.gwu.edu]
> Sent: Thursday, June 02, 2011 1:50 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: bad entry in fstab
>
> Or just link the VM minidisk with the root file system for this failing
> system as R/W on an working linux system, let's call that the maintenance
> system.  On the maintenance system, enable and mount that temporary volume.
> Now you have a fully functional linux system and can use any tool you like
> to correct the typo.
>
> Unmount, release/detach the minidisk when done and then boot the original
> failing system.
>
> Aria
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Bauer,
> Bobby (NIH/CIT) [E]
> Sent: Thursday, June 02, 2011 1:32 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: bad entry in fstab
>
> Thanks to everybody for help, especially for the remount command.
>
> Never did find a way to send Control-D
>
> The sed command worked perfect when I tested it on a running system but
> would not work from the maintenance mode. I kept getting the "Unterminated
> `s'" error and it looked like the # was causing a problem. We escaped the #
> like this \# and sed added a new line above the LogVol08 line. One of the
> guys said we should just use sed to delete the line and sure enough, we
> deleted the bad line in fstab and was able to ipl it.
>
> I think I learned my lesson to make backups no matter how simple a change
> it
> is.
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> -Original Message-
> From: Brent Kincer [mailto:dev.bkin...@gmail.com]
> Sent: Thursday, June 02, 2011 12:19 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: bad entry in fstab
>
> In case you're not using IUCV terminals and don't have access to something
> like 'vi', just use sed to comment out the offending line and reboot.
>
> Would go something like this:
> mount -o remount,rw /
> sed -i 's/.*LogVol08.*/#&/g' /etc/fstab
> shutdown -r now
>
> That sed statement will comment out any line containing LogVol08 in
> /etc/fstab. Correct your typo after the reboot.
>
> Hope this helps!
>
> On , Rogério Soares  wrote:
> > do a CTRL+D, you will got aa single user mode,, just correct you
>
> > /etc/fstab and reboot :)
>
>
>
>
>
>
>
> > On Thu, Jun 2, 2011 at 12:55 PM, Bauer, Bobby (NIH/CIT) [E]
> > baue...@mail.nih.gov> wrote:
>
>
>
> > > I made a typo when I added a new logical volume to fstab, I misspelled
> > the
>
> > > logical volume mane. The reboot fails with:
>
> > >
>
> > > [/sbin/fsck.ext4 (1) -- /LAData] fsck.ext4 -a
>
> > > /dev/mapper/vg_labarc-LogVol08
>
> > > fsck.ext4: No such file or directory while trying to open
>
> > > /dev/mapper/vg_labarc-LogVol08
>
> > > /dev/mapper/vg_labarc-LogVol08:
>
> > >
>
> > > The superblock could not be read or does not describe a correct ext2
>
> > > filesystem. If the device is valid and it really contains an ext2
>
> > > filesystem (and not swap or ufs or something else), then the superblock
>
> > > is corrupt, and you might try running e2fsck with an alternate
> > superblock:
>
> > > e2fsck -b 8193
>
> > >
>
> > > [FAILED]
>
> > >
>
> > > *** An error occurred during the file system check.
>
> > > *** Dropping you to a shell; the system will reboot
>
> > > *** when you leave the shell.
>
> > > *** Warning -- SELinux is active
>
> > > *** Disabling security enforcement for system recovery.
>
> > > *** Run 'setenforce 1' to reenable.
>
> > > Give root password for maintenance
>
> > > (or type Control-D to continue):
>
> > >
>
> > >
>
> > > If I give it the root password, th

<    1   2   3   4   5   6   >