NFS quota: Linux client + HP-UX server

NFS quota: Linux client + HP-UX server

Post by Bernd Nie » Tue, 25 Sep 2001 22:57:32



Hi,

Sorry for crossposting. We have a NFS server for user account.
The server runs on HP-UX 11.00 and the quota is set up correctly (rpc.quotad
enabled in /etc/inetd.conf) on that server. I can get quota -v <user> on
Solaris and HP-UX clients.

Now I am setting up RedHat 7.1 Linux workstations with NFS mounted
home directories.

First problem: The Linux automounter does not support
multipath maps like HP-UX and Solaris do: Example of /etc/auto.home

  nds     nfs-server:/home/&
  pers    nfs-server:/home/&

  stud    /b      nfs-server:/home/&/b \
          /e      nfs-server:/home/&/e \
          /i      nfs-server:/home/&/i \
          /l      nfs-server:/home/&/l \
          /m      nfs-server:/home/&/m \
          /s      nfs-server:/home/&/s \
          /r      nfs-server:/home/&/r

Only the first two path maps do work for /home/pers/<user> and
/home/nds/<user>. But the other maps for /home/stud/<department>/<class>/<user>
do not work with Linux automounter. However, I added the mountpoints
statically in /etc/fstab:

nfs-pers-128:/home/pers         /home/pers      nfs     defaults        0 0
nfs-misc-128:/home/nds          /home/nds       nfs     defaults        0 0
nfs-stud-128:/home/stud/b       /home/stud/b    nfs     defaults        0 0
nfs-stud-128:/home/stud/e       /home/stud/e    nfs     defaults        0 0
nfs-stud-128:/home/stud/i       /home/stud/i    nfs     defaults        0 0
nfs-stud-128:/home/stud/l       /home/stud/l    nfs     defaults        0 0
nfs-stud-128:/home/stud/m       /home/stud/m    nfs     defaults        0 0
nfs-stud-128:/home/stud/s       /home/stud/s    nfs     defaults        0 0
nfs-stud-128:/home/stud/r       /home/stud/r    nfs     defaults        0 0
scratch:/scratch/tmp            /scratch        nfs     defaults        0 0

Second problem: The quota -v <user> on the Linux NFS client does not show
the user quota.

What am I missing?

Regards,
Bernd
--
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil

 
 
 

NFS quota: Linux client + HP-UX server

Post by Ulrich Wind » Wed, 26 Sep 2001 21:30:56


[...]

Quote:> Only the first two path maps do work for /home/pers/<user> and
> /home/nds/<user>. But the other maps for /home/stud/<department>/<class>/<user>
> do not work with Linux automounter. However, I added the mountpoints
> statically in /etc/fstab:

> nfs-pers-128:/home/pers            /home/pers      nfs     defaults        0 0
> nfs-misc-128:/home/nds             /home/nds       nfs     defaults        0 0
> nfs-stud-128:/home/stud/b  /home/stud/b    nfs     defaults        0 0
> nfs-stud-128:/home/stud/e  /home/stud/e    nfs     defaults        0 0
> nfs-stud-128:/home/stud/i  /home/stud/i    nfs     defaults        0 0
> nfs-stud-128:/home/stud/l  /home/stud/l    nfs     defaults        0 0
> nfs-stud-128:/home/stud/m  /home/stud/m    nfs     defaults        0 0
> nfs-stud-128:/home/stud/s  /home/stud/s    nfs     defaults        0 0
> nfs-stud-128:/home/stud/r  /home/stud/r    nfs     defaults        0 0
> scratch:/scratch/tmp               /scratch        nfs     defaults        0 0

Where is the quota mount option?

> Second problem: The quota -v <user> on the Linux NFS client does not show
> the user quota.

> What am I missing?

> Regards,
> Bernd
> --
>  _  _ ___ ___  
> | || / __| _ \ Bernd Nies, System Engineer
> | __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil



 
 
 

NFS quota: Linux client + HP-UX server

