[SunHELP] formatting disk

Steve Wingate sunhelp at sunhelp.org
Tue Oct 30 19:23:42 CST 2001


Yes, I did. Whether I did it correctly remains to be seen. 

format> verify

Primary label contents:

Volume name = < content>
ascii name  = <SEAGATE-ST34502LC-0004 cyl 6920 alt 2 hd 6 sec 214>
pcyl        = 6922
ncyl        = 6920
acyl        =    2
nhead       =    6
nsect       =  214
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



On Tue, 30 Oct 2001 19:03:10 -0600 (CST)
"Mike's List" <mikelist at sky.net> wrote:

> 
> On Tue, 30 Oct 2001, Steve Wingate wrote:
> 
> > 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 foll
> ows:
>  
> Did you label it after partitioning it?  Label = write the partitioning to
> the disk and save it...
> 
> 
> - Mike
> 
> 
> > 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.
> > 



More information about the SunHELP mailing list