Re: smbfs mount ?

2009-03-18 Thread John Summerfield

Mark D Vandale wrote:

So the 2 preceding // before ipaddress is required for smbfs,  we missed
that   I have 2 other  lines prior to this one for nfs areas with no
preceding // and they work.  I did add these // and rebooted, it did work.
Thanks !


DOS-family networking (netware too I think) uses the UNC convention:
\\\[\path]

Various parts of *X (including shells) escape characters, using the "\"
as the key to flag when escaping is intended, so one has to type "\\" to
mean "\".

Sometimes, escaping can be done more than once.

To avoid this, Samba and attendant software allows "/" to be used
interchangeably, in UNC filesystem names.

Apart from syntax checkers, OS/2 (and I think Windows) also allows "/"
to mean "\" in filesystem names.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

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


Re: smbfs mount ?

2009-03-18 Thread John Summerfield

Mark Post wrote:





 I had found this
message in one of the logs and wasn't sure if it was related to this
statement in /etc/fstab:
In var/log/messages that says  "kernel:  smbfs: module not supported by
Novell, setting U taint flag.


I imagine that's a hint to not used it. Use cifs instead.



No, that just means the smbfs kernel module has been loaded, and it's one that 
(for whatever reason) isn't going to be supported by Novell if you have a 
problem with it, or if Novell support thinks that it is causing another problem 
elsewhere.



I'm sure cifs is supported.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

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


Re: smbfs mount ?

2009-03-18 Thread John Summerfield

Amelia Nilsson wrote:

It is possible to mount smbfs from fstab. From your line i see that you
have a ":" to much and some of the "/" changed to "\". The line should
look like this:

\\ipaddres/dirname /dirname smbfs username=testid,password=testpw 0 0

And ofcourse, if you want it to automount at boot you change the last 0
to 1.



Here are two correct mount commands. Note that cifs is the successor to
smbfs:
mount.cifs  coco\\profile /mnt/coco/ --verbose -o
user=administrator,password=**,ip=10.0.0.253,domain=class.corridors
mount -t cifs  coco\\software /mnt/coco.software --verbose -o
user=administrator,password=**,ip=10.0.0.253,domain=class.corridors


This works too:
mount.cifs //coco/profile /mnt/coco/ -o
user=administrator,password=**,ip=10.0.0.253,domain=class.corridors

The arguments on the mount commands here should appear in fstab if
that's what you are using.

The credentials can be picked up from a file, so as to maintain
confidentiality.

Mostly, I prefer to not use backslashes so as to avoid hassles with
programs that think they should be escaped and so reduce two to one,
potentially several times.


Note, on SLES10 (and probably 9) you should be specifying cifs, not
smbfs; smbfs hasn't been maintained for some time.




Best regards,

-
Amelia Nilsson

www.linuxchick.se
ame...@linuxchick.se
+46 762 77 42 77


If you're not the intended recipient of this e-amail please delete this
e-mail and inform the sender. During previously stated circumstances
you're not allowed to copy or forward this e-mail.


On Wed, 2009-03-18 at 14:18 -0400, Mark D Vandale wrote:

Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
get the smbfs mounted but I can't get this mounted by adding a line in
the /etc/fstab .  The format in the /etc/fstab is more like -->
//ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
0   Is this possible from /etc/fstab or do I need to do this from somewhere
else ?  This is SUSE SLES10.

Thanks,

Mark


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.

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



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

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


Re: VNC to a zLinux from a web browser

2009-03-18 Thread Bernie VK2KAD
This is working for me - I just tried it.



RHEL5 on z9 - zVM 5.3



Ping me if you want any more details

Bern



From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Gary
Detro
Sent: Thursday, 19 March 2009 12:35 AM
To: LINUX-390@VM.MARIST.EDU
Subject: VNC to a zLinux from a web browser




I am trying to connect to VNC from a web browser.Everything I read says
VNC has a built in mini-http server that allows it using the following
format:

  http://servername:580x(where x is the vnc
port that is started).

Has anyone tried this and gotten it to work.

Thanks,

Detro








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

Re: Layer 2 VSWITCH and SUSE 10 starter system problems

