Re: vswitch gateway

2004-12-29 Thread Alan Altmark
On Wednesday, 12/29/2004 at 11:00 EST, Dave Kutz <[EMAIL PROTECTED]>
wrote:
> We are setting up a vswitch and our problem is we can't use the same OSA
> subnet for the vswitch IP addresses without redesigning our whole OSA
and
> OSPF network.
> My question is 'Can Linux on a vswitch point to a zVM static VIPA as its
> gateway instead of a LAN router gateway to reach the network?'
> That way we could maintain our current OSA subnet and OSPF as is.

The easiest way to answer this kind of question is to draw it on a piece
of paper.  Linux on a vswitch can certainly point to a z/VM static VIPA as
long as the VIPA is in the same subnet as the Linux guests.  (A gateway
is, by definition, in the same subnet as the host.)

So if I drew this on paper, the Linux guests would be sending their
traffic to VM TCP/IP.  That means they are routing.  THAT means they get
ZERO benefit from the vswitch.

Remember that getting rid of the virtual router is the prime reason for
using the vswitch in the first place.

I don't your statement that you cannot use the same subnet for your Linux
guests "without redesigning [your] whole OSA and OSPF network".  The Linux
guests will have the same requirements as VM TCP/IP.  You treat them as
you would a shared OSA configuration.  Perhaps your subnet is simply too
small?  If it cannot be expanded, then you can use VLANs to create
additional LAN segments and subnets, but you do it inside the
switch/router, not inside the mainframe.  (Which is where dynamic routing
should be done, anyway, IMO.)

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: 2105

2004-12-29 Thread shogunx
On Wed, 29 Dec 2004, Noll, Ralph wrote:

> Yepjust like any other dasd

No, I mean standalone, without being connected to another host, or a 9672,
running linux instead of AIX.  Those cluster hosts are pretty significantly
powerful smp machies by themselves.  It would be a shame to waste that
computing power on disk i/o only.