Post by Bernd Nie » Wed, 26 Sep 2001 23:17:41


Hi Ulrich,

Quote:> > nfs-pers-128:/home/pers               /home/pers      nfs     defaults        0 0
> > nfs-misc-128:/home/nds                /home/nds       nfs     defaults        0 0
> > nfs-stud-128:/home/stud/b     /home/stud/b    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/e     /home/stud/e    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/i     /home/stud/i    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/l     /home/stud/l    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/m     /home/stud/m    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/s     /home/stud/s    nfs     defaults        0 0
> > nfs-stud-128:/home/stud/r     /home/stud/r    nfs     defaults        0 0
> > scratch:/scratch/tmp          /scratch        nfs     defaults        0 0

> Where is the quota mount option?

On Linux man mount tells me:

  Mount options for ext2:
    grpquota / noquota / quota / usrquota
      These options are accepted but ignored.

For NFS there are no quota options in the man page and when I add it
mount complains:

  unknown nfs option: quota

The quota mount option is available on HP-UX and nfs volumes are mounted
with nosuid,quota.

Regards,
Bernd

--
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil

 
 
 

1. NFS server on HP-UX 10.20 & NFS client on RH-5.2 : write permission ???

Hi,
I have a HP-UX 10.20 workstation (named ltas18) and a Linux RH-5.2 box
(named bobo).
I would like to setup NSF with server=HP-UX and client=RH-5.2.

This is my /etc/exports on HP-UX:

/home/dang/quy -anon=65534,root=bobo:ltas22,access=bobo:ltas22
/disk4/dang/quy -anon=65534,root=bobo:ltas22,access=bobo:ltas22

On my Linux "bobo", in the /etc/fstab file I have :

/dev/hda5 / ext2    defaults  1 1
/dev/hda1  /mnt/dos vfat   noauto,user,rw  0 0
/dev/hda6   swap swap    defaults  0 0
/dev/fd0  /mnt/floppy  vfat    user,noexec,nodev,nosuid,rw,noauto 0 0
/dev/cdrom  /mnt/cdrom  iso9660 user,noexec,nodev,nosuid,ro,noauto 0 0
/dev/sda4  /mnt/zip vfat    user,noexec,nodev,nosuid,rw,noauto 0 0
ltas18:/home/dang/quy /mnt/ltas18 nfs user,rw,auto,rsize=8192,wsize=8192
0 0
ltas18:/disk4/dang/quy /mnt/disk4-ltas18 nfs
user,rw,auto,rsize=8192,wsize=8192 0 0

From my account on "bobo" I tried:

$ mount /mnt/ltas18

It works ! But I have not write permission on this ! Howto to acces to
NFS with "rw" permission ? I have already defined "rw" in potion of
fstab !

However, with root on "bobo" I can write into /mnt/ltas18 but with owner
and group ID of my Linux box, not exist in HP-UX machine !!

Howto to define ID of user and ID of group on the remote (server) &
local (client) ????

Thank you very much and it's possible I would like to receive your
message at my e-mail address.

Thanks !
--
NGUYEN-DAI Quy
LTAS-ULG
http://ltas18.ltas.ulg.ac.be/~quy
...Pourquoi utiliser 'window' quand on a une 'door' ?

2. COMPAQ Professional Workstation 6000 (PLEASE IGNORE PREVIOUS POSTING)

3. linux server with HP-UX client problem

4. FTP Problem -- WarFTPd 1.82.00-RC2 on the other end

5. ARCserve 2.2.0l UW7 server backup of HP-UX 10.20 client failure

6. Sound Blaster 32

7. Sun OS 4.1 client printing from HP-UX server

8. Where is Kermit and zmodem won't work

9. Difference between HP-UX 10.10 and HP-UX 10.20

10. Quotas from Linux NFS server to Solaris client

11. Problems with NFS mount from HP 9000, HP-UX 9.0

12. SCO NFS client with HP/Apollo NFS server?

13. Linux as net-client to a LAN and firewall to HP-UX