[SunHELP] formatting disk

Steve Wingate sunhelp at sunhelp.org
Tue Oct 30 18:55:01 CST 2001


I'm trying to format a 2nd disk as one big partition on my SS20. The disk is /dev/dsk/c0t3d0s2, a disk on the internal bus. I followed some instructions and assigned slice 0 the full 6919 cylinders. Executing a print command within format showed as follows:

partition> print
Volume:  content
Current partition table (original):
Total disk cylinders available: 6920 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 alternates    wm       0 - 6917        4.24GB    (6918/0/0) 8882712
  1       swap    wu       0               0         (0/0/0)          0
  2     backup    wm       0 - 6919        4.24GB    (6920/0/0) 8885280
  3 unassigned    wm       0               0         (0/0/0)          0
  4 unassigned    wm       0               0         (0/0/0)          0
  5 unassigned    wm       0               0         (0/0/0)          0
  6 unassigned    wm       0               0         (0/0/0)          0
  7 unassigned    wm       0               0         (0/0/0)          0

After mounting the disk and executing df -k I noticed the 0 partition was showing as 100MB, not the full disk. Incidentally this is the size it was before I repartitioned the disk; this disk used to have Sol 8 on it. I went back into format and tried to redo the partitions pretty much the same way. For some reason I got the idea to use the format option to format and analyze the hard disk. 
Now when when I try to mount the disk I get this:

# grep content /etc/vfstab 
/dev/dsk/c0t3d0s0       /dev/rdsk/c0t3d0s0      /content        ufs     2       yes     -
# mount /content
mount: /dev/dsk/c0t3d0s0 is not this fstype.

This is the same entry I was mounting the disk as successfully prior to repartitioning it the 2nd time. What do I have to do to put an fstype on this disk. There is nothing on it that needs to be saved. TIA.


+---------------------------------------------------------------------+
|Steve Wingate <stevew at velosystems.net>                  310.544.9920 |
|MCSE, CCNA, no JOB                      Tue Oct 30 16:17:00 PST 2001 |
+---------------------------------------------------------------------+
|FreeBSD 4.4-STABLE                                                   |
| 4:17PM  up 3 days, 15:42, 8 users, load averages: 0.00, 0.01, 0.00  |
+---------------------------------------------------------------------+



More information about the SunHELP mailing list