Re: large disk space problem?



Tim wrote:
On Sun, 2007-12-09 at 09:14 +0800, zhu blue wrote:
I recently added additional 160GB disk to my F8 system. and partitioned
it as a single partition. but when I use "df" command to show my
disk, it only show the size is 9.2G on my Desktop. GNOME it can show
the disk as 149.0Gb correctly.

[root@pc1 ~]# df
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext3 38G 15G 22G 41% /
tmpfs tmpfs 474M 12K 474M 1% /dev/shm
/dev/sda9 ext3 66G 61G 1.3G 98% /home
/dev/sda5 vfat 25G 18G 7.1G 72% /media/disk
/dev/sdb1 ext3 9.2G 5.3G 3.5G 61% /media/disk-1
^^^^^^^^^
/dev/sda1 vfat 15G 8.3G 6.4G 57% /media/disk-2
/dev/sda6 ext3 38G 3.9G 33G 11% /media/_home

The above makes no mention of anything on /dev/sdb. So you haven't
mounted it, or it can't yet be mounted.


Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe2c5e2d5

Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux

What steps have you gone through?

To make use of a drive, you partition it (even if that means using the
whole drive as one partition), fdisk is one tool that you can use. A
quick glance at the above looks like you've done that okay.

Then you format it with a file system (e.g. man mkfs.ext3).

Then you mount it (e.g. man fstab &/or man mount).

It looks like the drive is already one big partition with an ext3
file system on it, but it is only shown as being 9.2G. It almost
looks like the partition was resized but the file system wasn't. If
it didn't already have 5.3G of data on it, it would be tempting to
delete and recreate the file system.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: Salvaging data from USB flash disk
    ... still unable to mount the copy of the disk. ... I'm not sure what file system type was on the disk. ... Could I recover anything with Partition Magic or some such tool? ...
    (comp.os.linux.hardware)
  • Re: Is FAT32 format gone?
    ... is nolimit> to partition size re FAT32-formatted partitions. ... FAT32 file system in a WinXPenvironment,> he or she can do ... Disk> Management utility, ...
    (microsoft.public.windowsxp.general)
  • Re: Help Failing Disk Problem
    ... and the FreeBSD OS on a hard disk that is failing. ... Either use sysinstall to slice and partition ... fdisk, bsdlabel and newfs. ... 512 MB I mount as /tmp ...
    (freebsd-questions)
  • Re: Chkdsk errors in SP2 installation
    ... Windows is on the first partition (that's the one I ... > the Error Checker in the disk Properties/Tools says the disk is OK. ... >>Windows found problems with the file system. ...
    (microsoft.public.windowsxp.general)
  • Re: Salvaging data from USB flash disk
    ... mount: wrong fs type, bad option, bad superblock on /dev/loop0, ... Disk /dev/sda doesn't contain a valid partition table ... Your flash disk most likely has a vfat file system. ... only the partition containing the file system with data. ...
    (comp.os.linux.hardware)