2009-03-18 Thread David Boyes
On 3/18/09 4:44 AM, "Ursula Braun"  wrote:

>> Realistically, is there a reason why ANY error code from an OSA should
> not
>> issue a meaningful message?
> I agree with you. But most of the error codes indicate programming
> errors, which should be reported to us.

I guess I buy that answer to a point. If the driver receives an error code,
then providing some additional context around "Adapter returned: x"
would be a lot more helpful to you than just a bare error code. Since the
operation of these adapters is a Deep Dark Secret, we could do a lot more to
tell you what happened if you told us the context of the problem, regardless
of the source of the problem.

Example: "Adapter returned: x0a" tells me almost nothing that you would find
useful -- you're going to have to ask me to trace stuff and send you more
details. "Adapter returned: x0A (PORT_NAME_MISMATCH) when initializing
adapter, first use". That tells me something I can use to help you
understand the problem (and maybe solve it myself). You know what the
various codes mean, or you can lean on the hardware guys to find out. Even a
simple enumerated type lookup like the one shown above would be better than
what we have now. 

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


Re: smbfs mount ?

2009-03-18 Thread Mark D Vandale
So the 2 preceding // before ipaddress is required for smbfs,  we missed
that   I have 2 other  lines prior to this one for nfs areas with no
preceding // and they work.  I did add these // and rebooted, it did work.
Thanks !


Thanks,

Mark Vandale
System Administrator Leader, MCS-MF z/VM, z/VSE & z/Linux
Office : 860-823-2756
Cell : 860-705-1657
Textmsg   : 8607051...@txt.att.net

CSC


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



 Mark Post
   To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU
 390 Port   cc
   Subject
   Re: smbfs mount ?

 03/18/2009 04:23
 PM


 Please respond to
 Linux on 390 Port
 






>>> On 3/18/2009 at  4:12 PM, Mark D Vandale  wrote:
-snip-
> This format looks like what
> everyone  has specified except the 0 0 at the end.

No, it doesn't.

//ipaddress/p2dev /pdev smbfs
credentials=credfile,uid=emxpkid,gid=emeddev,fmask=774,dmask=774,rw  0  0

Would be the correct format.

>  I had found this
> message in one of the logs and wasn't sure if it was related to this
> statement in /etc/fstab:
> In var/log/messages that says  "kernel:  smbfs: module not supported by
> Novell, setting U taint flag.

No, that just means the smbfs kernel module has been loaded, and it's one
that (for whatever reason) isn't going to be supported by Novell if you
have a problem with it, or if Novell support thinks that it is causing
another problem elsewhere.

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


Re: smbfs mount ?

2009-03-18 Thread Mark Post
>>> On 3/18/2009 at  3:49 PM, Erik N Johnson  wrote: 
> I'm confused by this thread.  Is there a special behaviour of fstab
> specific to z/Linux?  On every other UNIX or UNIX-clone system I have
> ever used including Linux on the x86 and powerpc platforms, the two
> integer values at the end of an fstab config line have nothing
> whatever to do with automatic mounting.

No, nothing special about this platform.  Amelia was mistaken about her final 
comment.


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


Re: smbfs mount ?

2009-03-18 Thread Erik N Johnson
So again, to clarify, two questions:
1. The checkpass value (field 6) has no bearing on whether a given
volume will be automatically mounted and determines only the order in
which fsck will examine the volume (if at all.) Is this correct?

2. The ONLY way to specify that a given fstab entry should NOT be
mounted at boot time is to specify the NOAUTO option in the options
list (field 4.)  Is this correct?

Sorry to be redundant but I want to make absolutely sure my
understanding is correct.

Erik Johnson

On Wed, Mar 18, 2009 at 3:23 PM, Mark Post  wrote:
 On 3/18/2009 at  4:12 PM, Mark D Vandale  wrote:
> -snip-
>> This format looks like what
>> everyone  has specified except the 0 0 at the end.
>
> No, it doesn't.
>
> //ipaddress/p2dev /pdev smbfs 
> credentials=credfile,uid=emxpkid,gid=emeddev,fmask=774,dmask=774,rw  0  0
>
> Would be the correct format.
>
>>  I had found this
>> message in one of the logs and wasn't sure if it was related to this
>> statement in /etc/fstab:
>> In var/log/messages that says  "kernel:  smbfs: module not supported by
>> Novell, setting U taint flag.
>
> No, that just means the smbfs kernel module has been loaded, and it's one 
> that (for whatever reason) isn't going to be supported by Novell if you have 
> a problem with it, or if Novell support thinks that it is causing another 
> problem elsewhere.
>
> 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 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


