Multipath alias problem

2011-09-08 Thread Lu GL Gao
Our z/VM is Version 5.4. z/Linux is SUSE 11 SP1.
I'm going to add one SCSI disk(from 2 FCP type sub-channels,to 2 SAN
switchs, to 2 HBA port of DS8000) and use multipath.
The following is what I did:
(1)use YAST2 to add 2 zfcp disks(actually they are one SCSI disk).
successful

(2)use mkinitrd command. The response messages are different with those of
SUSE 10, I'm not sure if they are correct.
LXCPOA:/ # mkinitrd

Kernel image:   /boot/image-2.6.32.12-0.7-default
Initrd image:   /boot/initrd-2.6.32.12-0.7-default
Root device:/dev/disk/by-path/ccw-0.0.0200-part1 (/dev/dasda1) (mounted
on / as ext3)
Kernel Modules: jbd mbcache ext3 dasd_mod dasd_eckd_mod
Features:   block dasd resume.userspace resume.kernel
25502 blocks

(3)use zipl command. The response messages are also different with those of
SUSE 10, I'm not sure if they are correct.
LXCPOA:/ # zipl
Using config file '/etc/zipl.conf'
Building bootmap in '/boot/zipl'
Building menu 'menu'
Adding #1: IPL section 'SLES11_SP1' (default)
Adding #2: IPL section 'FailsafeV1'
Adding #3: IPL section 'ipl'
Preparing boot device: dasda (0200).
Done.

(4)use lsscsi command to show available zfcp disks. And check their
information. successful(I think)
LXCPOA:/ # lsscsi
[0:0:0:1073758208]diskIBM  2107900  3.44  /dev/sda
[1:0:0:1073758208]diskIBM  2107900  3.44  /dev/sdb
LXCPOA:/ # cat /sys/class/scsi_device/0:0:0:1073758208/device/fcp_lun
0x40004000
LXCPOA:/ # cat /sys/class/scsi_device/0:0:0:1073758208/device/wwpn
0x5005076308034621
LXCPOA:/ # cat /sys/class/scsi_device/0:0:0:1073758208/device/hba_id
0.0.3300
LXCPOA:/ # cat /sys/class/scsi_device/1:0:0:1073758208/device/fcp_lun
0x40004000
LXCPOA:/ # cat /sys/class/scsi_device/1:0:0:1073758208/device/wwpn
0x5005076308134621
LXCPOA:/ # cat /sys/class/scsi_device/1:0:0:1073758208/device/hba_id
0.0.3f00

(5)At this point, there is no multipath.conf file in system, so I created
new one.
LXCPOA:/etc # cat multipath.conf
multipaths{
multipath{
wwid 36005076308ffc621
alias mpvol1
}
}

(6)I want to enable new alias, so I enable multipath again. But nothing is
shown, is there a error?
LXCPOA:/etc # multipath
LXCPOA:/etc #

(7)use YAST2 to have a file system created on it and mounted.  successfuly

(8)check new directory. I don't know why my alias to this disk is not
used!!!
LXCPOA:/ # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/dasda1   2.3G  438M  1.8G  20% /
devtmpfs  497M  204K  497M   1% /dev
tmpfs 497M  100K  497M   1% /dev/shm
/dev/dasdb1   2.3G  1.9G  293M  87% /usr
/dev/dasdc1   2.3G  1.4G  813M  63% /usr/share
/dev/dasdd1   2.3G  195M  2.0G   9% /var
/dev/mapper/36005076308ffc621_part1
  778G  197M  738G   1% /vol1

   1244.70 2.54  9955.06   6778   26563184

(9)I upload a 1G file by FTP to new directory to check if IO load is
balanced among 2 paths.
   Is balance sucessful? Why the tps value for dm-0 and dm-1 is so
different?
LXCPOA:/ # iostat
Linux 2.6.32.12-0.7-default (LXCPOA)09/07/2011  _s390x_

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   2.620.012.661.020.36   93.33

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dasda 2.66   116.1798.00 317808 268112
dasdb 1.22   121.49 0.27 332352744
dasdc 1.1583.30 0.97 227896   2664
dasde 0.06 1.74 0.00   4764  0
dasdd 0.9713.1115.88  35856  43432
dasdf 0.02 0.46 0.00   1248  0
dasdg 0.02 0.46 0.00   1248  0
dasdh 0.02 0.46 0.00   1248  0
sda   8.6817.53  5090.43  47962   13926104
dm-0 17.0717.12 10194.13  46834   27888488
sdb   8.42 0.52  5103.70   1432   13962384
dm-1   1274.58 2.49 10194.13   6818   27888480

Many Thanks!!!

--
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: Found duplicate PV in Guest Linux SUSE 10

2011-09-08 Thread Victor Hugo Ochoa Avila
HI:

