Re: large disk space problem?



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.

[root@pc1 ~]# fdisk /dev/sdb

The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

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).

--
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

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



Relevant Pages

  • Re: New HDD Installation
    ... DISKPART> list disk ... DISKPART> select partition 1 ... You can do the same thing starting with the "list volume" instead of the "list disk" command, then selecting volumes to gain focus. ... At this point I haste to point out that this is mostly for educational purposes and for you to gain an inner working knowledge of disks and partitions and how Windows works with them. ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] raid question
    ... i partition here the new disk (maybe with fdisk, ... The number of cylinders for this disk is set to 4865. ... Command: m ...
    (SuSE)
  • Re: Error 16: Inconsistent filesystem structure
    ... My preference would be a /home partition to protect my data ... Here is a copy of the output of fdisk -l and fdisk /dev/sdb with x then ... I used the Negus Fedora 7 book's Live cd. ... Disk /dev/sdb: 200.0 GB, 200049647616 bytes ...
    (Fedora)
  • Re: Installation of hard drive - SOLVED
    ... Wll be also good for you if you learn how to use the number notation for chmod command. ... > Then try to mount the partition using the command line: ... >>> install ... >>> hard disk. ...
    (Debian-User)
  • Re: Physical Disk Size
    ... You need root permissions for fdisk command ... The fdisk -l does not come back with anything, ... The dmesg does not give me the disk size in the output either. ... This transmission is confidential and must not be used or disclosed by ...
    (RedHat)