Re: smbfs mount ?

2009-03-18 Thread Mark Post
>>> On 3/18/2009 at  4:12 PM, Mark D Vandale  wrote: 
-snip-
> This format looks like what
> everyone  has specified except the 0 0 at the end.

No, it doesn't.

//ipaddress/p2dev /pdev smbfs 
credentials=credfile,uid=emxpkid,gid=emeddev,fmask=774,dmask=774,rw  0  0

Would be the correct format.

>  I had found this
> message in one of the logs and wasn't sure if it was related to this
> statement in /etc/fstab:
> In var/log/messages that says  "kernel:  smbfs: module not supported by
> Novell, setting U taint flag.

No, that just means the smbfs kernel module has been loaded, and it's one that 
(for whatever reason) isn't going to be supported by Novell if you have a 
problem with it, or if Novell support thinks that it is causing another problem 
elsewhere.

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


Re: smbfs mount ?

2009-03-18 Thread Mark D Vandale
This is the format in the last /etc/fstab I tried.  I started out using the
credentials option and changed to specify the username and password just to
make sure I didn't have something wrong with the file that contained the
username and pw.  The uid, gid, fmask and dmask was added this last time as
well, before I had not specified those.  This format looks like what
everyone  has specified except the 0 0 at the end.  I had found this
message in one of the logs and wasn't sure if it was related to this
statement in /etc/fstab:
In var/log/messages that says  "kernel:  smbfs: module not supported by
Novell, setting U taint flag.

ipaddress/p2dev  /p2dev   smbfs
username=xxx,password=xxx,uid=emxpkid,gid=emeddev,fmask=774,dmask=777,rw
0 0


Thanks,

Mark Vandale
System Administrator Leader, MCS-MF z/VM, z/VSE & z/Linux
Office : 860-823-2756
Cell : 860-705-1657
Textmsg   : 8607051...@txt.att.net

CSC


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



 Mark Post
   To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU
 390 Port   cc
   Subject
   Re: smbfs mount ?

 03/18/2009 03:29
 PM


 Please respond to
 Linux on 390 Port
 






>>> On 3/18/2009 at  3:10 PM, Amelia Nilsson  wrote:

Actually it will work either way:
//ipaddress/sharename
   or
\\ipaddress/sharename


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


Re: Layer 2 VSWITCH and SUSE 10 starter system problems

2009-03-18 Thread Mark Post
>>> On 3/17/2009 at  5:41 AM, Ursula Braun  wrote: 
-snip-
> 3. 0x4e
> If you have a scenario to run into 0x4e, we should analyze this in
> detail.

See the attached z/VM console log.


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


console.log
Description: Binary data


Re: smbfs mount ?

2009-03-18 Thread Richard Troth
Nothing special about Linux or about zLinux regarding /etc/fstab.
I think several have simply omitted details when trying to answer this
question.


#1,  YES,  you can mount smb via /etc/fstab (and not only manually)


#2,  NO,  there is no difference between /etc/fstab on zLinux
and other Linux
/dev/to/mount  /place/to/mount/it  type  options  backuppass  checkpass


-- Rick;   <><





