extending an LV

2010-06-03 Thread Macioce, Larry
I seem to be having a problem. I have added the pact to the Linux system through VM but when I go into yast/hardware/dasd to add it there I don't see it What am I missing? Thanks Mace -

Re: extending an LV

2010-06-03 Thread Richard Troth
If you added the pack to the virtual machine, you then need to tell Linux to use it. (Just as z/OS can ignore devices, so Linux will, by default, for safety's sake.) Two things about the current suite of Linux offerings that may present a learning curve: First is that the under-the-covers files

Re: extending an LV

2010-06-03 Thread Richard Troth
Larry, I apologize. You did mention YaST and YaST should in fact see the disk and should then handle all this other magic for you ... automagically. Maybe Mark will chime in. -- R; On Thu, Jun 3, 2010 at 08:25, Macioce, Larry larry.maci...@com.state.oh.us wrote: I seem to be having a

Re: extending an LV

2010-06-03 Thread Mauro Souza
On your zipl.conf maybe you have something like dasd=100-12f. If so, I would issue a chccwdev -e 130-13f to put them online before going to yast. Sent from my iPod On 03/06/2010, at 09:25, Macioce, Larry larry.maci...@com.state.oh.us wrote: I seem to be having a problem. I have added the

Re: extending an LV

2010-06-03 Thread LJ Mace
I do have notes and I thought all that had to be done was att to the guest then logon to the guest then yast would indeed see it. Thx Mace On Thu Jun 3rd, 2010 8:53 AM EDT Richard Troth wrote: Larry, I apologize. You did mention YaST and YaST should in fact see the disk and should then handle

Re: extending an LV

2010-06-03 Thread Macioce, Larry
Just foe laughs I did a mkinitrd and here is the return. DASDs: 0.0.0200(ECKD) 0.0.0201(ECKD) 0.0.0202(ECKD) 0.0.0203(ECKD) 0.0.0204(ECKD) 0.0.0205(ECKD) 0.0.0206(ECKD) 207 should be the next guy up Also this is connected to the item I opened yesterday but I am submitting through my

Re: extending an LV

2010-06-03 Thread Christian Paro
What do you see when you do `modprobe vmcp; vmcp q v dasd` and `lsdasd`? Also, did you do a full log-off/log-on of the guest after adding the disk to its directory statement? A complete log-off and log-on is necessary to make the guest's runtime state reflect the changes made to the directory,

Re: extending an LV

2010-06-03 Thread LJ Mace
Yes I logged off,pn,then even rebooted I did an lsdasd but 207(the new dasd) isnt shown Thx Mace On Thu Jun 3rd, 2010 9:56 AM EDT Christian Paro wrote: What do you see when you do `modprobe vmcp; vmcp q v dasd` and `lsdasd`? Also, did you do a full log-off/log-on of the guest after adding the

Re: extending an LV

2010-06-03 Thread Christian Paro
What about the `vmcp q v dasd`? The lsdasd shows whether the disk has been set online and is thus visible to Linux as a block device, but the vmcp command shows whether the disk is currently linked/attached to the guest containing that Linux instance. On Thu, Jun 3, 2010 at 10:12 AM, LJ Mace

Re: extending an LV

2010-06-03 Thread LJ Mace
When i enter vmcp... I get could not open device /dev//vmcp. No such file or directory Thx Mace On Thu Jun 3rd, 2010 10:16 AM EDT Christian Paro wrote: What about the `vmcp q v dasd`? The lsdasd shows whether the disk has been set online and is thus visible to Linux as a block device, but the

Re: extending an LV

2010-06-03 Thread David Kreuter
Hi - try modprobe vmcp then the vmcp q v dasd David Original Message Subject: Re: extending an LV From: LJ Mace ljmace1...@yahoo.com Date: Thu, June 03, 2010 10:22 am To: LINUX-390@VM.MARIST.EDU When i enter vmcp... I get could not open device /dev//vmcp. No such file or

Re: extending an LV

2010-06-03 Thread Scott Rohling
sudo modprobe vmcp If you login to the z/VM session yourself -- you can also enter #CP Q V DASD and see the result... Scott Rohling On Thu, Jun 3, 2010 at 8:22 AM, LJ Mace ljmace1...@yahoo.com wrote: When i enter vmcp... I get could not open device /dev//vmcp. No such file or directory Thx

Re: extending an LV

2010-06-03 Thread LJ Mace
Scott Thx I had fogottem about login in directly. We have a vm person here now and I dont play much with ot anylonger. Anyway there is no207,so I asked him if he att the dasd pr just dropped it on the guest. Thx Mace On Thu Jun 3rd, 2010 10:38 AM EDT Scott Rohling wrote: sudo modprobe vmcp If

Re: extending an LV

2010-06-03 Thread LJ Mace
Dave Nice call,worked Mace On Thu Jun 3rd, 2010 10:36 AM EDT David Kreuter wrote: Hi - try modprobe vmcp then the vmcp q v dasd David Original Message Subject: Re: extending an LV From: LJ Mace ljmace1...@yahoo.com Date: Thu, June 03, 2010 10:22 am To: LINUX-390@VM.MARIST.EDU

tar extract - code conversion.

2010-06-03 Thread McKown, John
In the z/OS UNIX version of the pax command, there is way to specify that the files being extracted (or added) are to be converted from one code page to a different one. One use of this is to convert from ISO8859-1 to IBM-1047 (EBCDIC) during the extract (or add). Is there a way to do this as

Re: tar extract - code conversion.

2010-06-03 Thread Richard Troth
PAX exists for Linux, but I have never used it. You may get some of what you want by using 'iconv'. It can convert from ASCII to IBM-1047 ... among other combinations. -- R; On Thu, Jun 3, 2010 at 11:05, McKown, John john.mck...@healthmarkets.com wrote: In the z/OS UNIX version of the

solution to lv problem

2010-06-03 Thread Macioce, Larry
The VM guy just added the device and didn't link it. I guess he felt he didn't need to. I forgot that a reboot of the system didn't make the change seen, so I logged the guest off on, but that took awhile to remember also ...lol Thanks for all the help Mace

Re: tar extract - code conversion.

2010-06-03 Thread McKown, John
-Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Richard Troth Sent: Thursday, June 03, 2010 10:29 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: tar extract - code conversion. PAX exists for Linux, but I have never used it. You may get

Re: extending an LV

2010-06-03 Thread Steffen Maier
You can use yast dasd or yast zfcp depending on your disk type to activate the disks in SLES. This will make them visible to Linux as well as add the necessary info to specific configuration files such that they will come up on next boot and be known to mkinitrd. On 06/03/2010 03:29 PM, Macioce,

Re: tar extract - code conversion.

2010-06-03 Thread Edmund R. MacKenty
On Thursday 03 June 2010 11:05, McKown, John wrote: In the z/OS UNIX version of the pax command, there is way to specify that the files being extracted (or added) are to be converted from one code page to a different one. One use of this is to convert from ISO8859-1 to IBM-1047 (EBCDIC) during

Re: tar extract - code conversion.

2010-06-03 Thread Christian Paro
You could do something like this after extracting the archive: #/bin/bash mkdir ../ascii SAVEIFS=$IFS IFS=$(echo -en \n\b); for file in $(find .); do dd if=$file of=../ascii/$file conv=ascii done FS=$SAVEIFS ...and then you'll have another directory containing EBCDIC-to-ASCII converted copied

SWAP devices not active at initial start

2010-06-03 Thread Larry Bernacki
We have two SLES 11 machines that are not getting their swap file enabled at boot. The VM profile contains the SWAPGEN exec to format two virtual FBA swap disks. Looking thru the console log (in VM), I find messages the following messages: dasd(fba) : 0.0.: 9336/10(CU:6310/80) 60MB at (512

Re: SWAP devices not active at initial start

2010-06-03 Thread Scott Rohling
The output from SWAPGEN being called would be the most useful..What does the console look like when SWAPGEN is called? This would be the output before the Linux boot messages... Scott Rohling On Thu, Jun 3, 2010 at 10:52 AM, Larry Bernacki lawrence.ctr.berna...@faa.gov wrote: We have

How find what resource is needed

2010-06-03 Thread Rogério Soares
Listeners, I have a strange problem again... on my lpar for development, i have now queue E3, each time a run #cp q exp i have a different machine on this queue... i look for cpu usage, is acceptable at this time, mean an 80, 90% cpu usage... some free memory... and no hard i/o activity

Re: SWAP devices not active at initial start

2010-06-03 Thread Larry Bernacki
The output from the SWAPGEN is as shown in the VM console log: FBA swap disk defined at virtual address (15498 4K pages of swap space) FBA swap disk defined at virtual address 5556 (12498 4K pages of swap space) I believe the SWAPGEN is successful because the swap devices can be turned on

Re: How find what resource is needed

2010-06-03 Thread Barton Robinson
You really need a decent performance monitor. I can already see that your settings would not be my view of best practices Rogério Soares wrote: Listeners, I have a strange problem again... on my lpar for development, i have now queue E3, each time a run #cp q exp i have a different

Re: SWAP devices not active at initial start

2010-06-03 Thread Mark Post
On 6/3/2010 at 01:28 PM, Larry Bernacki lawrence.ctr.berna...@faa.gov wrote: Issued the swapon command tcdctsm:/etc # swapon /dev/dasdc tcdctsm:/etc # swapon /dev/dasdd Now listing the swap devices in /proc/swaps shows the two devices after the swapon commands tcdctsm:/etc # cat

Re: How find what resource is needed

2010-06-03 Thread Rogério Soares
Hi Barton, You can appoint the way? Thanks On Thu, Jun 3, 2010 at 2:33 PM, Barton Robinson bar...@vm1.velocity-software.com wrote: You really need a decent performance monitor. I can already see that your settings would not be my view of best practices Rogério Soares wrote: Listeners,

Re: tar extract - code conversion.

2010-06-03 Thread Larry Ploetz
On 6/3/10 8:51 AM, Edmund R. MacKenty wrote: ConvertDirTree() { find $1 -type f | while read file; do tmp=$file.ic$$ if iconv -f $2 -t $3 $file $tmp \ chown --reference=$file $tmp \ chmod --reference=$file $tmp; then This is purely nit-picky, but since you've

Re: tar extract - code conversion.

2010-06-03 Thread Edmund R. MacKenty
On Thursday 03 June 2010 17:04, Larry Ploetz wrote: On 6/3/10 8:51 AM, Edmund R. MacKenty wrote: ConvertDirTree() { find $1 -type f | while read file; do tmp=$file.ic$$ if iconv -f $2 -t $3 $file $tmp \ chown --reference=$file $tmp \ chmod --reference=$file