Search Posts:

reading Sun tapes

View Entire Thread

Return to Threads

SHARE
  by Bill Degnan - 09/15/2026 17:05
if you come upon a Sun tape a modern Linux box may only be able to read the index but fails to recover the actual data. This is due to a mismatch of the file block size and the native format of the ufsdump utility used by Sun.

When a Sun system running SunOS 4.x or early Solaris creates a tape backup, it doesn't use the standard tar format you find on PCs. It uses a specialized utility called dump (or ufsdump). This tool writes raw blocks of data optimized specifically for Sun's UFS file system structure
Sun SCSI tape drives (like Exabyte 8mm or Archive Viper 150 QIC drives) default to writing data in 126-block clusters (63,000 bytes) or specific physical block alignments. Modern Linux SCSI drivers expect standard 512-byte or 1024-byte block increments.

Ah Ha!

So, set your drive attached to a Sun box to address 4 or 5, which is the default tape drive address.

/dev/rst0 (rewind tape 0 after running a command)
/dev/nrst0 (dont rewind automatically)

if you want to skip past the index:
mt -f /dev/nrst0 fsf 1

backup a tape:
mkdir /export/home/tape_recovery
cd /export/home/tape_recovery
restore irf /dev/nrst0
(use ufsrestore irf /dev/nrst0 for a newer Sun box)

Inside the interactive prompt, you can type ls to see the directories hidden on the tape, add to select what you want, and extract to pull them down to your hard drive!

NOTE: You can try this on a linux box to read a Sun tape that can't normally be read:
dd if=/dev/nst0 ibs=63k obs=32k | ufsrestore ivf -
(assuming nst0. ibs=63k forces Linux to open its buffer wide enough to catch the massive 126-block Sun clusters without crashing the SCSI bus.)

Reply

Resources:


Buy a Commodore Computer Poster

Popular Topics and FAQs


  • TM990/101 M
  • Altair 8800bt notes
  • TRS 80 Model 4 Engineering Sample
  • Altos 5-5AD
  • Morrow Wunderbuss Motherboard - Fried!
  • Epson PX-8
  • C64 emulator to run on PC
  • Mac 128K with SAD MAC error 041800
  • IMSAI 8080 With Processor Tech. Cutter
  • Secrecy is the keystone of all tyranny
  • Cromemco System Three
  • Commodore "Coherent"
  • Exatron Stringy Floppy Update
  • TM 990/189 or PP189
  • Lanier Word Processor Model 103
  • Univac 1219 rescue
  • IMSAI 1.4 BASIC vs. MITS 8K BASIC
  • Atari 520ST
  • DEC Information Request Reply Card
  • Amiga 2500 Restoration
  • IBM XT sn 4359455
  • Amiga 2000 with Dual Drives and HD
  • A New 68000 CPU S-100 Board
  • Edmund Scientific Co Ad 1973
  • Micropolis 10xx Drive Inventory
  • Texas Instruments 99/4a with PHP1200
  • MITS Altair 8800b T with Dual Drives
  • Burroughs L5000 Controller Card Photos
  • Digital PDP 11/44
  • TRS 80 Model III Exatron Stringy Floppy
  • Digital PDP-9 The Serious Computer
  • Live long and prosper, Spock
  • PDP 11/40 M7656 Serial Comms
  • 1993 Compaq Deskpro 5/60M
  • 1974/5 TCC-3700 i8080 Computer
  • Processor Tech 3P + S ASR 33 Jumpers
  • Tektronix 4015-1 Graphics Terminal
  • Lear Siegler ADM-3A GraFix Board
  • UNIVAC 1219 USS Midway CV-41
  • Commodore VIC-21
  • Prevent VMS MULTINET SMTP Relay Hijacks
  • NExT Cube Restoration
  • 1976 P.C.C. Features the MAI JOLT 6502
  • 1961 Beckman DEXTIR Computer
  • UNIVAC 1 and UNIVAC File Computer 1
  • Computer Music Using the IBM 7094
  • 1985 PCs Limited Turbo PC
  • Digital Equipment Corporation PDP-8
  • IMSAI 8080 Chase the Lights Variations
  • XYBASIC on the IMSAI 8080
  • Cromemco Dazzler
  • Cramer Intel 8080A Microcomputer
  • Original ACHTUNG Computer Lab Humor
  • Leading Edge Computers
  • Past Issues:


    PB1 EPROM 2708

    This image was selected at random from the archive. Click image for more photos and files from this set.