Ask a Question related to Debian, Design and Development.

  1. #1

    Default nfs versus reiser?


    Can a reiserfs not be nfs-remote-mounted?
    Or am I doing something else wrong?

    I have a reiser filesystem mounted on a machine called topoi.
    From a machine called lovesong I wish to nfs-mount this remote file system.
    But all I get is

    [root@lovesong hendrik]# mount /reiseroffsite/
    mount: topoi:/reiseroffsite failed, reason given by server: Permission denied
    [root@lovesong hendrik]#

    Another filesystem, which happens to be an ext2 filesystem, works just fine.
    Permissions on the various directories are identical between the two file systems. Even the /etc/exports lines are identical (except for the names of the file systems, of course.

    Here are the relevant lines from /etc/exports on topoi:

    /home2 172.25.1.2(rw,no_root_squash,map_identity) 172.25.1.3(rw,no_root_squash,map_identity) 172.25.1.4(rw,no_root_squash,map_identity)
    /reiseroffsite 172.25.1.2(rw,no_root_squash,map_identity) 172.25.1.3(rw,no_root_squash,map_identity) 172.25.1.4(rw,no_root_squash,map_identity)

    And the relevane lines from /etc/fstab on lovesong:

    172.25.1.1:/home2 /home2 nfs defaults,noauto,user,exec,rw 0 0
    topoi:/reiseroffsite /reiseroffsite nfs defaults,noauto,users,exec,rw 0 0


    Can a reiserfs not be nfs-remote-mounted?

    -- hendrik


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    hashi@pooq.com Guest

  2. Similar Questions and Discussions

    1. EPS versus PS
      Hi All Can anyone tell me if there is a difference between distilling pure postscript rather than an EPS file? Im printing from Quark using the...
    2. CFX - C versus C++
      We're running CFMX on Windows I know that CFX tags built in C++ use the tag request object. However, I have C files that I need to call from...
    3. PS versus EPS
      Wondering if there's any disadvantage to saving files as EPS and running that through Distiller versus doing it with a .ps file. { Hector...
    4. 4GL versus SPL ?
      Jack, 4GL has a built in screen handling, built-in data conversion by type, and does not use pointers. Also 4GL has several constructs that make...
    5. reiser kernel support?
      I just installed the woody version of reiserfsprogs onto my woody system. Afterward, mkreiserfs /devhdc1 seemed to have created the file...
  3. #2

    Default Re: nfs versus reiser?

    [email]hashi@pooq.com[/email] said on Sun, Aug 03, 2003 at 02:54:33PM -0400:
    >
    > Can a reiserfs not be nfs-remote-mounted?
    Yes.
    > Or am I doing something else wrong?
    Probably.
    > [root@lovesong hendrik]# mount /reiseroffsite/
    > mount: topoi:/reiseroffsite failed, reason given by server: Permission denied
    > [root@lovesong hendrik]#
    Have you read your logs? Try doing the mount, and then check the logs on both
    the server and the client.

    M

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (FreeBSD)

    iD8DBQE/LXm6OtZWu2tc1lARAnOHAJ9p3jcJrZ8AQEBXTuKWr93471Zp9Q CfZTv/
    3sCm/ypfwKsQ6SMRII9i8ws=
    =8LIL
    -----END PGP SIGNATURE-----

    Mark Ferlatte Guest

  4. #3

    Default Re: nfs versus reiser?

    On Sun, Aug 03, 2003 at 02:08:10PM -0700, Mark Ferlatte wrote:
    > [email]hashi@pooq.com[/email] said on Sun, Aug 03, 2003 at 02:54:33PM -0400:
    > >
    > > Can a reiserfs not be nfs-remote-mounted?
    >
    > Yes.
    Serves me right for asking a negative question. I presume this meand Yes, a reiserfs can be nfs-remote-mounted.
    >
    > > Or am I doing something else wrong?
    >
    > Probably.
    >
    > > [root@lovesong hendrik]# mount /reiseroffsite/
    > > mount: topoi:/reiseroffsite failed, reason given by server: Permission denied
    > > [root@lovesong hendrik]#
    >
    > Have you read your logs? Try doing the mount, and then check the logs on both
    > the server and the client.
    >
    > M
    When I try to mount topoi:/reiseroffsite onto /reiseroffsite on lovesong, I get

    ug 3 17:04:31 topoi -- MARK --
    Aug 3 17:24:27 topoi rpc.mountd: authenticated mount request from lovesong:89\
    9 for /reiseroffsite (/reiseroffsite)
    Aug 3 17:24:27 topoi rpc.mountd: getfh failed: Operation not permitted

    Nothins shows up in the log on lovesong.

    But if (on topoi) I first umount /reiseroffsite, so that topoi:/reiseroffset
    is an ordinary directory instead of a mounted reiser file system, and
    then I mount topoi:/reiseroffsite on /reiseroffsite on lovesong, it
    mounts with the following message. But of course I am not mounting
    the remote reiser file system if I do this.

    Aug 3 17:26:02 topoi rpc.mountd: authenticated mount request from lovesong:93\
    5 for /reiseroffsite (/reiseroffsite)

    No complaint about getfh failing. What is gatfh, anyway?

    This suggests strongly that it is topoi's mounted reiser file system that
    blocks things, since when it is not mounted on topoi, there is no problem.

    And here is are the relevant lines from /etc/fstab. /home2 is an ext2
    file system that can be properly nfs-exported. /reiseroffsite, however,
    cannot be.

    /dev/hdb11 /home2 ext2 defaults 1 2
    /dev/hdc1 /reiseroffsite reiserfs noauto,user 0 0

    Is it perhaps that user-mountable volumes cannot be nfs-ported?
    It doesn't help if I mount them as root? I cold have sworn
    I had done that regularly a few months age with another
    (ext2) partition.

    -- hendrik



    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    hashi@pooq.com Guest

  5. #4

    Default Re: nfs versus reiser?

    On Sun, Aug 03, 2003 at 05:07:22PM -0700, Mark Ferlatte wrote:
    > [email]hashi@pooq.com[/email] said on Sun, Aug 03, 2003 at 05:53:21PM -0400:
    > > Serves me right for asking a negative question. I presume this meand Yes, a
    > > reiserfs can be nfs-remote-mounted.
    >
    > :) I use reiserfs via NFS faily often.
    And I have got it working too, butnot quite to my satisfaction. I will
    have to experiment a little more. But I it does not appear to be a
    reiserfs problem.

    The following fstab entry works on topoi
    /dev/hdc1 /reiseroffsite reiserfs defaults 1 2

    The following one does not:
    /dev/hdc1 /reiseroffsite reiserfs noauto,user 0 0

    So it has to do with the context of the mount. Anyway, having it
    automatically mounted at boot is not acceptable in the long term
    because it is a dismountable volume, and, in fact, most of the time
    it sits on a shelf serving as a backup.
    >
    > > When I try to mount topoi:/reiseroffsite onto /reiseroffsite on lovesong, I get
    > >
    > > ug 3 17:04:31 topoi -- MARK --
    > > Aug 3 17:24:27 topoi rpc.mountd: authenticated mount request from lovesong:89\
    > > 9 for /reiseroffsite (/reiseroffsite)
    > > Aug 3 17:24:27 topoi rpc.mountd: getfh failed: Operation not permitted
    > >
    > > Nothins shows up in the log on lovesong.
    >
    > Interesting. What kernel are you using on topoi? I think there are issues
    > with reiserfs and NFS in 2.2.
    debian on topoi,

    hendrik@topoi:~$ uname -r
    2.4.16-586
    hendrik@topoi:~$

    Mandrake 9.0 on lovesong

    [hendrik@lovesong hendrik]$ uname -r
    2.4.18-6mdk
    [hendrik@lovesong hendrik]$

    >
    > > Is it perhaps that user-mountable volumes cannot be nfs-ported?
    >
    > Hrm... not sure about that.
    Experiment suggests it is something *like* that. Is there some way
    of getting it mounted at boot if it is present but ignored if it is
    not? The drive is dismountable, but not hot-pluggable. I have to
    turn the machine off whenever I insert or remove it. Last time I
    had a nonexistent partition mounted at boot it went into some
    emergency mode and refused to finish booting until I fixed
    to problem.

    But even so, there ought to be a way to export even hot-ploggable drives.

    -- hendrik


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    hashi@pooq.com Guest

  6. #5

    Default Re: nfs versus reiser?

    On Tue, Aug 05, 2003 at 10:34:38AM -0400, [email]hashi@pooq.com[/email] wrote:
    > On Sun, Aug 03, 2003 at 05:07:22PM -0700, Mark Ferlatte wrote:
    > > [email]hashi@pooq.com[/email] said on Sun, Aug 03, 2003 at 05:53:21PM -0400:
    > > > Serves me right for asking a negative question. I presume this meand Yes, a
    > > > reiserfs can be nfs-remote-mounted.
    > >
    > > :) I use reiserfs via NFS faily often.
    >
    > And I have got it working too, butnot quite to my satisfaction. I will
    > have to experiment a little more. But I it does not appear to be a
    > reiserfs problem.
    >
    > The following fstab entry works on topoi
    > /dev/hdc1 /reiseroffsite reiserfs defaults 1 2
    >
    > The following one does not:
    > /dev/hdc1 /reiseroffsite reiserfs noauto,user 0 0
    >
    > So it has to do with the context of the mount. Anyway, having it
    > automatically mounted at boot is not acceptable in the long term
    > because it is a dismountable volume, and, in fact, most of the time
    > it sits on a shelf serving as a backup.
    I will have to try noauto without user.

    -- hendrik


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    hashi@pooq.com Guest

  7. #6

    Default Re: nfs versus reiser?

    [email]hashi@pooq.com[/email] said on Tue, Aug 05, 2003 at 10:34:38AM -0400:
    > So it has to do with the context of the mount. Anyway, having it
    > automatically mounted at boot is not acceptable in the long term
    > because it is a dismountable volume, and, in fact, most of the time
    > it sits on a shelf serving as a backup.
    Maybe you could try using autofs?

    M

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (FreeBSD)

    iD8DBQE/L+qKOtZWu2tc1lARAtzSAJwNV+fiVQ1hEq/RXRZFCWcQHBi0RwCdHUan
    mvx0n26zolnm9lNdQqHzgp0=
    =1dYf
    -----END PGP SIGNATURE-----

    Mark Ferlatte Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139