| Summary: | rmt(8) remote magtape protocol | ||
|---|---|---|---|
| Product: | Base System | Reporter: | osela <osela> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
osela
1999-11-17 14:00:00 UTC
Does this have problems from a FreeBSD to a FreeBSD machine as well? Responsible Changed From-To: freebsd-bugs->mjacob I'll take this one This may be a different issue, but I am also unable to use Solaris 8's ufsdump to dump to a file on a FreeBSD-4.6-STABLE host over RMT. bash-2.05# ufsdump 0f backup@backup1:/backup/nmarvin.dump /opt DUMP: Writing 32 Kilobyte records DUMP: Date of this level 0 dump: Fri Sep 06 03:28:07 2002 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c0t0d0s6 (nmarvin:/opt) to backup1:/backup/nmarvin.dump. DUMP: Mapping (Pass I) [regular files] DUMP: Mapping (Pass II) [directories] DUMP: Estimated 6950164 blocks (3393.63MB). DUMP: Login incorrect. DUMP: Lost connection to remote host. DUMP: Bad return code from dump: 1 From the above it may seem that there is an authentication problem between the hosts, but piping the output of ufsdump to rsh and saving it to the file over this pipe works fine (see output below). Besides, if the file "nmarvin.dump" does not exist, ufsdump is able to detect that over RMT. nmarvin# ufsdump 0f - /opt | rsh -l backup backup1 'cat > nmarvin.dump' DUMP: Writing 32 Kilobyte records DUMP: Date of this level 0 dump: Fri Sep 06 03:07:27 2002 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c0t0d0s6 (nmarvin:/opt) to standard output. DUMP: Mapping (Pass I) [regular files] DUMP: Mapping (Pass II) [directories] DUMP: Estimated 6950164 blocks (3393.63MB). DUMP: Dumping (Pass III) [directories] DUMP: Dumping (Pass IV) [regular files] DUMP: 6950142 blocks (3393.62MB) on 1 volume at 6461 KB/sec DUMP: DUMP IS DONE -- Arcady Genkin State Changed From-To: open->feedback With bugmeister hat on, reassign from inactive committer. Responsible Changed From-To: mjacob->freebsd-bugs Is this still a problem with modern versions of FreeBSD? Responsible Changed From-To: freebsd-bugs->mjacob mjacob has reactived his commit bit. mea culpa for the bogus reassignment. State Changed From-To: feedback->suspended Original submitter's email bounces. I don't know if the second problem appended to this PR is still valid, though. Responsible Changed From-To: mjacob->freebsd-bugs Assignee has turned in his commit bit, so return to pool. State Changed From-To: suspended->closed I verified using ufsdump from a Solaris-10 machine to a FreeBSD 7.1-RC1 machine with the target being a real tape drive works just fine. If the target is a plain file it doesn't work and generates the error as described in the second follow-up but rmt was designed to talk to tape drives. You're better off using the approach shown as what works in the second follow-up. For example even on systems where rmt does tolerate talking to a file the file needs to already exist, it won't create it for you. |