On Wed, Mar 18, 2009 at 3:49 PM, Erik N Johnson  wrote:
> I'm confused by this thread.  Is there a special behaviour of fstab
> specific to z/Linux?  On every other UNIX or UNIX-clone system I have
> ever used including Linux on the x86 and powerpc platforms, the two
> integer values at the end of an fstab config line have nothing
> whatever to do with automatic mounting.
>
> instead, all entries are automatically mounted at boot unless the
> NOAUTO keyword is given.
>
> the numbers, as best I understand, represent the following:
> field 5 (first integer field) specifies a dump frequency.  for more
> info see man -s8 dump
> field 6 (second integer field) specifies fsck order.
> this is very very simple
> a value of zero means "do not examine this volume on boot"
> a value of one means "this volume must be checked first" this option
> should be used only for the root filesystem
> a value of two means "this volume may be checked at any time
> subsequent to the root volume"  typically this means that logical
> volumes on the same physical volume are checked in series, volumes on
> distinct physical hardware will be checked concurrently, obviously
> because of hardware constraints.  afaik it is possible to specify
> values >2 which would then indicate, these volumes should be checked
> only after all volumes with an fs-check value of 2, and so on and so
> forth.
>
> Please, if I am in some way in error, somebody let me know!  I'd hate
> to discover that my *nix boxen were doing bizarre things at boot up.
> I can tell you this though, all my volumes mount at boot except for
> optical drives and one nfs mount (specifically /usr/home on my
> fileserver which automounts on my Linux and BSD boxen but not on my
> Mac, I do have an fstab entry on my mac, bearing the noauto keyword,
> as well as an fs-check value of zero (there should be no need to fsck
> network mounts as they are checked when the providing host boots. I
> don't even know if fsck works at all on network filesystems, as I
> believe it bypasses the typical VFS abstraction and works on the
> physical hardware directly.)
>
> Again, if I am in error, please let me know!
>
> Erik Johnson
>
> On Wed, Mar 18, 2009 at 2:05 PM, Scott Rohling  
> wrote:
>> Works fine from /etc/fstab..   just use the same format as the mount (not
>> sure what the colon was about):
>>
>> //192.168.20.2/Media   /Media    smbfs   ro, blah blah
>>
>> Scott
>>
>> On Wed, Mar 18, 2009 at 12:18 PM, Mark D Vandale  wrote:
>>
>>> Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
>>> smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
>>> get the smbfs mounted but I can't get this mounted by adding a line in
>>> the /etc/fstab .  The format in the /etc/fstab is more like -->
>>> //ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
>>> 0   Is this possible from /etc/fstab or do I need to do this from somewhere
>>> else ?  This is SUSE SLES10.
>>>
>>> Thanks,
>>>
>>> Mark
>>>
>>>
>>> This is a PRIVATE message. If you are not the intended recipient, please
>>> delete without copying and kindly advise us by e-mail of the mistake in
>>> delivery.
>>> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
>>> any order or other contract unless pursuant to explicit written agreement
>>> or government initiative expressly permitting the use of e-mail for such
>>> purpose.
>>>
>>> --
>>> 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 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 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 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


Re: smbfs mount ?

2009-03-18 Thread Mark Post
>>> On 3/18/2009 at  3:10 PM, Amelia Nilsson  wrote: 

Actually it will work either way:
//ipaddress/sharename
   or
\\ipaddress/sharename


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


Re: smbfs mount ?

2009-03-18 Thread Erik N Johnson
I'm confused by this thread.  Is there a special behaviour of fstab
specific to z/Linux?  On every other UNIX or UNIX-clone system I have
ever used including Linux on the x86 and powerpc platforms, the two
integer values at the end of an fstab config line have nothing
whatever to do with automatic mounting.

instead, all entries are automatically mounted at boot unless the
NOAUTO keyword is given.

the numbers, as best I understand, represent the following:
field 5 (first integer field) specifies a dump frequency.  for more
info see man -s8 dump
field 6 (second integer field) specifies fsck order.
this is very very simple
a value of zero means "do not examine this volume on boot"
a value of one means "this volume must be checked first" this option
should be used only for the root filesystem
a value of two means "this volume may be checked at any time
subsequent to the root volume"  typically this means that logical
volumes on the same physical volume are checked in series, volumes on
distinct physical hardware will be checked concurrently, obviously
because of hardware constraints.  afaik it is possible to specify
values >2 which would then indicate, these volumes should be checked
only after all volumes with an fs-check value of 2, and so on and so
forth.

Please, if I am in some way in error, somebody let me know!  I'd hate
to discover that my *nix boxen were doing bizarre things at boot up.
I can tell you this though, all my volumes mount at boot except for
optical drives and one nfs mount (specifically /usr/home on my
fileserver which automounts on my Linux and BSD boxen but not on my
Mac, I do have an fstab entry on my mac, bearing the noauto keyword,
as well as an fs-check value of zero (there should be no need to fsck
network mounts as they are checked when the providing host boots. I
don't even know if fsck works at all on network filesystems, as I
believe it bypasses the typical VFS abstraction and works on the
physical hardware directly.)

Again, if I am in error, please let me know!

Erik Johnson

On Wed, Mar 18, 2009 at 2:05 PM, Scott Rohling  wrote:
> Works fine from /etc/fstab..   just use the same format as the mount (not
> sure what the colon was about):
>
> //192.168.20.2/Media   /Media    smbfs   ro, blah blah
>
> Scott
>
> On Wed, Mar 18, 2009 at 12:18 PM, Mark D Vandale  wrote:
>
>> Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
>> smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
>> get the smbfs mounted but I can't get this mounted by adding a line in
>> the /etc/fstab .  The format in the /etc/fstab is more like -->
>> //ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
>> 0   Is this possible from /etc/fstab or do I need to do this from somewhere
>> else ?  This is SUSE SLES10.
>>
>> Thanks,
>>
>> Mark
>>
>>
>> This is a PRIVATE message. If you are not the intended recipient, please
>> delete without copying and kindly advise us by e-mail of the mistake in
>> delivery.
>> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
>> any order or other contract unless pursuant to explicit written agreement
>> or government initiative expressly permitting the use of e-mail for such
>> purpose.
>>
>> --
>> 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 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 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


Re: smbfs mount ?

2009-03-18 Thread Scott Rohling
Works fine from /etc/fstab..   just use the same format as the mount (not
sure what the colon was about):

//192.168.20.2/Media   /Mediasmbfs   ro, blah blah

Scott

On Wed, Mar 18, 2009 at 12:18 PM, Mark D Vandale  wrote:

> Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
> smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
> get the smbfs mounted but I can't get this mounted by adding a line in
> the /etc/fstab .  The format in the /etc/fstab is more like -->
> //ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
> 0   Is this possible from /etc/fstab or do I need to do this from somewhere
> else ?  This is SUSE SLES10.
>
> Thanks,
>
> Mark
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose.
>
> --
> 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 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


Re: smbfs mount ?

2009-03-18 Thread Mark Post
>>> On 3/18/2009 at  2:18 PM, Mark D Vandale  wrote: 
> Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
> smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
> get the smbfs mounted but I can't get this mounted by adding a line in
> the /etc/fstab .  The format in the /etc/fstab is more like -->
> //ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
> 0   Is this possible from /etc/fstab or do I need to do this from somewhere
> else ?  This is SUSE SLES10.

Sure you can do that, although it's not recommended to code the userid and 
password in /etc/fstab itself.  (See credentials in "man smbmount".)  Did you 
really have the colon between the ipaddress and dirname in /etc/fstab?  That 
isn't likely to work.



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


Re: smbfs mount ?

2009-03-18 Thread Amelia Nilsson
It is possible to mount smbfs from fstab. From your line i see that you
have a ":" to much and some of the "/" changed to "\". The line should
look like this:

\\ipaddres/dirname /dirname smbfs username=testid,password=testpw 0 0 

And ofcourse, if you want it to automount at boot you change the last 0
to 1.

Best regards,

-  
Amelia Nilsson

www.linuxchick.se
ame...@linuxchick.se
+46 762 77 42 77


If you're not the intended recipient of this e-amail please delete this
e-mail and inform the sender. During previously stated circumstances
you're not allowed to copy or forward this e-mail.


On Wed, 2009-03-18 at 14:18 -0400, Mark D Vandale wrote:
> Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
> smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
> get the smbfs mounted but I can't get this mounted by adding a line in
> the /etc/fstab .  The format in the /etc/fstab is more like -->
> //ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
> 0   Is this possible from /etc/fstab or do I need to do this from somewhere
> else ?  This is SUSE SLES10.
> 
> Thanks,
> 
> Mark
> 
> 
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose.
> 
> --
> 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 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


signature.asc
Description: This is a digitally signed message part


smbfs mount ?

2009-03-18 Thread Mark D Vandale
Can smbfs be mounted from /etc/fstab ?  I can issue the cmd "mount -f
smbfs //ipaddress/dirname  /dirname username=testid,password=testpw"  and
get the smbfs mounted but I can't get this mounted by adding a line in
the /etc/fstab .  The format in the /etc/fstab is more like -->
//ipadress:/dirname   /dirname  smbfs ro,username=testid,password=testpw  0
0   Is this possible from /etc/fstab or do I need to do this from somewhere
else ?  This is SUSE SLES10.

Thanks,

Mark


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.

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


Re: ganglia, libconfuse RPMs?

2009-03-18 Thread John Dome
I have built ganglia 3.1.1 for SLES 10 SP2, fairly straightforward.

Everything is working pretty well, the only issue I have identified is that
cpu speed is not reported.  Actually a question to the forum, is it
possible
to query that information from Linux?  If not what about within VM?


--
john

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


Re: Problem getting a SAN device connected to our Linux

2009-03-18 Thread Robert J Brenneman
Does the storage device allow you to define the type of host that is
connecting to it?

I know we have to specify a zSeries Linux host in the IBM type storage
boxes since it uses a different lun number format than xSeries Linux
does on the wire. If you have a host type field on the storage
controller try changing it to a different type. It could be something
wacky like a HPUX system or AIX that ends up working since those may
coincidentally use the same lun number format as zSeries Linux.

It's just something else to try while you wait for the vendor to get
back to you.


--
Jay Brenneman

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


Re: Problem getting a SAN device connected to our Linux

2009-03-18 Thread Bauer, Bobby (NIH/CIT) [E]
Thanks Jay, worth a try but it didn't help. Same results.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474



-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Robert J 
Brenneman
Sent: Wednesday, March 18, 2009 11:20 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Problem getting a SAN device connected to our Linux

Just one thing to try:

echo  0x > unit_add

It should be smart enough to pad it out, but just to be sure...

If that works - make sure you specify it that way in /etc/zfcp.conf

--
Jay Brenneman

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

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


Re: Problem getting a SAN device connected to our Linux

2009-03-18 Thread Robert J Brenneman
Just one thing to try:

echo  0x > unit_add

It should be smart enough to pad it out, but just to be sure...

If that works - make sure you specify it that way in /etc/zfcp.conf

--
Jay Brenneman

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


Problem getting a SAN device connected to our Linux

2009-03-18 Thread Bauer, Bobby (NIH/CIT) [E]
 We have an older model SANs device that we are not having much luck with 
connecting to our Red Hat Linux (5.3) under z/VM 5.4. We specified the LUN as 0 
on the SANs device. It is a CorData SAN and we are contacting the vendor.
All seems to go well until I try to echo the LUN into unit_add


Following the Red Hat Installation Guide for adding FCP devices dynamically:


>From VM, attach  to LSSB1 as 0900
   att  LSSB1 as 0900

>From LSSB1
lscss
Device   Subchan.  DevType CU Type Use  PIM PAM POM  CHPIDs
--
0.0.0592 0.0.  3390/0A 3990/E9  F0  F0  FF   50515253 
 "
0.0.0900 0.0.0022  1732/03 1731/03   80  80  FF   0800 

cd /sys/bus/ccw/drivers/zfcp/0.0.0900
echo 1 > online

lscss
Device   Subchan.  DevType CU Type Use  PIM PAM POM  CHPIDs
--
0.0.0592 0.0.  3390/0A 3990/E9   F0  F0  FF   50515253 
 "
0.0.0900 0.0.0022  1732/03 1731/03 yes  80  80  FF   0800 

dmesgf
scsi0 : zfcp
zfcp: The adapter 0.0.0900 reported the following characteristics:
WWNN 0x5005076400c77aed, WWPN 0x5005076401e2a15c, S_ID 0x0c00,
adapter version 0x4, LIC version 0x70b, FC link speed 2 Gb/s
zfcp: Point-to-Point fibrechannel configuration detected at adapter 0.0.0900
Peer WWNN 0x100402e00621, peer WWPN 0x200402e00621, peer d_id 0x000d00

echo   0x200402e00621 > /sys/bus/ccw/drivers/zfcp/0.0.0900/port_add
cd 0x200402e00621
echo  0x00   > unit_add

at this point the session is hung

from an new session

dmesg
zfcp: resetting unit 0x
zfcp: host/bus reset because of problems with unit 0x




lszfcp -a

0.0.0900 host0

Bus = "ccw"

availability= "good"

card_version= "0x0004"

cmb_enable  = "0"

cutype  = "1731/03"

devtype = "1732/03"

failed  = "0"

hardware_version= "0x"

in_recovery = "1"

lic_version = "0x070b"

modalias= "ccw:t1731m03dt1732dm03"

online  = "1"

peer_d_id   = "0x000d00"

peer_wwnn   = "0x100402e00621"

peer_wwpn   = "0x200402e00621"

status  = "0x4500092e"

Class = "fc_host"

maxframe_size   = "2112 bytes"

node_name   = "0x5005076400c77aed"

permanent_port_name = "0x5005076401e2a15c"

port_id = "0x000c00"

port_name   = "0x5005076401e2a15c"

port_type   = "Point-To-Point (direct nport connection"

serial_number   = "IBM0200077AED"

speed   = "2 Gbit"

supported_classes   = "Class 2, Class 3"

supported_speeds= "4 Gbit"

tgtid_bind_type = "wwpn (World Wide Port Name)"

Class = "scsi_host"

cmd_per_lun = "1"

host_busy   = "1"

proc_name   = "zfcp"

sg_tablesize= "538"

state   = "recovery"

unchecked_isa_dma   = "0"

unique_id   = "0"



Interesting the wwpn seems to be communicated fine but the LUN causes a 
problem. The unit is getting reset on the Linux side and going into recovery. 
The logs in the SANs device don't show anything. The lszfcp command reports a 
status of "0x4500092e". Any insight or what steps to take next would be 
appreciated.



Thanks



Bobby Bauer

Center for Information Technology

National Institutes of Health

Bethesda, MD 20892-5628

301-594-7474





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


Re: VNC to a zLinux from a web browser

2009-03-18 Thread Tony Duong
Hey Gary,

I have used this many times on linux and window hosts.

'vncserver' starts it
You can check for the listener port by checking netstat -an | grep tcp | 580* 
for web and 590* for client lisenter

Thanks,

Tony Duong

Sent via BlackBerry by AT&T

-Original Message-
From: Gary Detro 

Date: Wed, 18 Mar 2009 08:35:12
To: 
Subject: VNC to a zLinux from a web browser


I am trying to connect to VNC from a web browser.Everything I read
says VNC has a built in mini-http server that allows it using the
following format:

http://servername:580x(where x is the vnc port that is started).

Has anyone tried this and gotten it to work.

Thanks,
Detro




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


Re: VNC to a zLinux from a web browser

2009-03-18 Thread Dave Jones

Hi, Gary.

Yes, I've gotten it to work before.some thoughts:

1) any firewall issues?
2) I believe for the Windows based VNC clients, Java needs to be enabled on the 
workstation
3)what Linux VNC server and distribution are you using?

Gary Detro wrote:

I am trying to connect to VNC from a web browser.Everything I read
says VNC has a built in mini-http server that allows it using the
following format:

http://servername:580x(where x is the vnc port that is started).

Has anyone tried this and gotten it to work.

Thanks,
Detro





--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.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


VNC to a zLinux from a web browser

2009-03-18 Thread Gary Detro
I am trying to connect to VNC from a web browser.Everything I read
says VNC has a built in mini-http server that allows it using the
following format:

http://servername:580x(where x is the vnc port that is started).

Has anyone tried this and gotten it to work.

Thanks,
Detro


<>

Re: Layer 2 VSWITCH and SUSE 10 starter system problems

2009-03-18 Thread Ursula Braun
> Realistically, is there a reason why ANY error code from an OSA should
not
> issue a meaningful message? I mean, after all, you (IBM) control the
error
> code set, and it's not like cryptic error messages are a virtue, even
in the
> Unix world...

David,

I agree with you. But most of the error codes indicate programming
errors, which should be reported to us. It is an ongoing effort for us
to identify those "real" error codes, which are not caused by code
problems, and to come up with a meaningful message for them (like the
error code 0xf6 discussed in this thread).

Regards, Ursula Braun, IBM Germany

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