When installing SUSE 11 I created a VG boot  and associated with LV boot,
which only occupies 80 megabytes.

Likewise I created a VGroot--- LVroot  for the root file system with a size
of 2 gb.
I Generate a Master  server and obtain a backup with pipeddr tool.
But only backup the  FS base:

File systems Base  =  FS operating system + file system for BMC Patrol +
file system to BMC CONTROL-M + FS Security Tools.
This is the server that clone:
0.0.0400   active  dasdf 94:20   FBA   51280MB  163840
0.0.0500   active  dasdb 94:4FBA   5124608MB9437184
0.0.0501   active  dasda 94:0FBA   5122048MB4194304
0.0.0502   active  dasdc 94:8FBA   5122048MB4194304
0.0.0503   active  dasde 94:16   FBA   5122048MB4194304
0.0.0504   active  dasdd 94:12   FBA   5121536MB3145728
0.0.0505   active  dasdg 94:24   FBA   5121536MB3145728
0.0.0506   active  dasdh 94:28   FBA   5121536MB3145728
0.0.0600   active  dasdi 94:32   FBA   5121536MB3145728
0.0.0601   active  dasdj 94:36   FBA   5121024MB2097152
0.0.0602   active  dasdk 94:40   FBA   5122048MB4194304
Note: Only clone 11 DASDs.


Now hat hapening whit my DASD



In the new guests clone  I format all DASDs  (11 dasds) with the command CP
CPFMTXA, once this is done for each  DASD, I  restored disk image files
whit PIPEDDR restore command.
Only Restore 11 dasds.
The problem arises when incorporate more DASDs for the New Applicatios file
systems.
In this case the disk that has the problem was incorporated for the
NetBackup Product.
when I add these new dasds is when have the problem of the duplicate UUID.
(Dasd 607)
Dasd 607 have duplicate UUID. 607 is new for this server.
I hope  explained  correctly.

I'll try the solutions you shared with me and I tell them the result


Saludos

ATTE
Victor Hugon Ochhoa Avila





2011/9/7 Richard Troth vmcow...@gmail.com

 You said you have no overlaps, but what Mark Post said still applies.
 Was a minidisk copied (enlarged? moved?) and the original space not
 wiped clean?  If so, then any PV signature would still be present and
 would appear on the (new to Linux) device.

 I am suspicious of your 400 minidisk (/dev/dasdf).  It is only 80M and
 that is rather small for typical use as a PV.  (But you have a
 vgboot volume group.)  Look again at what Mark said, that has the
 same UUID as your 607 minidisk (/dev/dasdp).  There is no way to fix
 that with filtering.  Then bring in what Marcy said, so perhaps it is
 possible to accidentally get the same UUID on two PVs.  Other than
 that, one of those two minidisks would have to be a partial copy of
 the other.

 I hope this helps.

 Please let the group know when you get things worked out ... and how.
  Thanks.

 -- R;   
 Rick Troth
 Velocity Software
 http://www.velocitysoftware.com/





 On Wed, Sep 7, 2011 at 04:28, Victor Hugo Ochoa Avila
 vhoa@gmail.com wrote:
  Thanks again to everyone.
  I hope to get lucky
 
 
 
  Regards
 
  ATTE
 
  Victor Hugo ochoa Avila
  BBVA America CCR
 
 
 
  2011/9/6 Marcy Cortes marcy.d.cor...@wellsfargo.com
 
  The command to change it is
 
  pvchange -u
 
 
 
  Marcy
 
  -Original Message-
  From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
  Victor Hugo Ochoa Avila
  Sent: Tuesday, September 06, 2011 7:16 PM
  To: LINUX-390@vm.marist.edu
  Subject: Re: [LINUX-390] Found duplicate PV in Guest Linux SUSE 10
 
  Hi again.
 
 
  I not have overlaps in the definitions of user direct.
 
  This machine is a clone, but does not share any dasd with another clone.
 
  I see I recommend upgrading to SP4 and then verify the problem.
 
  I could share the command to change the UUID.
 
  Thanks to all
 
 
  Victor Hugo Ochoa Avila
 
 
  2011/9/6 Marcy Cortes marcy.d.cor...@wellsfargo.com
 
   Dusting off old brain cells, but we saw one case where we had
 duplicate
   pv's happen that I am 100% sure was not our fault.
  
   I ended up using the command to alter the uuid and make it all happy.
  
   SP2 is old - you are missing a lot of maintenance, probably fixes.
 Get
  on
   SP4.
  
  
  
   Marcy
  
  
   -Original Message-
   From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
  Mark
   Post
   Sent: Tuesday, September 06, 2011 3:45 PM
   To: LINUX-390@vm.marist.edu
   Subject: Re: [LINUX-390] Found duplicate PV in Guest Linux SUSE 10
  
