Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!hplabs!cae780!tektronix!reed!nscpdc!joer From: joer@nscpdc.NSC.COM (G. Wiz) Newsgroups: comp.unix.wizards,comp.sys.nsc.32k Subject: Re: df reports "not a filesystem" Message-ID: <862@nscpdc.NSC.COM> Date: Thu, 28-May-87 19:12:11 EDT Article-I.D.: nscpdc.862 Posted: Thu May 28 19:12:11 1987 Date-Received: Sun, 31-May-87 07:45:33 EDT References: <570@unicus.UUCP> Distribution: na Organization: NSC Portland Development Center Lines: 52 Summary: No, not a bug..... Xref: mnetor comp.unix.wizards:2509 comp.sys.nsc.32k:158 In article <570@unicus.UUCP>, emc@unicus.UUCP (Eric M. Carroll) writes: > A strange thing began to happen after we installed our new Maxtor 3380 > drives this weekend. We used 512B blocks and partitioned the disk > as follows: > 0s0: 16384 blocks (/) 0s4: 64 blocks (boot) > 0s1: 526604 blocks (/usr) 0s5: 16384 (swap) > 0s2: 61440 blocks (/u) 0s6: 2 (partition table) > 0s3: overlaps 0s1 and 0s2 0s7: 620876 (disk) > The layout was / swap /usr /u, which is rather non-standard. The problem > is that df reports > (/dev/dsk/0): is not a file system > But why is it not a filesystem? mkfs worked ok, and fsck says nary a peep. > > This is all on sysVr2v2 on an ICM3216 from NSC. > > Any help would be appreciated. Thanks. > -- > Eric Carroll Unicus Corporation, Toronto Ont. Eric, In order to help you, I need more information. I have tried "df" on many drives and the only time I see that message is when I specify a disk partition that is not a file system. (e.g. "df /dev/dsk/0s5"). What release of the software do you have? What is mounted at the time you issue the command? What parameters were passed to "df" when you got the above message? What do you mean by "The layout was / swap /usr /u." ? Note: the swap partition CANNOT be and IS NOT a file system. If you have mounted /dev/dsk/0s5 as anything, using "df" will cause the above error message to be generated. A "mkfs" on /dev/dsk/0s5 will work but is a complete waste of time because the first time that Unix swaps anything out, the superblock on /dev/dsk/0s5 is no more! The UNIX internal superblock is OK and "df" will not report an error until after /dev/dsk/0s5 is umounted, then again mounted. At that time, "df" will generate the above error message. If you have a new bug we will be glad to check it out. I would also like to recommend that you call ICM Product Support directly with your problems as they may not be. From Canada, use the number (503) 629-4414. An aside: With all that disk space, why not increase the swap partition? -- /****************************************************************************** * * * Joe Rawlings nsc!nscpdc!joer or * * ICM Product Support tektronix!reed!nscpdc!joer * * National Semiconductor Corp. 1-800-222-2433 (outside Oregon) * * Portland Development Center or 629-4414 (inside Oregon) * * * ******************************************************************************/