次の状況のときに、newfs コマンドを使って UFS ファイルシステムを作成しようとすると、失敗することがあります。
スライスのサイズが小さい (約 4M バイト未満)。
ディスクのサイズが 8G バイトを超えている。
このエラーは、メタデータのために大きなサイズのファイルシステムが必要な場合に発生します。次の警告メッセージが表示されます。
| Warning: inode blocks/cyl group (295) >= data blocks (294) in last
     cylinder group. This implies 4712 sector(s) cannot be allocated.
/dev/rdsk/c0t0d0s6:     0 sectors in 0 cylinders of 48 tracks, 128 sectors
         0.0MB in 0 cyl groups (13 c/g, 39.00MB/g, 18624 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
# | 
回避方法: スーパーユーザーとして、次の回避方法のいずれかを実行します。
回避方法 1: newfs コマンドを使用するときに、トラック数を指定します。次の手順を実行します。
format コマンドを使用して、割り当てるトラック数を調べます。次に例を示します。
| # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
        0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
           /pci@1f,4000/scsi@3/sd@0,0
Specify disk (enter its number): | 
この例では、トラック数は 19 です。
newfs コマンドを使ってファイルシステムを作成するときに、この数を割り当てます。次に例を示します。
| # newfs -v -t 19 /dev/dsk/c0t0d0s6
newfs: construct a new file system /dev/rdsk/c0t0d0s6: (y/n)? y
mkfs -F ufs /dev/rdsk/c0t0d0s6 4712 -1 19 8192 1024 16 10 167 2048
 t 0 -1 8 128 n
mkfs: bad value for nsect: -1 must be between 1 and 32768
mkfs: nsect reset to default 32
Warning: 152 sector(s) in last cylinder unallocated
/dev/rdsk/c0t0d0s6:     4712 sectors in 8 cylinders of 19 tracks,
 32 sectors
         2.3MB in 1 cyl groups (16 c/g, 4.75MB/g, 2304 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
  32,
# | 
回避方法 2: newfs コマンドに i ノード当たりのバイト数 (nbpi) を指定して、ファイルシステムの i ノード密度を小さくします。次に例を示します。
| # newfs -i 4096 /dev/dsk/c0t0d0s6
newfs: construct a new file system /dev/rdsk/c0t0d0s6: (y/n)? y
Warning: 1432 sector(s) in last cylinder unallocated
/dev/rdsk/c0t0d0s6:     4712 sectors in 1 cylinders of 48 tracks,
 128 sectors
         2.3MB in 1 cyl groups (16 c/g, 48.00MB/g, 11648 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
  32,
# |