[geeks] what the? (disk space oddness)

Mark G. Thomas Mark at Misty.com
Mon May 24 15:21:09 CDT 2004


Hi,

On Mon, May 24, 2004 at 02:50:50PM -0500, Bill Bradford wrote:
> Okay, someone help explain this one to me.  I've never seen this happen before.
> 
> We've got a 4.2G disk and a 73G disk in this system.
> 
> AVAILABLE DISK SELECTIONS:
>        0. c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
>           /pci at 1f,4000/scsi at 3/sd at 0,0
>        1. c0t1d0 <SEAGATE-ST173404LCV-4301 cyl 14087 alt 2 hd 24 sec 424>
>           /pci at 1f,4000/scsi at 3/sd at 1,0
> Specify disk (enter its number): 1
> selecting c0t1d0
> [disk formatted]
> Warning: Current Disk has mounted partitions.
> 
...

> Primary label contents:
> 
> Volume name = <        >
> ascii name  = <SEAGATE-ST173404LCV-4301 cyl 14087 alt 2 hd 24 sec 424>
> pcyl        = 14089
> ncyl        = 14087
> acyl        =    2
> nhead       =   24
> nsect       =  424
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0       root    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
>   1       swap    wu       0                0         (0/0/0)             0
>   2     backup    wu       0 - 14086       68.35GB    (14087/0/0) 143349312
>   3 unassigned    wm       0                0         (0/0/0)             0
>   4 unassigned    wm       0 -  3091       15.00GB    (3092/0/0)   31464192
>   5 unassigned    wm       0                0         (0/0/0)             0
>   6 unassigned    wm    3092 - 14086       53.35GB    (10995/0/0) 111885120
>   7 unassigned    wm       0                0         (0/0/0)             0
> 
> slice 0 is pretty much "entire disk".  68.35G.
> 
> but from a "df -k":
> 
> /dev/dsk/c0t1d0s0    15493995 13950746 1388310    91%    /export/home/hog2      
> 
> Again, "what the heck"
> 
> Bill

"fstyp -v /dev/dsk/c0t1d0s0 | grep blocks" should shed some light.  
It looks to me like a 15GB filesystem on a 69GB partition.

Maybe the filesystem was created with "newfs /dev/rdsk/c0t1d0s4" ?

Be sure to determine exactly where that filesystem ends though before
resizing the partition or using the balance of the space.

Mark



-- 
Mark G. Thomas (Mark at Misty.com)
voice: 215-591-3695
http://www.misty.com/  http://mail-cleaner.com/



More information about the geeks mailing list