On 9/5/2011 at 08:53 PM, Victor Hugo Ochoa Avila 
 vhoa@gmail.com
  
   wrote:
Hello to the group.
In a Guests Linux  with Suse 10 SP2 when run the vgscan command I
 get
  the
following error:
   
Found duplicate PV 6p351Kfhs3GMsdtgfljqkvA9Gn32pvC7: using
 /dev/dasdp1
   not
/dev/dasdf1
   
What is the appropriate filter to avoid this error
   
My filter is:
   
 filter = [ r|/dev/.*/by-path/.*|, r|/dev/.*/by-id/.*|, a/.*/
 ]
   
and my dasd 

Re: Adding users to RedHat 5.4

2011-09-08 Thread CHAPLIN, JAMES (CTR)
Small note to add value to Dave's excellent response in relation to
updating the /etc/sudoers file, use visudo to update the /etc/sudoers
file. It is clean and simple with error checking.

James Chaplin
Systems Programmer, MVS, zVM  zLinux
Base Technologies, a CA Technologies Company
Supporting the zSeries Platform Team

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
David Boyes
Sent: Wednesday, September 07, 2011 11:18 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Adding users to RedHat 5.4

 First, what command and options should I be using to create the userid
w/ a
 home directory and whatever else may be needed, along with the
superuser
 attributes?

 useradd -m userid 
passwd userid
add userid to /etc/sudoers

-m creates the user's home dir.  If these ids are going to be temporary,
add -e to the useradd command and specify an expiration date so they
automatically go locked when the class is over. 

You're dealing with two things here: real and effective uids. Each user
normally must have a single unique numeric uid that should be unique
across all systems. This is stored in /etc/passwd, and is known as their
real uid (the one that determines permanent file ownership, etc). The
_effective_ uid is the one that is used when executing programs, etc at
the time of execution.  Normally the real and effective uid are the
same, producing no special powers.   'su' (and by extension, sudo and a
an appropriate filter) temporarily change the effective uid for that
user in that process context to 0, temporarily giving them powers beyond
the mortal *for the duration of that process context*.

 In the case of sudo, a new process context is created, the command is
parsed, and then checked against the patterns in /etc/sudoers. If the
command matches a pattern in /etc/sudoers, sudo temporarily changes the
effective uid of the process to 0, does the command, and immediately
changes the effective uid back to the real uid when the command is
completed and before the user is given control again.  If the command is
an interactive command like a shell (remember, Unix shells are just
programs), the process retains the superuser privilege until the
original shell started by sudo exits, and other commands issued from
that shell inherit the Powers of Darkness from the 'sudo bash' command. 

These days, sudo is the way to go if you have multiple administrators
who need superuser access. Much safer, and you don't ever have to give
anyone the REAL root password (as you do with su) -- they authenticate
with their OWN password before anything dangerous happens, effectively
making them directly responsible for what they do. 

 Third, how do I list the userid after it's created?

cat /etc/passwd | grep userid

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


Ubuntu on z?

2011-09-08 Thread Neale Ferguson
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/


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 ne...@sinenomine.net 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: Ubuntu on z?

2011-09-08 Thread Edmund R. MacKenty
On Thursday, September 08, 2011 10:54:59 am Neale Ferguson wrote:
 http://www.linuxtoday.com/infrastructure/2011090700941OSHWUB

Nice to hear someone else getting into the game!  I've been using Ubuntu
Server for my public-facing home system for a couple of years now, and it's
really stable.  Using Kbuntu Desktop for my primary user system too.  I uses
SuSE and RedHat at work, of course, but it will be good to have another distro
in the mix.
- 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/


EMC fcp problem

2011-09-08 Thread Victor Echavarry Diaz
We are installing a FCP on a zLinux guest. When we bring up the fcp with 
multipath we get the following error messages
SCSI device sdc: drive cache: write through
 sdc:5  Vendor: DGC   Model: VRAID Rev: 0531
  Type:   Direct-Access  ANSI SCSI revision: 04
 sdc1
sd 0:0:0:3: Attached scsi disk sdc
SCSI device sdd: 60817408 512-byte hdwr sectors (31139 MB)
sdd: Write Protect is off
  Vendor: DGC   Model: VRAID Rev: 0531
  Type:   Direct-Access  ANSI SCSI revision: 04
SCSI device sdd: drive cache: write through
SCSI device sdd: 60817408 512-byte hdwr sectors (31139 MB)
sdd: Write Protect is off
SCSI device sdd: drive cache: write through
 sdd: sdd1