>
> -Original Message-
> From: shogunx [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 5:02 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: 2105
>
> Hi All,
>
> Has anyone here natively installed linux on an ess 2105?
>
> Thanks,
> Scott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions, send
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

sleekfreak pirate broadcast
http://sleekfreak.ath.cx:81/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: 2105

2004-12-29 Thread Peter E. Abresch Jr. - at Pepco
We have, had no problems, we use flashcopy for backups. It all works
great.

Peter



shogunx <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port 
12/29/2004 06:02 PM
Please respond to
Linux on 390 Port 


To
LINUX-390@VM.MARIST.EDU
cc

Subject
2105






Hi All,

Has anyone here natively installed linux on an ess 2105?

Thanks,
Scott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: 2105

2004-12-29 Thread Noll, Ralph
Yepjust like any other dasd 

-Original Message-
From: shogunx [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 29, 2004 5:02 PM
To: LINUX-390@VM.MARIST.EDU
Subject: 2105

Hi All,

Has anyone here natively installed linux on an ess 2105?

Thanks,
Scott

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


2105

2004-12-29 Thread shogunx
Hi All,

Has anyone here natively installed linux on an ess 2105?

Thanks,
Scott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Question re: Linux SLES9

2004-12-29 Thread Rob van der Heij
On Wed, 29 Dec 2004 14:09:54 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I have looked and I have not seen any documentation that shows how to add a
> dasd unit via command line under SLES9.

With devfs you enable and disable devices by writing into pseudo
variables under the /sys directory. Like this:
rmhtest3:/sys/devices/css0/0.0.000b/0.0.019e # echo 1 > online

Rob
--
Rob van der Heij  rvdheij @ gmail.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Question re: Linux SLES9

2004-12-29 Thread dclark
Is there another way besides using the yast interface?

-Original Message-
From: Ranga Nathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 2:24 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Question re: Linux SLES9


If the dasd address was genned for the LPAR, then it should be visible in
"yast" under system (or hardware) --> DASD. You can then activate it, format
and mount. __
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840





[EMAIL PROTECTED]

Sent by: Linux on 390 Port 
12/29/2004 02:09 PM
Please respond to Linux on 390 Port

To: LINUX-390@VM.MARIST.EDU
cc:
Subject:Question re: Linux SLES9


SLES9 for S/390 (64-bit) in an LPAR > (no VM) using a shared IFL (I have one
other LPAR running SLES9 31-bit)

I have looked and I have not seen any documentation that shows how to add a
dasd unit via command line under SLES9.

Under SLES8 I used to execute

echo "add device range=" >> /proc/dasd/devices

And then I would execute the following to view the changes:

cat /proc/dasd/devices

But that does not seem to work any more.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Question re: Linux SLES9

2004-12-29 Thread Ranga Nathan
If the dasd address was genned for the LPAR, then it should be visible in
"yast" under system (or hardware) --> DASD. You can then activate it,
format and mount.
__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840





[EMAIL PROTECTED]

Sent by: Linux on 390 Port 
12/29/2004 02:09 PM
Please respond to Linux on 390 Port

To: LINUX-390@VM.MARIST.EDU
cc:
Subject:Question re: Linux SLES9


SLES9 for S/390 (64-bit) in an LPAR > (no VM) using a shared IFL (I have
one
other LPAR running SLES9 31-bit)

I have looked and I have not seen any documentation that shows how to add
a
dasd unit via command line under SLES9.

Under SLES8 I used to execute

echo "add device range=" >> /proc/dasd/devices

And then I would execute the following to view the changes:

cat /proc/dasd/devices

But that does not seem to work any more.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: basevol/guestvol w/ Reiserfs or ext2 opinions

2004-12-29 Thread Adam Thornton
On Dec 29, 2004, at 3:25 PM, Peter E. Abresch Jr. - at Pepco wrote:
I think I know the answer but appreciate any confirmations or other
recommendations. It has been a long process.
I am attempting to implement a basevol/guestvol system similar to what
is
described at http://linuxvm.org/present/misc/basevol.html . I have the
root filesystem defined as R/O under z/VM. When I try to boot, it fails
rather quickly with the following:
end_request: I/O error, dev 5e:01 (dasd), sector 65680
reiserfs: journal-837: IO error during journal update
Replay Failure, unable to mount
sh-2022: reiserfs_read_super: unable to initialize journal space
Kernel panic: VFS: Unable to mount root fs on 5e:01
HCPGIR450W CP entered; disabled wait PSW 000A 80230D08
Yes, I use Reiserfs and it appears I overlooked a minor detail with the
journaling. Am I correct in the assumption that the basevol/guestvol
system will not work with reiserfs?
Would ext2 be a better choice for what I am trying to accomplished?
As always, thank in advance.
E.
It looks like Reiser is trying to get to its journal space, which is on
a read-only disk.  I don't know nearly enough about reiser to know how
to make this work.
Ext2 would work better because there's no journal.  I have no idea
about ext3 or how you make sure that a volume's journal is
writeableactually...what if you mark the read-only volumes (ro) in
the zipl.conf and re-run zipl?
That might just fix it.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Question re: Linux SLES9

2004-12-29 Thread dclark
SLES9 for S/390 (64-bit) in an LPAR > (no VM) using a shared IFL (I have one
other LPAR running SLES9 31-bit)

I have looked and I have not seen any documentation that shows how to add a
dasd unit via command line under SLES9.

Under SLES8 I used to execute

echo "add device range=" >> /proc/dasd/devices

And then I would execute the following to view the changes:

cat /proc/dasd/devices

But that does not seem to work any more.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: basevol/guestvol w/ Reiserfs or ext2 opinions

2004-12-29 Thread Mark Post
Plus, there's simply no benefit to using a journaled file system in
read-only mode.  The journal is there to record updates that haven't been
written out to the file system yet.  A read-only file system won't have any
updates, so no need for the journal.  As you point out, it only causes
confusion and strange-looking "errors."


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Fargusson.Alan
Sent: Wednesday, December 29, 2004 4:36 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: basevol/guestvol w/ Reiserfs or ext2 opinions


It looks like your root filesystem was not unmounted cleanly.  Perhaps
something went wrong during the shutdown of the guest.  You may be able to
get around this by mounting it r/w, then unmount and mount it r/o.

In general I don't like to use journaled filesystems for read only access.
It seems like they will try to write to the journal even when the filesystem
is mounted read only.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vswitch gateway

2004-12-29 Thread Mark Post
If you're talking about sending all your Linux/390 network traffic through
the z/VM TCP/IP stack, then there's no point at all in using VSWITCH.
Simply set up a Guest LAN and define the z/VM TCP/IP IP address on the Guest
LAN as the default gateway.  You'll need to have z/VM advertise the routes
to the IP addresses on the Guest LAN to the rest of the network, but then I
take it you already understand that.

I'd be really interested in hearing why you cannot put additional IP
addresses on the same subnet without redesigning everything.  That sounds
kind of odd to me, and I'm not even a networking guy.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Dave Kutz
Sent: Wednesday, December 29, 2004 11:00 AM
To: LINUX-390@VM.MARIST.EDU
Subject: vswitch gateway


We are setting up a vswitch and our problem is we can't use the same OSA
subnet for the vswitch IP addresses without redesigning our whole OSA and
OSPF network.
My question is 'Can Linux on a vswitch point to a zVM static VIPA as its
gateway instead of a LAN router gateway to reach the network?'
That way we could maintain our current OSA subnet and OSPF as is.


Dave Kutz
Network Engineering
Highmark, Inc.
Camp Hill, PA 17089
[EMAIL PROTECTED]
Phone: (717)302-6534

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: basevol/guestvol w/ Reiserfs or ext2 opinions

2004-12-29 Thread Fargusson.Alan
It looks like your root filesystem was not unmounted cleanly.  Perhaps 
something went wrong during the shutdown of the guest.  You may be able to get 
around this by mounting it r/w, then unmount and mount it r/o.

In general I don't like to use journaled filesystems for read only access.  It 
seems like they will try to write to the journal even when the filesystem is 
mounted read only.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Peter E. Abresch Jr. - at Pepco
Sent: Wednesday, December 29, 2004 1:25 PM
To: LINUX-390@VM.MARIST.EDU
Subject: basevol/guestvol w/ Reiserfs or ext2 opinions


I think I know the answer but appreciate any confirmations or other
recommendations. It has been a long process.

I am attempting to implement a basevol/guestvol system similar to what is
described at http://linuxvm.org/present/misc/basevol.html . I have the
root filesystem defined as R/O under z/VM. When I try to boot, it fails
rather quickly with the following:

end_request: I/O error, dev 5e:01 (dasd), sector 65680
reiserfs: journal-837: IO error during journal update
Replay Failure, unable to mount
sh-2022: reiserfs_read_super: unable to initialize journal space
Kernel panic: VFS: Unable to mount root fs on 5e:01
HCPGIR450W CP entered; disabled wait PSW 000A 80230D08

Yes, I use Reiserfs and it appears I overlooked a minor detail with the
journaling. Am I correct in the assumption that the basevol/guestvol
system will not work with reiserfs?

Would ext2 be a better choice for what I am trying to accomplished?

As always, thank in advance.

Peter



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Can Linux Console be "Spooled?"

2004-12-29 Thread Tom Shilson
Linux on 390 Port  wrote on 12/29/2004 03:13:57
PM:

> Tom,
>
> It sounds as if you are running your linux systems as VM guests.
> If so, just spool the console like any other guest.
>
> I IPL CMS in all my linux guests, run a profile to setup swap
> and other things, and spool the console. Then I ipl the linux
> boot volume.
>
> Otherwise you can use that neat utility and type
> HCP SP CONS START TO MAINT
> at a root prompt.
>
> But, I like the first method because then I get all the
> initialization messages too.
>
> Good Luck!
> Dennis

But vi, and a lot of other things, don't work on the console. Someday I
will build in 3270 console support, but until then I have to use PuTTY.

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


basevol/guestvol w/ Reiserfs or ext2 opinions

2004-12-29 Thread Peter E. Abresch Jr. - at Pepco
I think I know the answer but appreciate any confirmations or other
recommendations. It has been a long process.

I am attempting to implement a basevol/guestvol system similar to what is
described at http://linuxvm.org/present/misc/basevol.html . I have the
root filesystem defined as R/O under z/VM. When I try to boot, it fails
rather quickly with the following:

end_request: I/O error, dev 5e:01 (dasd), sector 65680
reiserfs: journal-837: IO error during journal update
Replay Failure, unable to mount
sh-2022: reiserfs_read_super: unable to initialize journal space
Kernel panic: VFS: Unable to mount root fs on 5e:01
HCPGIR450W CP entered; disabled wait PSW 000A 80230D08

Yes, I use Reiserfs and it appears I overlooked a minor detail with the
journaling. Am I correct in the assumption that the basevol/guestvol
system will not work with reiserfs?

Would ext2 be a better choice for what I am trying to accomplished?

As always, thank in advance.

Peter



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Can Linux Console be "Spooled?"

2004-12-29 Thread Dennis Wicks
Tom,

It sounds as if you are running your linux systems as VM guests.
If so, just spool the console like any other guest.

I IPL CMS in all my linux guests, run a profile to setup swap
and other things, and spool the console. Then I ipl the linux
boot volume.

Otherwise you can use that neat utility and type
HCP SP CONS START TO MAINT
at a root prompt.

But, I like the first method because then I get all the
initialization messages too.

Good Luck!
Dennis




|+->
||  Tom Shilson|
||  <[EMAIL PROTECTED]|
||  om>|
||  Sent by: Linux |
||  on 390 Port|
||  <[EMAIL PROTECTED]|
||  ARIST.EDU> |
|| |
|| |
||  12/29/2004 |
||  12:21 PM   |
||  Please respond |
||  to Linux on 390|
||  Port   |
|| |
|+->
  
>---|
  | 
  |
  |  To: LINUX-390@VM.MARIST.EDU
  |
  |  cc:
  |
  |  Subject: Can Linux Console be "Spooled?"   
  |
  
>---|




As a long-time VMer (the first Rel 3), when I am working on Linux I really
miss having my console spooled, showing all my commands and all my output.
I have tried using tee with the shell, but I haven't been able to make it
work.  Is there any way to do this?

Thanks,

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Moving root to a new volume

2004-12-29 Thread Mark Post
Not exactly.  It makes it available to CP for that z/VM guest.  To make it
accessible to CMS, you would do an "access" command (if it were CMS
formatted).  To make it available to Linux, you would need to go through the
"echo add device range=xxx > /proc/dasd/devices" routine.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 1:20 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Moving root to a new volume


For us "non-VM" aware users, can I assume that the command "CP LINK" causes
the new root disk to be available -- aka "online", to the original or
(old/source) system?


-Original Message-
From: Tom Shilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 8:34 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Moving root to a new volume


Here is a list of the steps I did to move my root disk. YMMV.  Good Luck.

   Shut down my target system
   From a second system, CP LINK to the old root system and the new root
   disk
   dasdfmt -b 4096 -v -f /dev/dasdd [This prepares the disk to
   receive the data. ]
   fdasd -a -b 4096 /dev/dasdd
   mke2fs -j -b 4096 /dev/dasdd1
   mount old root system as /oldroot
   mount new disk as /mnt
   cp --preserve=all --recursive /oldroot/* /mnt/   [There are two dashses
   before preserve and recursive]
   cd /mnt/etc
   Create the zipl.ths.conf file below.
   cd /mnt/sbin
   ./zipl -c /mnt/etc/zipl.ths.conf [You want to execute the
   copy of zipl on the target system]
   cd /   [You need to get out of /mnt so
   you can umount it.]
   umount /mnt
   umount /oldroot
   CP DET the two minidisks
   Modify the directory of the targe system to swap the addresses of the
   old and new root disks.
   Boot the target system

/etc/zipl.ths.conf:

# Generated by YaST2
[defaultboot]
default=ipl

[ipl]
target=/mnt/boot/zipl
image=/mnt/boot/kernel/image
ramdisk=/mnt/boot/initrd
parameters="dasd=201-20F root=/dev/dasda1"

/etc/fstab:

/dev/dasda1  /  ext3defaults
1 1
/dev/dasdc1  /homeext3defaults
1 2
/dev/dasdb1  /usr   ext3defaults
1 2
devpts /dev/pts devpts  mode=0620,gid=5
  0 0
proc /procproc   defaults
0 0

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689

Linux on 390 Port  wrote on 12/28/2004 08:42:49
AM:

> Hi all,
>
> When I initially installed my Linux Instances, I used MOD-3's.  I
> would now like to move them to MOD-9's because my boss wants to
> reconfigure all the DASD to MOD-9's.  How can I accomplish moving root
> to a new volume and get it to IPL off that new volume?
>
> Thanks
> Gene

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Experiences with Oracle 10g Database on Linux for zSeries

2004-12-29 Thread Tom Russell
>From:Mark Post <[EMAIL PROTECTED]>
>Subject: Re: Experiences with Oracle 10g Database on Linux for zSeries
>I was pretty sure that Oracle 10g was going to be 64-bit only.  Does
anyone
>have any information to confirm or refute this?
>Mark Post

Indeed, Oracle 10g for Linux on zSeries is 64-bit only.  It will not run on
9672 hardware.  You must have the s390x version of SLES8 or SLES9.  It is
not certified on SLES9 yet, but it does work.  I think RHES is certified
but I am not sure.


Tom Russell


"Stay calm.  Be brave.  Wait for the signs." -- Jasper Friendly Bear

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Adam Thornton
On Dec 29, 2004, at 12:31 PM, Noll, Ralph wrote:
Vm doesn't recognize ctrl-d...
Just use exit to log out of that shell.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread McKown, John
> -Original Message-
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Paul L. Rogers
> Sent: Wednesday, December 29, 2004 1:01 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: ftp question, not really Linux
> 



> Are you sure that your FTP client doesn't already support
> this feature?  I've done this on Linux as well as at least
> one version of Unix.
> 
> From "man ftp":
> 
>If the first character of the file name is '|', the
>remainder of the argument is interpreted as a shell
>command.  Ftp then forks a shell, using popen(3) with
>the argument supplied, and reads (writes) from the
>stdout (stdin).  If the shell command includes spaces,
>the argument must be quoted; e.g.  ``" ls -lt"''.  A
>particularly useful example of this mechanism is:
>``dir more''.
> 
> For example:
> 
>$ ftp myisp.com
>...
>ftp> put "|cat /etc/hosts" myhosts
>local: |cat /etc/hosts remote: myhosts
>200 PORT command successful
>150 Opening BINARY mode data connection for myhosts
>226 Transfer complete.
>377 bytes sent in 0.00 secs (3916.6 kB/s)
> 
> [snip]
> 
> > Hope everybody had a good holiday.
> 
> Thanks and may each of you have a blessed new year!
> 
> Paul

WONDERFUL!!! I never even thought to look. This really helps because it
turns out that I cannot "put" a file that is created via a "mkfifo". The
ftp client reports "not a text file" or some such thing.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Fw: [LINUX-390] File system full

2004-12-29 Thread Hall, Ken (IDS DCS PE)
We've noticed that under certain conditions, the "df" command will show a 
reiser filesystem still full even after files are deleted to make room.  The 
stats don't appear correctly until the filesystem is unmounted and remounted.

> -Original Message-
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> John Campbell
> Sent: Wednesday, December 29, 2004 1:42 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: [LINUX-390] Fw: [LINUX-390] File system full
> 
> 
>   It can be a real bear when someone deletes the file but 
> leaves the
> process that has it open running...
> 
>   See:  http://www.systemtoolbox.com/article.php?articles_id=15
> 
> 
> John R. Campbell, Speaker to Machines (GNUrd)  {813-356|697}-5322
> Adsumo ergo raptus sum
> MacOS X: Because making Unix user-friendly was easier than debugging
> Windows.
> Red Hat Certified Engineer (#803004680310286)
> IBM Certified: IBM AIX 4.3 System Administration, System Support
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO 
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread Paul L. Rogers
On Wed, 29 Dec 2004, McKown, John wrote:

> Date: Wed, 29 Dec 2004 11:53:19 -0600
> From: "McKown, John" <[EMAIL PROTECTED]>
> Reply-To: Linux on 390 Port 
> To: LINUX-390@VM.MARIST.EDU
> Subject: ftp question, not really Linux
>
> I hope ya'll don't mind. This is really more of a generic UNIX ftp type
> question. Suppose that I have a program whose output I want to go to a
> remote system. Futher suppose that said remote system only have ftp
> capability. I cannot use NFS, Samba, netcat, ... . Well, the remote
> system is a Windows system. 'Nuff said.

Are you sure that your FTP client doesn't already support
this feature?  I've done this on Linux as well as at least
one version of Unix.

>From "man ftp":

   If the first character of the file name is '|', the
   remainder of the argument is interpreted as a shell
   command.  Ftp then forks a shell, using popen(3) with
   the argument supplied, and reads (writes) from the
   stdout (stdin).  If the shell command includes spaces,
   the argument must be quoted; e.g.  ``" ls -lt"''.  A
   particularly useful example of this mechanism is:
   ``dir more''.

For example:

   $ ftp myisp.com
   ...
   ftp> put "|cat /etc/hosts" myhosts
   local: |cat /etc/hosts remote: myhosts
   200 PORT command successful
   150 Opening BINARY mode data connection for myhosts
   226 Transfer complete.
   377 bytes sent in 0.00 secs (3916.6 kB/s)

[snip]

> Hope everybody had a good holiday.

Thanks and may each of you have a blessed new year!

Paul

> --
> John McKown
> Senior Systems Programmer
> UICI Insurance Center
> Information Technology
>
> This message (including any attachments) contains confidential
> information intended for a specific individual and purpose, and its'
> content is protected by law.  If you are not the intended recipient, you
> should delete this message and are hereby notified that any disclosure,
> copying, or distribution of this transmission, or taking any action
> based on it, is strictly prohibited.

[snip]

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Peter E. Abresch Jr. - at Pepco
<><><>

Re: Error on startup

2004-12-29 Thread Tom Shilson
Linux on 390 Port  wrote on 12/29/2004 12:31:39
PM:

> Vm doesn't recognize ctrl-d...

Try "exit".  If that doesn't work, try to umount root (I don't know if you
can at this point) then #CP IPL.

tomS

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread Romanowski, John (OFT)
Can the box/PC from which you're ssh-ing to zLinux also connect to the
Winx box on which you want to put the file? 
If so, and if the zLinux ssh server has port-forwarding enabled, you can
port-forward (tunnel) SMB thru your PC's shh client to connect your
mainframe Linux to your Winx share. You then could use smbclient, for
instance, to put files from zLinux onto your Winx share.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
McKown, John
Sent: Wednesday, December 29, 2004 12:53 PM
To: LINUX-390@VM.MARIST.EDU
Subject: ftp question, not really Linux

I hope ya'll don't mind. This is really more of a generic UNIX ftp type
question. Suppose that I have a program whose output I want to go to a
remote system. Futher suppose that said remote system only have ftp
capability. I cannot use NFS, Samba, netcat, ... . Well, the remote
system is a Windows system. 'Nuff said.

At present I create a file from my program, ftp the file to the Windows
box, then rm the output file. In a spat of insanity, I have come up with
an alternative solution, sort of. Instead of creating an physical output
file, I use mknod to create a socket in the filesystem with the same
name and open() it. I then create a pipe(). I fork() ftp, with the stdin
associated with one of the pipe() file descriptors and stdout/stderr
associated with the other pipe() file descriptor. I then feed the
appropriate ftp commands to the ftp process via the pipe. Basically, I
feed in the userid and password, followed by a "put". The "put" command
references the filesystem name which is socket that I did the mknod()
and open() on. I feed my report out this. This places my report
"directly" on the Windows server.

Is this crazy? I do understand the possible problems if an error occurs
in the ftp process. I won't have my report anywhere else to send later.
In this case, I guess that I would "restart" my report generator to
create an actual disk file on the Linux box.

It's a low traffic season.

Hope everybody had a good holiday.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Ferguson, Neale
^D (caret-D) and then enter. I think from that prompt exit will also work.

-Original Message-
Vm doesn't recognize ctrl-d... 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Fw: [LINUX-390] File system full

2004-12-29 Thread John Campbell
  It can be a real bear when someone deletes the file but leaves the
process that has it open running...

  See:  http://www.systemtoolbox.com/article.php?articles_id=15


John R. Campbell, Speaker to Machines (GNUrd)  {813-356|697}-5322
Adsumo ergo raptus sum
MacOS X: Because making Unix user-friendly was easier than debugging
Windows.
Red Hat Certified Engineer (#803004680310286)
IBM Certified: IBM AIX 4.3 System Administration, System Support

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Fw: [LINUX-390] File system full

2004-12-29 Thread John Campbell
  find /path -xdev -type f -ls | sort -n -r +6 | more -c


John R. Campbell, Speaker to Machines (GNUrd)  {813-356|697}-5322
Adsumo ergo raptus sum
MacOS X: Because making Unix user-friendly was easier than debugging
Windows.
Red Hat Certified Engineer (#803004680310286)
IBM Certified: IBM AIX 4.3 System Administration, System Support

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Noll, Ralph
Vm doesn't recognize ctrl-d... 

> -Original Message-
> From: Tom Shilson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 29, 2004 10:32 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Error on startup
> 
> You are in a limited shell.  You don't have the full set of 
> commands but enough to troubleshoot disk errors.  Typically 
> running fsck on the root disk will fix your problems.  After 
> you do that, do a CTRL-D.  The system will reboot.
> 
> tom
> - - - - - - - - - - - -
> Toto, I have a feeling we're not in the mainframe world any more.
>_/)  Tom Shilson
> ~GEDW & VM System Services
> Aloha   Tel:  651-733-7591   tshilson at mmm dot com
>Fax:  651-736-7689
> 
> 
> 
>  "Noll, Ralph"
>  <[EMAIL PROTECTED]
>  .state.ar.us>
>   To
>  Sent by: Linux on LINUX-390@VM.MARIST.EDU
>  390 Port 
>   cc
>  <[EMAIL PROTECTED]
>  IST.EDU> 
>  Subject
>Error on startup
> 
>  12/29/2004 08:32
>  AM
> 
> 
>  Please respond to
>  Linux on 390 Port
>  <[EMAIL PROTECTED]
>  IST.EDU>
> 
> 
> 
> 
> 
> 
> /dev/system/lvol1: Unattached inode 928477
> 
> 
> /dev/system/lvol1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
> (i.e., without -a or -p options)
> fsck.ext2 /dev/system/lvol1 failed (status 0x4). Run manually!
> ..failed
> fsck for root file system (/) failed.
> Please repair it manually and reboot.
> The root file system is currently mounted read-only.
> 
> Attention: Only CONTROL-D will reboot the system in this 
> maintanance mode. shutdown or reboot will not work.
> 
> Give root password to login:
> 
> Anyone every seen the above???
> 
> Any ideas???
> 
> Thanks
> 
> Ralph
> 
> --
> For LINUX-390 subscribe / signoff / archive access 
> instructions, send email to [EMAIL PROTECTED] with the 
> message: INFO LINUX-390 or visit 
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> 
> --
> For LINUX-390 subscribe / signoff / archive access 
> instructions, send email to [EMAIL PROTECTED] with the 
> message: INFO LINUX-390 or visit 
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread Ranga Nathan
John:
Looks like you rolled out an FTP client in C. I have done something
similar using Perl (Net::FTP module). It is slick in that you can examine
the FTP log in real-time and determine if the FTP succeeded. One of the
problem I had was to make sure that the file is processed at the other end
only after the transfer was completed. I am not sure if the pipe addresses
that issue. In my case, I created a file with the name
.in.progress and renamed it after successful completion.
__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840





"McKown, John" <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port 
12/29/2004 09:53 AM
Please respond to Linux on 390 Port

To: LINUX-390@VM.MARIST.EDU
cc:
Subject:ftp question, not really Linux


I hope ya'll don't mind. This is really more of a generic UNIX ftp type
question. Suppose that I have a program whose output I want to go to a
remote system. Futher suppose that said remote system only have ftp
capability. I cannot use NFS, Samba, netcat, ... . Well, the remote
system is a Windows system. 'Nuff said.

At present I create a file from my program, ftp the file to the Windows
box, then rm the output file. In a spat of insanity, I have come up with
an alternative solution, sort of. Instead of creating an physical output
file, I use mknod to create a socket in the filesystem with the same
name and open() it. I then create a pipe(). I fork() ftp, with the stdin
associated with one of the pipe() file descriptors and stdout/stderr
associated with the other pipe() file descriptor. I then feed the
appropriate ftp commands to the ftp process via the pipe. Basically, I
feed in the userid and password, followed by a "put". The "put" command
references the filesystem name which is socket that I did the mknod()
and open() on. I feed my report out this. This places my report
"directly" on the Windows server.

Is this crazy? I do understand the possible problems if an error occurs
in the ftp process. I won't have my report anywhere else to send later.
In this case, I guess that I would "restart" my report generator to
create an actual disk file on the Linux box.

It's a low traffic season.

Hope everybody had a good holiday.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Can Linux Console be "Spooled?"

2004-12-29 Thread Michael MacIsaac
> Is there any way to do this?
script

Type "script" - do your stuff - type "exit" and the file typescript is
created.

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Moving root to a new volume

2004-12-29 Thread Tom Shilson
Hi,

Yes, but In my example, I was making the old and new root disks
available to a second system.  In a follow-on note to mine, Mark Post gave
an example of doing it all on one system. I suggest that you look at  his
method first.

 From Mark's Post

Taking the system out of service for such a long period of time can easily
be avoided by:
1. Adding the new disk to the existing system dynamically
2. Doing the same dasdmft, fdasd and mke2fs.
3. Following the HOWTO at http://linuxvm.org/Info/HOWTOs/movefs.html from
steps 3 to 4, but doing the "cd" to /, instead of /usr.
4. chroot to /mnt
5. Update /etc/zipl.conf, but only if any device numbers will change.
6. Run zipl
7. exit the chroot environment
8. Unmount the new file system.
9. Reboot at the time of your choice.

This also eliminates the need to modify all the other parameters in
/etc/zipl.conf to remove the /mnt from the directory paths.


Mark Post

tom
- - - - - - - - - - - -


Linux on 390 Port  wrote on 12/29/2004 12:19:59
PM:

> For us "non-VM" aware users, can I assume that the command "CP LINK"
causes
> the new root disk to be available -- aka "online", to the original or
> (old/source) system?
<...snip...>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Can Linux Console be "Spooled?"

2004-12-29 Thread Adam Thornton
On Dec 29, 2004, at 12:21 PM, Tom Shilson wrote:
As a long-time VMer (the first Rel 3), when I am working on Linux I
really
miss having my console spooled, showing all my commands and all my
output.
I have tried using tee with the shell, but I haven't been able to make
it
work.  Is there any way to do this?
Use "script" and then use tail -f or something on the file it creates
in a separate session.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Can Linux Console be "Spooled?"

2004-12-29 Thread Mark Price
Run 'script' before you start work.


[EMAIL PROTECTED] mprice]$ script
Script started, file is typescript

[EMAIL PROTECTED] mprice]$ uname -a
Linux svcprod.svc 2.4.18-27.7SMP #3 SMP Fri Apr 4 19:16:11 PST 2003 i686
unknown
[EMAIL PROTECTED] mprice]$ exit
exit
Script done, file is typescript

[EMAIL PROTECTED] mprice]$ cat typescript
Script started on Wed Dec 29 10:25:43 2004
[EMAIL PROTECTED] mprice]$ uname -a
Linux svcprod.svc 2.4.18-27.7SMP #3 SMP Fri Apr 4 19:16:11 PST 2003 i686
unknown
[EMAIL PROTECTED] mprice]$ exit
exit

Script done on Wed Dec 29 10:25:49 2004

On Wed, 2004-12-29 at 10:21, Tom Shilson wrote:
> As a long-time VMer (the first Rel 3), when I am working on Linux I really
> miss having my console spooled, showing all my commands and all my output.
> I have tried using tee with the shell, but I haven't been able to make it
> work.  Is there any way to do this?
>
> Thanks,
>
> tom
> - - - - - - - - - - - -
> Toto, I have a feeling we're not in the mainframe world any more.
>_/)  Tom Shilson
> ~GEDW & VM System Services
> Aloha   Tel:  651-733-7591   tshilson at mmm dot com
>Fax:  651-736-7689
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
--
Mark Price
IBM - Linux Change Team
+1(503)-578-7524

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread Adam Thornton
On Dec 29, 2004, at 11:53 AM, McKown, John wrote:
I hope ya'll don't mind. This is really more of a generic UNIX ftp type
question. Suppose that I have a program whose output I want to go to a
remote system. Futher suppose that said remote system only have ftp
capability. I cannot use NFS, Samba, netcat, ... . Well, the remote
system is a Windows system. 'Nuff said.
At present I create a file from my program, ftp the file to the Windows
box, then rm the output file. In a spat of insanity, I have come up
with
an alternative solution, sort of.
...
Is this crazy? I do understand the possible problems if an error occurs
in the ftp process. I won't have my report anywhere else to send later.
In this case, I guess that I would "restart" my report generator to
create an actual disk file on the Linux box.
Well, you've just pointed out why this is crazy.
If you want to automate it, save the file first, and then wrap an ftp
session in expect or something so you can manage the error handling.
Or failing that, write a Perl or Python app, using one of those
languages' FTP libraries, which takes input on stdin and puts it onto
the other box, so you can at least get some sort of failure
notification.  You could use mkfifo (not mknod) to create a named pipe
to feed the input of the script, too, if you wanted, so from your
perspective you'd still just open and write a file, but you'd get some
sort of error handling.
Allow me also to go on my usual rant.  FTP is evil.  Not only does it
transmit authentication information in cleartext, but the awful design
of active-mode FTP constitutes a layer 2/layer 3 violation which makes
it inordinately difficult to proxy or tunnel through NAT.  Yes, I
realize that it's what your Windows guys support; that doesn't make it
a better idea.  It's been time for FTP to die for a decade now.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread David Boyes
> At present I create a file from my program, ftp the file to
> the Windows
> box, then rm the output file.

If you can control what FTP client is used on your system, check out
using 'ncftp' and 'ncftpbatch'. ncftpbatch allows you to essentially
schedule the transfer as a background task, and there are options to
remove files after a successful transfer.

This works pretty generically, and the background part is really slick.
It also produces a nice parsable log file to tell you what it did...8-)

-- db

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


anyone using raw mode in SLES9 to read minidisks for backup

2004-12-29 Thread Ranga Nathan
Has anyone mounted a minidisk in 'raw' mode in SLES9?
When I use:

raw/dev/raw/raw1  /dev/dasdh
I get the error:
zlintest1:/home/tssrxn1 # raw /dev/raw/raw1 /dev/dasdh
Cannot open master raw device '/dev/rawctl' (No such device or
address)
Even "raw-qa" gives the same error.

where dasdh is:

0.0.0191(ECKD) at ( 94:28) is dasdh   : active at blocksize: 4096,
9000 blocks, 35 MB

which is my parm disk.

I was experimenting to see if I could use raw to read and backup
minidisks.




__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Can Linux Console be "Spooled?"

2004-12-29 Thread Tom Shilson
As a long-time VMer (the first Rel 3), when I am working on Linux I really
miss having my console spooled, showing all my commands and all my output.
I have tried using tee with the shell, but I haven't been able to make it
work.  Is there any way to do this?

Thanks,

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Moving root to a new volume

2004-12-29 Thread dclark
For us "non-VM" aware users, can I assume that the command "CP LINK" causes
the new root disk to be available -- aka "online", to the original or
(old/source) system?


-Original Message-
From: Tom Shilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 8:34 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Moving root to a new volume


Here is a list of the steps I did to move my root disk. YMMV.  Good Luck.

   Shut down my target system
   From a second system, CP LINK to the old root system and the new root
   disk
   dasdfmt -b 4096 -v -f /dev/dasdd [This prepares the disk to
   receive the data. ]
   fdasd -a -b 4096 /dev/dasdd
   mke2fs -j -b 4096 /dev/dasdd1
   mount old root system as /oldroot
   mount new disk as /mnt
   cp --preserve=all --recursive /oldroot/* /mnt/   [There are two dashses
   before preserve and recursive]
   cd /mnt/etc
   Create the zipl.ths.conf file below.
   cd /mnt/sbin
   ./zipl -c /mnt/etc/zipl.ths.conf [You want to execute the
   copy of zipl on the target system]
   cd /   [You need to get out of /mnt so
   you can umount it.]
   umount /mnt
   umount /oldroot
   CP DET the two minidisks
   Modify the directory of the targe system to swap the addresses of the
   old and new root disks.
   Boot the target system

/etc/zipl.ths.conf:

# Generated by YaST2
[defaultboot]
default=ipl

[ipl]
target=/mnt/boot/zipl
image=/mnt/boot/kernel/image
ramdisk=/mnt/boot/initrd
parameters="dasd=201-20F root=/dev/dasda1"

/etc/fstab:

/dev/dasda1  /  ext3defaults
1 1
/dev/dasdc1  /homeext3defaults
1 2
/dev/dasdb1  /usr   ext3defaults
1 2
devpts /dev/pts devpts  mode=0620,gid=5
  0 0
proc /procproc   defaults
0 0

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689

Linux on 390 Port  wrote on 12/28/2004 08:42:49
AM:

> Hi all,
>
> When I initially installed my Linux Instances, I used MOD-3's.  I
> would now like to move them to MOD-9's because my boss wants to
> reconfigure all the DASD to MOD-9's.  How can I accomplish moving root
> to a new volume and get it to IPL off that new volume?
>
> Thanks
> Gene

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread McKown, John
> -Original Message-
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Michael MacIsaac
> Sent: Wednesday, December 29, 2004 11:59 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: ftp question, not really Linux
> 
> 
> John,
> 
> > I cannot use NFS, Samba, netcat, ... . Well, the remote
> > system is a Windows system.
> Why can't you use SMB to a Windows system?

Politics. "We don't trust Linux." The Linux system, such as we have,
belongs to the "mainframe" people. The Windows people don't understand,
trust, or want anything to do with Linux. The Windows people will trust
ftp from us mainframers because they feel that they have greater
control. In addition, the ftp is working now, so "why change?" True
enough. This is one of my "wild hare" (since I no longer have much hair)
type projects.

In addition, if I can get this working, I don't need to interface with
them at all. They are not very "open". I can understand that. I feel
similiarly towards my systems as well.

Also, I could do something similiar on our z/OS system if I get it
working on Linux (where I feel it will be easier to program and test).
That is my long term goal (or gaol ): to be able to "ftp" a file
directly from z/OS via a DD statement.

> 
> > This places my report "directly" on the Windows server.
> Yup, SMB does that.
> 
> "Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061
> 

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ftp question, not really Linux

2004-12-29 Thread Michael MacIsaac
John,

> I cannot use NFS, Samba, netcat, ... . Well, the remote
> system is a Windows system.
Why can't you use SMB to a Windows system?

> This places my report "directly" on the Windows server.
Yup, SMB does that.

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


ftp question, not really Linux

2004-12-29 Thread McKown, John
I hope ya'll don't mind. This is really more of a generic UNIX ftp type
question. Suppose that I have a program whose output I want to go to a
remote system. Futher suppose that said remote system only have ftp
capability. I cannot use NFS, Samba, netcat, ... . Well, the remote
system is a Windows system. 'Nuff said.

At present I create a file from my program, ftp the file to the Windows
box, then rm the output file. In a spat of insanity, I have come up with
an alternative solution, sort of. Instead of creating an physical output
file, I use mknod to create a socket in the filesystem with the same
name and open() it. I then create a pipe(). I fork() ftp, with the stdin
associated with one of the pipe() file descriptors and stdout/stderr
associated with the other pipe() file descriptor. I then feed the
appropriate ftp commands to the ftp process via the pipe. Basically, I
feed in the userid and password, followed by a "put". The "put" command
references the filesystem name which is socket that I did the mknod()
and open() on. I feed my report out this. This places my report
"directly" on the Windows server.

Is this crazy? I do understand the possible problems if an error occurs
in the ftp process. I won't have my report anywhere else to send later.
In this case, I guess that I would "restart" my report generator to
create an actual disk file on the Linux box.

It's a low traffic season.

Hope everybody had a good holiday.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Problem solving z/VM and Linux

2004-12-29 Thread Coffin Michael C
Hi Arjen,

I didn't see a response to your question about where VM messages are logged.

As a general rule, most sites direct all important system messages to the
system operator (named OPERATOR unless you've changed it in your parms
file).  From your question, I'll assume you are not running the Programmable
Operator Facility (PROP) or CA's VM:Operator, so there are no 'formatted
logs' per se.

OPERATOR should  be spooling it's console, if not put the following in it's
PROFILE EXEC:

'CP SPOOL CONSOLE START TO * CLASS T'

To spool consoles to the OPERATOR reader in CLASS T (modify as you may
like).  Rerun the profile exec.  Don't forget to close these console files
periodically as they can get quite large.

To close a console, execute CP SPOOL CONSOLE CLOSE on the OPERATOR userid
(optionally provide TO where-you'd-like-it to close the file to a
destination other than OPERATOR's reader, where you initially spooled it
to).

You can either PEEK at console files in the reader or receive the file to
disk (giving it a name since these are 'unnamed' files) and XEDIT it.  If
you PEEK, don't forget to either permanently change the (dumb!) default of
peeking at only the first 200 lines of a reader file by executing:

DEFAULTS SET PEEK FROM 1 FOR *

Or provide '(FOR *' on the PEEK command.

Hint:  Use the ALL Xedit command to restrict what you are seeing to records
that match your interest, for example 'ALL /TCPIP/' to show records with the
string 'TCPIP' in it, ignoring all others.

Michael Coffin, VM Systems Programmer
Internal Revenue Service - Room 6527
 Constitution Avenue, N.W.
Washington, D.C.  20224

Voice: (202) 927-4188   FAX:  (202) 622-6726
[EMAIL PROTECTED]



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of ING.
A. Neij
Sent: Wednesday, December 22, 2004 6:10 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Problem solving z/VM and Linux


Hi everybody,

Does anyone has some experience in problem solving / reading log information
under z/VM in relation to Linux Guests? At our site we've got z/VM Linux
guests which sometimes drops it's TCP IP connections. The TCPIP stack off
the VM installation itself seems working well!

Now I want to browse loggin information etc. to find a clue for this
problem. I expect VM to create loggings (at least console) Has anyone an
idea where and how to start browsing in VM logs? I am new to this part of VM

We are using VM version 4.2

Kind Regards,

Arjen

email: [EMAIL PROTECTED]

**
Disclaimer

The information contained in this message is intended only for the person or
entity to whom it is addressed and may contain confidential and/or privacy
sensitive information. If you are not the addressee of this message, you may
not use, distribute or disclose this information in any way. If you have
received this message mistakenly, please notify us immediately and destroy
this message forthwith. KAS BANK N.V. does not guarantee that the
information contained in this message will be correctly or entirely received
by the recipient.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Tom Shilson
You are in a limited shell.  You don't have the full set of commands but
enough to troubleshoot disk errors.  Typically running fsck on the root
disk will fix your problems.  After you do that, do a CTRL-D.  The system
will reboot.

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689



 "Noll, Ralph"
 <[EMAIL PROTECTED]
 .state.ar.us>  To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU
 390 Port   cc
 <[EMAIL PROTECTED]
 IST.EDU>  Subject
   Error on startup

 12/29/2004 08:32
 AM


 Please respond to
 Linux on 390 Port
 <[EMAIL PROTECTED]
 IST.EDU>






/dev/system/lvol1: Unattached inode 928477


/dev/system/lvol1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck.ext2 /dev/system/lvol1 failed (status 0x4). Run manually!
..failed
fsck for root file system (/) failed.
Please repair it manually and reboot.
The root file system is currently mounted read-only.

Attention: Only CONTROL-D will reboot the system in this
maintanance mode. shutdown or reboot will not work.

Give root password to login:

Anyone every seen the above???

Any ideas???

Thanks

Ralph

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


vswitch gateway

2004-12-29 Thread Dave Kutz
We are setting up a vswitch and our problem is we can't use the same OSA
subnet for the vswitch IP addresses without redesigning our whole OSA and
OSPF network.
My question is 'Can Linux on a vswitch point to a zVM static VIPA as its
gateway instead of a LAN router gateway to reach the network?'
That way we could maintain our current OSA subnet and OSPF as is.


Dave Kutz
Network Engineering
Highmark, Inc.
Camp Hill, PA 17089
[EMAIL PROTECTED]
Phone: (717)302-6534

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Error on startup

2004-12-29 Thread Adam Thornton
On Dec 29, 2004, at 8:32 AM, Noll, Ralph wrote:
/dev/system/lvol1: Unattached inode 928477
...
Anyone every seen the above???
Filesystem corruption.  Did you log off the guest without cleanly
shutting it down?
Any ideas???

Do what the message says: log in in single user mode and run
fsck /dev/system/lvol1
And answer the prompts it throws your way.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Error on startup

2004-12-29 Thread Noll, Ralph
/dev/system/lvol1: Unattached inode 928477 
   
   
/dev/system/lvol1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)   
fsck.ext2 /dev/system/lvol1 failed (status 0x4). Run manually! 
..failed   
fsck for root file system (/) failed.  
Please repair it manually and reboot.  
The root file system is currently mounted read-only.   
   
Attention: Only CONTROL-D will reboot the system in this   
maintanance mode. shutdown or reboot will not work.
   
Give root password to login:

Anyone every seen the above???

Any ideas???

Thanks

Ralph   

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: File system full

2004-12-29 Thread David Heilman
Thanks everyone... There where a number of suggestion that worked very well. It 
turned out to be a
hidden file from a background task that I didn't know the customer had running.
Ferguson, Neale wrote:
du -x -h --max-depth=1 /
It will then show you the space used by 1st level of directories. Then drill 
down using the same command with a different argument. Take a look in /var/log. 
I find /var/log/sa fills things up quite quickly (which is why I usually put it 
on a device of its own).
-Original Message-
What is the fastest way to find out what is filling up disk space? I've been 
searching directories
manually and can see nothing that big. It was 70% now it is 100%.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390