Disk Space

Darkbackwardz at netscape.net Darkbackwardz at netscape.net
Fri Nov 19 12:42:06 PST 2004


 Preloaded elf kernel "kernel" at 0xc0557000.
Preloaded elf module "if_rl.ko" at 0xc055709c.
rl0: Ethernet address: 00:40:ca:4f:4d:18
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: Lexmark USB Hub, class 9/0, rev 1.10/1.00, addr 2
ugen0: Lexmark All-in-One, rev 1.10/1.00, addr 3
ulpt0: Lexmark Lexmark All-in-One, rev 1.10/1.00, addr 4, iclass 7/1
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ad0: 78167MB <Maxtor 6Y080P0> [158816/16/63] at ata0-master UDMA133
ad1: 38166MB <WDC WD400EB-00CPF0> [77545/16/63] at ata0-slave UDMA100
Mounting root from ufs:/dev/ad0s1a
Preloaded elf kernel "kernel" at 0xc0557000.
Preloaded elf module "if_rl.ko" at 0xc055709c.
rl0: Ethernet address: 00:40:ca:4f:4d:18
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: Lexmark USB Hub, class 9/0, rev 1.10/1.00, addr 2
ugen0: Lexmark All-in-One, rev 1.10/1.00, addr 3
ulpt0: Lexmark Lexmark All-in-One, rev 1.10/1.00, addr 4, iclass 7/1
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ad0: 78167MB <Maxtor 6Y080P0> [158816/16/63] at ata0-master UDMA133
ad1: 38166MB <WDC WD400EB-00CPF0> [77545/16/63] at ata0-slave UDMA100
Mounting root from ufs:/dev/ad0s1a
# fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 160071597 (78159 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
# disklabel /dev/ad0s1
# /dev/ad0s1:
type: ESDI
disk: ad0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9963
sectors/unit: 160071597
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   262144        0    4.2BSD     2048 16384    94   # (Cyl.    0 - 16*)
  b:   885728   262144      swap                        # (Cyl.   16*- 71*)
  c: 160071597        0    unused        0     0        # (Cyl.    0 - 9963*)
  e:   524288  1147872    4.2BSD     2048 16384    94   # (Cyl.   71*- 104*)
  f:   524288  1672160    4.2BSD     2048 16384    94   # (Cyl.  104*- 136*)
  g: 157875149  2196448    4.2BSD     2048 16384    89  # (Cyl.  136*- 9963*)
# cat /etc/fstab
# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/ad0s1f             /tmp            ufs     rw              2       2
/dev/ad0s1g             /usr            ufs     rw              2       2
/dev/ad0s1e             /var            ufs     rw              2       2
/dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
proc                    /proc           procfs  rw              0       0
# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /tmp (ufs, local, soft-updates)
/dev/ad0s1g on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
/dev/acd0c on /cdrom (cd9660, local, read-only)
# df
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ad0s1a    128990  125784    -7112   106%    /
/dev/ad0s1f    257998   13938   223422     6%    /tmp
/dev/ad0s1g  77708462 1286536 70205250     2%    /usr
/dev/ad0s1e    257998   20012   217348     8%    /var
procfs              4       4        0   100%    /proc
/dev/acd0c     632960  632960        0   100%    /cdrom
#



Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
>
>Post the output of:
>
>    # dmesg | grep ad
>    # fdisk /dev/ad0
>    # disklabel /dev/ad0s1
>    # cat /etc/fstab
>    # mount
>    # df
>
>That should help a bit in discovering what's wrong.
>
>
>On 2004-11-17 23:54, Darkbackwardz at netscape.net wrote:
>> For some reason, when I try to save a file on my computer, it says
>> I've run out of hard disk space. This is completely impossible, my
>> computer has two hard drives, one 80 GB HD which FreeBSD is installed
>> on and one 40 GB HD formattedto the FreeBSD filesystem. There is
>> nothing on either of them except the operating system.
>>
>> During installation, I partitioned the 80GB disk with one 80 GB
>> partition and five subpartitions:
>>
>> ad0s1a       128 MB   (/)
>> ad0s1b       432 MB   (swap)
>> ad0s1e       256 MB   (/var)
>> ad0s1f       256 MB   (/tmp)
>> ad0s1g     77087 MB   (/usr)
>>
>> But if you use Konquerer to analyze the drives the following
>> capacities are reported:
>>
>> ad0s1a      1500 MB   (/)
>> ad0s1e      16.7 MB   (/var)
>> ad0s1f      12.8 MB   (/tmp)
>> ad0s1g      1300 MB   (/usr)
>
>It's impossible to have 1500 MB of free space on a partition like ad0s1a
>that has a size of 128 MB.  What does df(1) report?
>
>    # df
>
>> The second, 40GB drive (Primary IDE Slave) doesn't even show up in
>> Konquerer. There is 200 dollar's worth (117 GB!) of disk space
>> nowhere to be found.


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


More information about the freebsd-questions mailing list