Starting slpd ..done
audit(1315493425.823:3): audit_pid=3897 old=0 by auid=4294967295
Sep 08 10:50:25 | sdbl: emc prio: path not correctly configured for failover
Sep 08 10:50:25 | sdbk: emc prio: path not correctly configured for failover
Sep 08 10:50:25 | sdbj: emc prio: path not correctly configured for failover
Sep 08 10:50:26 | sda: emc prio: path not correctly configured for failover
device-mapper: multipath emc: version 0.0.4 loaded
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set (default)
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set (default)
device-mapper: multipath emc: emc_pg_init: sending switch-over command
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set (default)
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set (default)
device-mapper: multipath emc: emc_pg_init: sending switch-over command
device-mapper: multipath emc: honor reservation bit will not be set (default)
device-mapper: multipath: Failing path 66:128.
device-mapper: multipath: Failing path 65:224.
device-mapper: multipath: Failing path 65:48.
device-mapper: multipath: Failing path 8:112.
device-mapper: multipath: Failing path 67:240.
device-mapper: multipath: Failing path 67:192.
device-mapper: multipath: Failing path 67:16.
device-mapper: multipath: Failing path 66:96.
device-mapper: multipath: Failing path 67:224.
device-mapper: multipath: Failing path 67:176.
device-mapper: multipath: Failing path 66:224.
device-mapper: multipath: Failing path 66:80.
t will not be set (default)
Sep  8 10:50:26 l212t kernel: device-mapper: multipath emc: long trespass comman
d will be send
Sep  8 10:50:26 l212t kernel: device-mapper: multipath emc: honor reservation bi
t will not be set (default)
Sep  8 10:50:26 l212t kernel: device-mapper: multipath emc: long trespass comman
d will be send
Sep  8 10:50:26 l212t kernel: device-mapper: multipath emc: honor reservation bi
t will not be set (default)

multipath -ll

sdt: emc prio: path not correctly configured for failover
sdh: emc prio: path not correctly configured for failover
sdbl: emc prio: path not correctly configured for failover
sdbi: emc prio: path not correctly configured for failover
sdax: emc prio: path not correctly configured for failover
sdam: emc prio: path not correctly configured for failover
36006016074c02c00ea4f59cc6fd5e011 dm-9 DGC,VRAID
[size=1.0G][features=1 queue_if_no_path][hwhandler=1 emc]
\_ round-robin 0 [prio=0][enabled]
 \_ 0:0:1:8   sdao  66:128 [failed][faulty]
 \_ 1:0:1:8   sdae  65:224 [failed][faulty]
 \_ 1:0:0:8   sdt   65:48  [failed][faulty]
 \_ 0:0:0:8   sdh   8:112  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ 1:0:3:8   sdbl  67:240 [failed][faulty]
 \_ 0:0:3:8   sdbi  67:192 [failed][faulty]
 \_ 0:0:2:8   sdax  67:16  [failed][faulty]
 \_ 1:0:2:8   sdam  66:96  [failed][faulty]
sdbd: emc prio: path not correctly configured for failover
sdaz: emc prio: path not correctly configured for failover

ls -l /dev/mapper
total 0
brw--- 1 root root 253, 12 Sep  8 10:50 36006016074c02c0016b57e1570d5e011
brw--- 1 root root 253, 11 Sep  8 10:50 36006016074c02c00263f5d526fd5e011
brw--- 1 root root 253, 14 Sep  8 10:50 36006016074c02c004a54a8e16fd5e011
brw--- 1 root root 253, 16 Sep  8 10:50 36006016074c02c006e68a0082fd3e011
brw--- 1 root root 253, 15 Sep  8 10:50 36006016074c02c007068a0082fd3e011
brw--- 1 root root 253, 13 Sep  8 10:50 36006016074c02c007468a0082fd3e011
brw--- 1 root root 253, 10 Sep  8 10:50 36006016074c02c0096a342c06fd5e011
brw--- 1 root root 253,  9 Sep  8 10:50 36006016074c02c00ea4f59cc6fd5e011
lrwxrwxrwx 1 root root  16 Sep  8 10:48 control - ../device-mapper
brw--- 1 root root 253,  0 Sep  8 10:49 oracledb-oraclevol

lszfcp
0.0.754c host0
0.0.750c host1
l212t:~ # lszfcp -D
lszfcp -D
0.0.754c/0x5006016046e05b86/0x0001 0:0:0:1
0.0.754c/0x5006016046e05b86/0x0002 0:0:0:2

Re: Ubuntu on z?

2011-09-08 Thread Sergey Korzhevsky
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 scott.rohl...@gmail.com
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
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 ne...@sinenomine.net
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/


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 s_korzhev...@iba.bywrote:

 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 scott.rohl...@gmail.com
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 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 ne...@sinenomine.net
 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 Sergey Korzhevsky
Is Debian on server better then Ubuntu?

