Highlighted
Absent Member.
Absent Member.
2399 views

Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Hello I am newbie on this forum.


Have somebody mount a OES11.2-Nss-Vol on a SLES11.3 via NFS successfully?

I trying this since 3 days. without success.

Can somebody say, what parameter I need in /etc/exports and what I need into /etc/fstab?

that would be super
Thanks very much
Gene
Labels (2)
0 Likes
12 Replies
Highlighted
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Gene,

does it have to be NFS? Our experiences are terrible, in terms of performance and reliability. We use CIFS and we are pretty happy with it.

Uwe


--
Novell Knowledge Associate
Please don't send me support related e-mail unless I ask you to do so.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Hello Uwe
I try to access mp4-File through a browser (URL).
The first idea was nss because the data are on a nss-volume.
Now I do not know if apache can work with cifs.
I must first read.
to try... have you the correct export/mount command for me

Gene
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

RenferLengnau wrote on 11/25/2014 02:26 PM:
> Now I do not know if apache can work with cifs.
> I must first read.


Shouldn't be a problem.

> to try... have you the correct export/mount command for me


manually:
mount -t cifs -o username=...,password=...,rw,uid=... //ip.of.server/volume/directory /mountpoint

fstab, something like:
//ip.of.server/volume/directory /mountpoint cifs username=...,password=...,uid=...,gid=...,owner=...,rw 0 0

Note that you may want to put the password in a file only readable by root, once it works.

Uwe


--
Novell Knowledge Associate
Please don't send me support related e-mail unless I ask you to do so.
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Am 25.11.2014 14:26, schrieb RenferLengnau:
>
> Hello Uwe
> I try to access mp4-File through a browser (URL).


I must ask. Why does it have to be a remote webserver instead of one
*on* the server where the data is?

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
Highlighted
Visitor.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

All of our web servers are just heads for htdocs which live on NSS volumes served up from other systems. We have been doing this for ~10 years and it has worked fine.

So sure you can mount a NSS volume(s) via CIFS over top of /srv/www/htdocs and serve up that content via Apache, it works well. The distinct advantage of that arrangement is that you can create a user login for the mount which does not have rights to modify the contents be served up.

Should the Apache instance get compromised, even root compromise, your underlying web content cannot be corrupted, as even root would not have the ability to modify it.

Also have have all the good features of NSS, like snapshots, salvage, and robust rights assignments.

But yeah, we have been doing that for 10 years. It works.

-- Bob
Highlighted
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Hello all
Is mounted ;o)
Thanks very much
Geneviève
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Hell mrosen
because my user want to create a sort of newletter, and the data is on a nss-vol.

Liebe Grüsse
Gene
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Hi.

Am 26.11.2014 12:06, schrieb RenferLengnau:
>
> Hell mrosen
> because my user want to create a sort of newletter, and the data is on
> a nss-vol.


Yeah, but.... This doesn't explain why you need yet another remote box
(runnign the same OS as the server where the NSS volume physically is)
to run the same webserver that already runs on the server that readily
has the NSS volume *right there*?

Aka, why jump through hoops to remotely mount a NSS volume using aline
network protocols to do something there that the real server can do as well?

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Visitor.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

mrosen;2340507 wrote:

Yeah, but.... This doesn't explain why you need yet another remote box
(runnign the same OS as the server where the NSS volume physically is)
to run the same webserver that already runs on the server that readily
has the NSS volume *right there*?


I can't speak for the OP. But for us its compartmentalization. That's why we do it. It makes cleaning up the most likely compromises significantly easier.

-- Bob
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Bob,

Am 01.12.2014 23:46, schrieb Bob-O-Rama:
>
> mrosen;2340507 Wrote:
>>
>> Yeah, but.... This doesn't explain why you need yet another remote box
>> (runnign the same OS as the server where the NSS volume physically is)
>> to run the same webserver that already runs on the server that readily
>> has the NSS volume *right there*?
>>

>
> I can't speak for the OP. But for us its compartmentalization. That's
> why we do it. It makes cleaning up the most likely compromises
> significantly easier.


I appreciate that there are of course valid reasons to do it. But yet,
there may be not, and my be much easier to run it locally. Many people
aren't fully aware that OES really is a Sles, and can do anything Sles
can do, and a lot more.

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Absent Member.
Absent Member.

Re: Mount OES 11.2 nss-Volume on SLES11.3 via NFS

Going back to the initial question on using NFS to export / mount a NSS volume, there's a document which talks about how to do it, plus various unique situations you might run into, here:

https://www.novell.com/support/kb/doc.php?id=7005949

Whether NFS or CIFS is better for any given task is hard to say. If you can easily do what you need with CIFS, I'd probably lean that way (even though my experience with CIFS is limited), because I think CIFS and NSS fit together better than NFS and NSS do. I'm guessing the only case where NFS might be better is when multiple users need direct access to the file system through their individual user accounts. With CIFS, you do the mount with the rights/access of one particular user. Therefore, direct, multiple user access may mean mounting it multiple times in various places. Though if filesystem access is through an application, and the application always acts as one particular user, that can solve this concern. With NFS, you do the mount more "generally" (you might say), a single time, and multiple user accounts can access it directly. But this advantage is at least partially lost by philosophical differences between NFS and NSS anyway.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.