[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8801.0. "Ultrix UFS disk compatibility" by FORTY2::PALKA () Wed Feb 12 1997 04:17

How can I move a UFS disk from Ultrix to Unix (V3.2) ?

I get the following errors when trying to fsck on the partition

>IMPOSSIBLE INTERLEAVE=0 IN SUPERBLOCK
>SET TO DEFAULT? [yn] n
>
>IMPOSSIBLE NPSECT=0 IN SUPERBLOCK
>SET TO DEFAULT? [yn] n
>
>** Last Mounted on /zip
>** Phase 1 - Check Blocks and Sizes
>** Phase 2 - Check Pathnames
>** Phase 3 - Check Connectivity
>** Phase 4 - Check Reference Counts
>** Phase 5 - Check Cyl groups
>UNKNOWN ROTATIONAL TABLE FORMAT 0

dumpfs also has problems with the rotational table
Here is the output from dumpfs on Unix

>magic	11954	format	dynamic	time	Tue Feb 11 18:38:05 1997
>nbfree	7371	ndir	9	nifree	10881	nffree	85
>ncg	6	ncyl	96	size	98304	blocks	96655
>bsize	8192	shift	13	mask	0xffffe000
>fsize	1024	shift	10	mask	0xfffffc00
>frag	8	shift	3	fsbtodb	1
>cpg	16	bpg	2048	fpg	16384	ipg	2048
>minfree	10%	optim	time	maxcontig 1	maxbpg	256
>rotdelay 0ms	headswitch 0us	trackseek 0us	rps	60
>ntrak	1	nsect	2048	npsect	0	spc	2048
>trackskew 0	interleave 0
>nindir	2048	inopb	64	nspf	2
>sblkno	16	cblkno	24	iblkno	32	dblkno	288
>sbsize	8192	cgsize	3072	cgoffset 1024	cgmask	0xffffffff
>csaddr	288	cssize	1024	shift	9	mask	0xfffffe00
>cgrotor	5	fmod	0	ronly	0	clean	30
>insufficient space to maintain rotational tables
.....

Here is the output from dumpfs on Ultrix (Note. This is before some files
were created, and the Unix output is after the creation of the files).

>magic	11954	time	Tue Feb 11 18:07:29 1997
>sblkno	16	cblkno	24	iblkno	32	dblkno	288
>sbsize	8192	cgsize	3072	cgoffset 1024	cgmask	0xffffffff
>ncg	6	size	98304	blocks	96655
>bsize	8192	shift	13	mask	0xffffe000
>fsize	1024	shift	10	mask	0xfffffc00
>frag	8	shift	3	fsbtodb	1
>minfree	10%	maxbpg	256
>maxcontig 1	rotdelay 0ms	rps	60
>csaddr	288	cssize	1024	shift	9	mask	0xfffffe00
>ntrak	1	nsect	2048	spc	2048	ncyl	96
>cpg	16	bpg	2048	fpg	16384	ipg	2048
>nindir	2048	inopb	64	nspf	2
>nbfree	12079	ndir	2	nifree	12284	nffree	14
>cgrotor	0	clean	30 (clean)		ronly	0
>deftimer 20	cleantimer 20	lastfsck Tue Feb 11 18:07:29 1997
>
>
>pt_magic	32957	pt_valid	1
>partition	nblocks	blk off
>   a		196608	0
>   b		131072	32768
>   c		196608	0
>   d		0	0
>   e		0	0
>   f		0	0
>   g		32768	163840
>   h		0	0
>insufficient space to maintain rotational tables
....

Clearly there is some problem with the rotational tables.
How do I get this correct ? Why can I mount the disk on
Ultrix with this problem ?

The /etc/disktab entry is the same on both systems

>zip100|IOMEGA ZIP Drive:\
>:ty=removable:dt=SCSI:ns#64:nt#2:nc#1536:\
>:oa#0:pa#196608:ba#8192:fa#1024:\
>:oc#0:pc#196608:bc#8192:fc#1024:\



T.RTitleUserPersonal
Name
DateLines
8801.1netrix.lkg.dec.com::thomasThe Code WarriorWed Feb 12 1997 08:472
ffs/ufs is slightly different between ULTRIX and DIGITAL UNIX.  If you
fix it up via fsck, ULTRIX won't be able to mount it.
8801.2SMURF::KNIGHTFred KnightThu Feb 13 1997 09:5712
you need to use the force switch and the read only switch.

UFS can now only go from ULTRIX to DIGITAL UNIX.  To mount it
read/write on Digital UNIX, you need the "newer" ufs that the
ULTRIX system can't mount.  And if you leave it with the old
ufs that ULTRIX can read/write then Digital UNIX requires read
only.

Catch-22 - Maybe someone in the filesystems group can explain
the reasoning for this "feature".

	Fred