No idea :) I have several servers under Debian but see that many people
now prefer Ubuntu, i tried find the reason for that but failed :)
The same distro is a good point, but i have Windows on my desktop :)


WBR, Sergey




Scott Rohling scott.rohl...@gmail.com
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
08-09-11 19:06
Please respond to Linux on 390 Port

To: LINUX-390@VM.MARIST.EDU
cc:
Subject:Re: Ubuntu on z?


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
s_korzhev...@iba.bywrote:

 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 scott.rohl...@gmail.com
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 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 ne...@sinenomine.net
 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/


--
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 David Boyes
 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.

It'd have been nice if either party acknowledged or contacted the people who 
did the footwork to keep the Debian base on the platform at all

--
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 David Boyes
 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
 Scott Rohling
 Sent: Thursday, September 08, 2011 12:07 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Ubuntu on z?
 
 Is Debian on server better then Ubuntu?  

Better is a loaded word. Ubuntu is a Debian variant. They have different 
packaging rules and configurations, but they start with the base Debian system. 
Debian on Z has been available (and still runs on z800/900 systems) for almost 
8 years now, and commercial support has been available for about 6. 


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.

I like Ubuntu/Debian better as well; you can actually upgrade a whole system in 
place using apt-get and have some reasonable confidence that the system will 
actually boot and work properly afterwards. 

--
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 Mark Post
 On 9/8/2011 at 12:59 PM, David Boyes dbo...@sinenomine.net wrote: 
 I like Ubuntu/Debian better as well; you can actually upgrade a whole system 
 in place using apt-get and have some reasonable confidence that the system 
 will actually boot and work properly afterwards. 

I played with Ubuntu for a few days on a new Dell desktop I bought several 
years ago, but that wasn't long enough to try a version upgrade.  I _have_ done 
that on SLES several times, and it usually just worked for me.  There were 
certainly some problems in some cases, such as when the transition to using 
/dev/disk/by-{id,path} happened, but prior to and after that it's been pretty 
smooth sailing.


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/


Re: EMC fcp problem

2011-09-08 Thread Mark Post
 On 9/8/2011 at 11:13 AM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Every time we try to define a LVM at the mapper its cancel.

You shouldn't be trying to use /dev/mapper, you should be using 
/dev/disk/by-id/.

 The Box is an EMC CLARiiON VMX 5700. We are running SLES 10SP2. Any 
 suggestions to solve this?

Try using a supported version of the operating system?  Say SLES10 SP4 or 
SLES11 SP1?  There have been an awful lot of zFCP changes and fixes since SP2 
was out of service.


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/


Re: Multipath alias problem

2011-09-08 Thread Mark Post
 On 9/8/2011 at 03:43 AM, Lu GL Gao lu...@cn.ibm.com wrote: 
-snip-
 The following is what I did:
 (1)use YAST2 to add 2 zfcp disks(actually they are one SCSI disk).

I don't know what this means, exactly.

 successful

But I'm glad it was successful.

 (2)use mkinitrd command. The response messages are different with those of
 SUSE 10, I'm not sure if they are correct.
 LXCPOA:/ # mkinitrd
 
 Kernel image:   /boot/image-2.6.32.12-0.7-default
 Initrd image:   /boot/initrd-2.6.32.12-0.7-default
 Root device:  /dev/disk/by-path/ccw-0.0.0200-part1 (/dev/dasda1) (mounted
 on / as ext3)
 Kernel Modules:   jbd mbcache ext3 dasd_mod dasd_eckd_mod
 Features:   block dasd resume.userspace resume.kernel
 25502 blocks

Unless you're changing something about your root file system, regenerating the 
initrd is usually not needed.  In any case, the output looks fine.

 (3)use zipl command. The response messages are also different with those of
 SUSE 10, I'm not sure if they are correct.
 LXCPOA:/ # zipl
 Using config file '/etc/zipl.conf'
 Building bootmap in '/boot/zipl'
 Building menu 'menu'
 Adding #1: IPL section 'SLES11_SP1' (default)
 Adding #2: IPL section 'FailsafeV1'
 Adding #3: IPL section 'ipl'
 Preparing boot device: dasda (0200).
 Done.

If you don't update your initrd, you don't need to re-run zipl (in this 
particular context).  But again, the output looks fine.

 (4)use lsscsi command to show available zfcp disks. And check their
 information. successful(I think)
 LXCPOA:/ # lsscsi
 [0:0:0:1073758208]diskIBM  2107900  3.44  /dev/sda
 [1:0:0:1073758208]diskIBM  2107900  3.44  /dev/sdb

Looks normal to me.

-snip-
 (5)At this point, there is no multipath.conf file in system, so I created
 new one.
 LXCPOA:/etc # cat multipath.conf
 multipaths{
 multipath{
 wwid 36005076308ffc621
 alias mpvol1
 }
 }
 
 (6)I want to enable new alias, so I enable multipath again. But nothing is
 shown, is there a error?
 LXCPOA:/etc # multipath
 LXCPOA:/etc #

