Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!yamnet!rcsh From: rcsh@yamnet.UUCP (/999999999) Newsgroups: comp.sys.ibm.pc.rt Subject: Printer Problem And Minidisk Problem Keywords: Previous Posting and New Problem (more examples) Message-ID: <106@yamnet.UUCP> Date: 28 Mar 89 04:25:40 GMT Organization: Delphi Information Systems, R & D Div., Westlake Vlg, Ca. Lines: 213 Recently had posted a request for feedback for a printer driver (perceived) problem. My RT then proceeded to die (inode count on a minidisk, more later), I was down for a couple days and lost about two days of news. Fearing I may of missed the any posting concerning the printer problem. I'm asking anyone who posted any comments to repost, I also lost mail. On to a more serious issue, the one that caused my problems. I tried to create a filesystem on a 300 Meg minidisk for news. Having run out Inodes on the previous filesystem I was determined to create a filesystem more apropos to News, that is, one with a excess of Inodes. I tried a straight mkfs first: mkfs /dev/hd7 605469:96000 This proceeded to create the filesystem with the default inode amount (5% of the number of blocks). To beat this I created a proto file of an empty directory and specified the block and Inode count in the proto file. Then made the filesystem using this proto file. With the filesystem built I do a df, AIX tells me that I've already used 68% on my inodes on this empty filesystem. Thinking that df might be brain damage I proceeded to create 40,000 files with no problem. Presuming I was fine, that df was hosed, I ran uucico with this filesystem as /usr/spool and am kindly informed I have no free Inodes! I have tried reducing the number of total blocks from 605469 all the way down to 520000 in an attempt to get this working....no luck. Any Ideas? Here is a long transcript of the series of commands to just create the filesystem. This is on a 6150 model 135, running AIX 2.2.1 and the very latest updates. Comments have been added, enclosed in hard brackets ([]). --Begin Transcript-- [ First create the minidisk on the *Porta-file* ] MINIDISK CUSTOMIZING COMMANDS Minidisks commands are: Command Description add Create a new minidisk change Change mount characteristics of an existing minidisk delete Delete an existing minidisk show Show minidisk information To EXIT the minidisks command, press F3. To USE a minidisks command, type the command and press Enter. > add Processing minidisk information... Will there be an AIX file system on this minidisk ? yes no Type yes or no and press Enter. > no The following block sizes are available for this minidisk: 512 1024 2048 To choose from the list, type the blocksize and press Enter. To SHOW minidisk information in requested blocksize, press F2. > 512 Type the number of 512 blocks for this minidisk and press Enter. To SHOW minidisk information in requested blocksize, press F2. > 605469 The following fixed disks are available: hdisk0 hdisk1 hdisk2 hdisk5 Type the fixed disk on which to create this minidisk and press Enter. To SHOW minidisk information in requested blocksize, press F2. > hdisk5 If you do not choose a location for this minidisk on the disk, the minidisk will be placed in the first available free space on the disk. Do you want to choose a location ? yes no Type yes or no and press Enter. To SHOW minidisk information in requested blocksize, press F2. > n Minidisk Name: hd7 The following information can be changed: Name Description Current Possible Choice Choices bs Block Size 512 512,1024,2048 nob Number of Blocks 605469 fd Fixed Disk hdisk5 hdisk0,hdisk1,... To CHANGE a current choice, type the name followed by your new choice (example: nob 1000), and press Enter. To CANCEL creation of this minidisk, press F3. To CREATE this minidisk with the current choices, press Enter. To SHOW minidisk information, press F2. > Creating the minidisk... The minidisk has been successfully created. The minidisk name is hd7 To CONTINUE, press Enter. > End Minidisk Session. [ Now the proto-file ] # mkdir empty_directory # proto empty_directory >proto_file # vi proto_file [ Add Filesystem Spec Lines ] # cat proto_file : Prototype file for empty_directory /etc/boot 605469 96000 : FS line: boot num_blks num_inodes d--755 0 0 $ $ # mkfs /dev/hd7 proto_file mkfs: destroy /dev/rhd7 (y)?y Bootstrap Length 28148 (0x6e18), seglen 77824 (0x13000) Device /dev/rhd7: From prototype: proto_file fs size: 605469 inodes: 96000 [ <- Note number of Inodes ] interleave: 508:4 cluster: 2048 fsys id: NONAME pack id: VOLXXX boot pgm: /etc/boot # mount /dev/hd7 /usr/empty/directory # df Device Mounted on total free used ifree used /dev/hd0 / 38684 8700 77% 9395 6% /dev/hd2 /usr 96808 40652 58% 23506 6% /dev/hd6 /vrm 3992 1012 74% 32 75% /dev/hd1 /u 2772 2752 0% 732 0% /dev/hd3 /tmp 4776 4644 2% 1275 0% /dev/hd11 /v 137776 117212 14% 31279 2% /dev/hd10 /w 139556 82268 41% 14730 17% /dev/hd7 /usr/empty_directory 593404 593400 0% 30462 68% [ ** Note Inode Free (ifree) count and percentage! ** ] # ls -a emp* . .. # -- End Transcript -- Any input would be greatly appreciated, this is getting to be a bit too much. The remaining question in my mind is if I drive my '88 Honda CRX (standard model) into an 6150 RT, model 135 running AIX 2.2.1, impacting at 55 mph, will it damage my car at all? -- Greg Noel [Gn] Delphi Information Systems, Westlake Vlg, Ca. The food is bad, and the portions are small. -W Allen