Hi, Brad,
I did an 'exportfs -a' on ripley, the machine with the tape drive.
Still, when I'm root on weaver, I get this error when I try to access
ripley's tape drive as root:
Permission denied.
tar: Cannot open ripley:/dev/st0: Input/output error
tar: Error is not recoverable: exiting now
I tried a 'mount -a' on weaver, but I get the error:
mount: ripley:/dev/st0 failed, reason given by server: Not a directory
What else can I try? Thanks,
Hidong
Brad 'GreyBear' Davis wrote:
>
> did you re-export the filesystems using exportfs -a as root? That ought to
> do the trick.
>
> Brad 'GreyBear' Davis - Dream Park
> Ronin coder/Bithead at Large
> --------------------------------------------------------
> "We're ALL Bozos on this bus!"
> - Firesign Theatre
> -----Original Message-----
> From: Hidong Kim <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Friday, December 17, 1999 12:08 PM
> Subject: no_root_squash and tape drive access
>
> >Hi,
> >
> >I have two networked Linux machines, ripley and weaver. ripley has a
> >dds-2 tape drive. I want to access ripley's tape drive from weaver. So
> >I added ripley and weaver to each others /etc/hosts.equiv. How I can
> >access ripley's tape drive from weaver with a command like 'tar tvf
> >ripley:/dev/st0' issued from weaver. My problem is that when I try to
> >issue this command from weaver as root (weaver's root), I get the error:
> >
> >Permission denied.
> >tar: Cannot open ripley:/dev/st0: Input/output error
> >tar: Error is not recoverable: exiting now
> >
> >I was told that this is due to root squashing. I looked up root
> >squashing in man exports. So then I added this line to ripley's
> >/etc/exports:
> >
> >/dev/st0 weaver(rw,no_root_squash)
> >
> >I also have this line in weaver's /etc/fstab:
> >
> >ripley:/dev/st0 /mnt/tape nfs defaults
> >
> >I sill can't get weaver's root to access ripley's tape drive. What am I
> >doing wrong? Thanks,
> >
> >
> >
> >Hidong
> >
> >
> >--
> >To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> >as the Subject.
> >
> >
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.