This command does _not_ enable multipath.  chkconfig multipathd on, followed 
by /etc/rc.d/multipathd start will do that.  Once that is done, run multipath 
-ll to see if things look better.

 (7)use YAST2 to have a file system created on it and mounted.  successfuly
 
 (8)check new directory. I don't know why my alias to this disk is not
 used!!!
 LXCPOA:/ # df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasda1   2.3G  438M  1.8G  20% /
 devtmpfs  497M  204K  497M   1% /dev
 tmpfs 497M  100K  497M   1% /dev/shm
 /dev/dasdb1   2.3G  1.9G  293M  87% /usr
 /dev/dasdc1   2.3G  1.4G  813M  63% /usr/share
 /dev/dasdd1   2.3G  195M  2.0G   9% /var
 /dev/mapper/36005076308ffc621_part1
   778G  197M  738G   1% /vol1
1244.70 2.54  9955.06   6778   26563184

Not every tool reports the same information.  Confusing and concerning, I know. 
 Personally, I would welcome support requests from customers who feel the same.

 (9)I upload a 1G file by FTP to new directory to check if IO load is
 balanced among 2 paths.
Is balance sucessful? Why the tps value for dm-0 and dm-1 is so
 different?
 LXCPOA:/ # iostat
 Linux 2.6.32.12-0.7-default (LXCPOA)  09/07/2011  _s390x_
 
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle
2.620.012.661.020.36   93.33
 
 Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
 dasda 2.66   116.1798.00 317808 268112
 dasdb 1.22   121.49 0.27 332352744
 dasdc 1.1583.30 0.97 227896   2664
 dasde 0.06 1.74 0.00   4764  0
 dasdd 0.9713.1115.88  35856  43432
 dasdf 0.02 0.46 0.00   1248  0
 dasdg 0.02 0.46 0.00   1248  0
 dasdh 0.02 0.46 0.00   1248  0
 sda   8.6817.53  5090.43  47962   13926104
 dm-0 17.0717.12 10194.13  46834   27888488
 sdb   8.42 0.52  5103.70   1432   13962384
 dm-1   1274.58 2.49 10194.13   6818   27888480

The first set of output from iostat is from the time of system startup until 
now.  You might be better off running iostat continuously (iostat 2 or iostat 
5) and watching how things are working.  In your multipath.conf file you didn't 
specify a path_grouping_policy.  I don't know what the default is.  It may or 
may not be one that provides load balancing.  It may be providing failover.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the 

Re: Ubuntu on z?

2011-09-08 Thread David Boyes
Yeah, you CAN do it (and there are people who try it often), but there are 
always a few glitches with the upgrade-in-place tools for RHEL and SLES. I've 
got Debian machines that have gone through repeated major release updates with 
100% reliability. You can't beat: 

1) Add new repository into /etc/apt/apt.sources
2) apt-get update
3) apt-get dist-upgrade

And it Just Works. No muss, no fuss, no hassle. Fire and walk away. 

I also think apt does a better job of not clobbering customizations if there's 
already a file in place. Not all RPMs play nice with that. 

Ubuntu Server I can easily see being interesting; it's a little less 
conservative than the enterprise releases in terms of being more up to date, 
but not as freewheeling as Fedora on Intel's let's release a new kernel every 
11.5322555 minutes because we can philosophy. Nice golden mean. 

 Ubuntu also has the name recognition that plain Jane Debian does not.   
Fortunately, we don't care about desktops on Z, so we don't have to have the 
Unity vs GNOME argument here. Thank goodness. 

--
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: EMC fcp problem

2011-09-08 Thread Victor Echavarry Diaz
Mark:
I begin the update and when I reboot, the system give the following message
FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep: No such f
ile or directory 

The module lib is /lib/modules/2.6.16.60-0.42.10-default how I solve this.
Regards. 
V�ctor Echavarry
vechava...@evertecinc.com
System Programmer
Technology Systems  Operations Division
EVERTEC
787-759- Ext. 3401



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, September 08, 2011 1:35 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: EMC fcp problem

 On 9/8/2011 at 11:13 AM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Every time we try to define a LVM at the mapper its cancel.

You shouldn't be trying to use /dev/mapper, you should be using 
/dev/disk/by-id/.

 The Box is an EMC CLARiiON VMX 5700. We are running SLES 10SP2. Any 
 suggestions to solve this?

Try using a supported version of the operating system?  Say SLES10 SP4 or 
SLES11 SP1?  There have been an awful lot of zFCP changes and fixes since SP2 
was out of service.


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/



-
CONFIDENTIALITY NOTE: This email communication and its attachments
contain information that are proprietary and confidential to
EVERTEC, INC., its affiliates or its clients.  They may not be
disclosed, distributed, used, copied or modified in any way without
EVERTEC, Inc.’s authorization. If you are not the intended
recipient of this email, you are not an authorized person.  Please
delete it and notify the sender immediately. EVERTEC, Inc. and its
affiliates do not assume any liability for damages resulting from
emails that have been sent or altered without their consent.
Moreover, EVERTEC, Inc. has taken precautions to safeguard its
email communications, but cannot assure that such is the case and
disclaim any responsibility attributable thereto.

--
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 Rodger Donaldson
On Thu, Sep 08, 2011 at 12:48:24PM -0500, David Boyes wrote:
  I also think apt does a better job of not clobbering customizations
 if there's already a file in place. Not all RPMs play nice with
 that.

I personally prefer the .rpmsave/.rpmnew, mostly because I don't want
to make calls about my config files when I'm upgrading, necessarily,
but that's very much a matter of taste.

  Ubuntu also has the name recognition that plain Jane Debian does
  not.  Fortunately, we don't care about desktops on Z, so we don't
  have to have the Unity vs GNOME argument here. Thank goodness.

There's an argument? GNOME3 and Unity are both terribad, what's to
argue about?

--
Rodger Donaldsonrodg...@diaspora.gen.nz

--
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: EMC fcp problem

2011-09-08 Thread Mark Post
 On 9/8/2011 at 03:40 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Mark:
 I begin the update and when I reboot, the system give the following message
 FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep: No 
 such f
 ile or directory 
 
 The module lib is /lib/modules/2.6.16.60-0.42.10-default how I solve this.

Did you boot the right kernel?  It looks like you booted the old one.


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/


Re: EMC fcp problem

2011-09-08 Thread Victor Echavarry Diaz
Is pointing to the new one
[SLES_10_SP3]   
image = /boot/image-2.6.16.60-0.54.5-default
target = /boot/zipl 
ramdisk = /boot/initrd-2.6.16.60-0.54.5-default,0x400   
parameters = root=/dev/dasdb1 TERM=dumb possible_cpus=4   

V�ctor Echavarry
System Programmer
Technology Systems  Operations Division
EVERTEC



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, September 08, 2011 4:34 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: EMC fcp problem

 On 9/8/2011 at 03:40 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Mark:
 I begin the update and when I reboot, the system give the following message
 FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep: No 
 such f
 ile or directory 
 
 The module lib is /lib/modules/2.6.16.60-0.42.10-default how I solve this.

Did you boot the right kernel?  It looks like you booted the old one.


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/



-
CONFIDENTIALITY NOTE: This email communication and its attachments
contain information that are proprietary and confidential to
EVERTEC, INC., its affiliates or its clients.  They may not be
disclosed, distributed, used, copied or modified in any way without
EVERTEC, Inc.’s authorization. If you are not the intended
recipient of this email, you are not an authorized person.  Please
delete it and notify the sender immediately. EVERTEC, Inc. and its
affiliates do not assume any liability for damages resulting from
emails that have been sent or altered without their consent.
Moreover, EVERTEC, Inc. has taken precautions to safeguard its
email communications, but cannot assure that such is the case and
disclaim any responsibility attributable thereto.

--
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: Found duplicate PV in Guest Linux SUSE 10

2011-09-08 Thread Mark Post
 On 9/8/2011 at 04:04 AM, Victor Hugo Ochoa Avila vhoa@gmail.com 
 wrote: 
 HI:
 
 When installing SUSE 11 I created a VG boot  and associated with LV boot,
 which only occupies 80 megabytes.
 
 Likewise I created a VGroot--- LVroot  for the root file system with a size
 of 2 gb.

Why have separate VGs for system directories and a VG with only one LV in them? 
 I looked back at your original note, and you seem to have a separate VG, with 
only one LV in each of them, for each file system you're mounting.  No offense 
intended, but that doesn't make any sense to me.

-snip-
 The problem arises when incorporate more DASDs for the New Applicatios file
 systems.
 In this case the disk that has the problem was incorporated for the
 NetBackup Product.
 when I add these new dasds is when have the problem of the duplicate UUID.
 (Dasd 607)
 Dasd 607 have duplicate UUID. 607 is new for this server.

So, was that DASD used for anything else before this?  Did you run CPFMTXA on 
it before using it in this guest?  Did you do a pvcreate on it before doing the 
vgextend?


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/


Re: EMC fcp problem

2011-09-08 Thread Mark Post
 On 9/8/2011 at 04:38 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Is pointing to the new one
 [SLES_10_SP3]

 image = /boot/image-2.6.16.60-0.54.5-default 

 target = /boot/zipl  

 ramdisk = /boot/initrd-2.6.16.60-0.54.5-default,0x400

 parameters = root=/dev/dasdb1 TERM=dumb possible_cpus=4

Is that they only section in zipl.conf?


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/


Re: EMC fcp problem

2011-09-08 Thread Victor Echavarry Diaz
cat /etc/zipl.conf  
# Modified by YaST2. Last modification on Thu Sep  8 16:19:41 AST 2011  
[defaultboot]   
defaultmenu = menu  

###Don't change this comment - YaST2 identifier: Original name: linux###
[SLES_10_SP3]   
image = /boot/image-2.6.16.60-0.54.5-default
target = /boot/zipl 
ramdisk = /boot/initrd-2.6.16.60-0.54.5-default,0x400   
parameters = root=/dev/dasdb1 TERM=dumb possible_cpus=4   


:menu   
default = 1 
prompt = 1  
target = /boot/zipl 
timeout = 10
1 = SLES_10_SP3 
2 = ipl  
 
###Don't change this comment - YaST2 identifier: Original name: ipl###   
[ipl]
image = /boot/image  
target = /boot/zipl  
ramdisk = /boot/initrd,0x100 
parameters = root=/dev/dasdb1   TERM=dumb possible_cpus=4  

V�ctor Echavarry 
System Programmer
Technology Systems  Operations Division
EVERTEC



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, September 08, 2011 4:50 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: EMC fcp problem

 On 9/8/2011 at 04:38 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Is pointing to the new one
 [SLES_10_SP3]

 image = /boot/image-2.6.16.60-0.54.5-default 

 target = /boot/zipl  

 ramdisk = /boot/initrd-2.6.16.60-0.54.5-default,0x400

 parameters = root=/dev/dasdb1 TERM=dumb possible_cpus=4

Is that they only section in zipl.conf?


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/



-
CONFIDENTIALITY NOTE: This email communication and its attachments
contain information that are proprietary and confidential to
EVERTEC, INC., its affiliates or its clients.  They may not be
disclosed, distributed, used, copied or modified in any way without
EVERTEC, Inc.’s authorization. If you are not the intended
recipient of this email, you are not an authorized person.  Please
delete it and notify the sender immediately. EVERTEC, Inc. and its
affiliates do not assume any liability for damages resulting from
emails that have been sent or altered without their consent.
Moreover, EVERTEC, Inc. has taken precautions to safeguard its
email communications, but cannot assure that such is the case and
disclaim any responsibility attributable thereto.

--
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: EMC fcp problem

2011-09-08 Thread Mark Post
 On 9/8/2011 at 04:55 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Mark:
 You're right is IPL the old one. For some reason when update the service 
 pack, the IPL disk change from 150 to 151. Is there a way to change it on the 
 mkinitrd or the zipl?

What volume is the IPL volume is determined by this entry in /etc/zipl.conf:
:menu
target = /boot/zipl

For that to somehow change between device numbers sounds like /boot was not 
mounted when the kernel was installed.  If /boot is mounted now, just 
re-running zipl should correct it.  Or, if /boot is _not_ normally mounted (for 
whatever reason), then make sure /boot is not mounted and re-run zipl.


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/


Re: EMC fcp problem

2011-09-08 Thread Victor Echavarry Diaz
Mark:
You're right is IPL the old one. For some reason when update the service pack, 
the IPL disk change from 150 to 151. Is there a way to change it on the 
mkinitrd or the zipl?
Regards,
V�ctor Echavarry
System Programmer
Technology Systems  Operations Division
EVERTEC



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, September 08, 2011 4:34 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: EMC fcp problem

 On 9/8/2011 at 03:40 PM, Victor Echavarry Diaz vechava...@evertecinc.com
wrote: 
 Mark:
 I begin the update and when I reboot, the system give the following message
 FATAL: Could not load /lib/modules/2.6.16.60-0.21-default/modules.dep: No 
 such f
 ile or directory 
 
 The module lib is /lib/modules/2.6.16.60-0.42.10-default how I solve this.

Did you boot the right kernel?  It looks like you booted the old one.


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/



-
CONFIDENTIALITY NOTE: This email communication and its attachments
contain information that are proprietary and confidential to
EVERTEC, INC., its affiliates or its clients.  They may not be
disclosed, distributed, used, copied or modified in any way without
EVERTEC, Inc.’s authorization. If you are not the intended
recipient of this email, you are not an authorized person.  Please
delete it and notify the sender immediately. EVERTEC, Inc. and its
affiliates do not assume any liability for damages resulting from
emails that have been sent or altered without their consent.
Moreover, EVERTEC, Inc. has taken precautions to safeguard its
email communications, but cannot assure that such is the case and
disclaim any responsibility attributable thereto.

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