LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2005, 01:32 PM   #1
joshnya
Member
 
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Rep: Reputation: 15
Disk Usage Report


Can somebody please tell me what the first line of this df -h output means? It looks like the path /dev/mapper/VolGroup00-LogVol00 had eaten up my whole hard-drive, but I'm still VERY green around Linux. Is there any way to fix this so my hard-drive is not reported as full ?

Thanks in advance for the help !!



root@FTP etc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
18G 17G 0 100% /
/dev/hdb1 58G 37G 21G 64% /mnt/share
/dev/hda1 99M 13M 82M 13% /boot
none 315M 0 315M 0% /dev/shm
/dev/hdd1 58G 39G 19G 68% /mnt/backup
 
Old 09-12-2005, 04:01 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,429

Rep: Reputation: 196Reputation: 196
Its part of RedHat's LVM Partition Management. I would suggest you read up on LVM. I don't know much about this, but I don't think its a big problem. There is a known issue about it reporting correctly.
 
Old 09-12-2005, 04:07 PM   #3
joshnya
Member
 
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks mlangdn. I have no idea where the dev/VolGroup00 stuff came from.


Can you take a look at my fstab file and let me know if you think I'm going to run into a problem if I change the first line to :
LABEL = / / ext3 defaults 1 1

and change the swap back to

/dev/hda1 swap swap defaults 0 0


Like it was before.




/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdb1 /mnt/share vfat auto,rw,uid=123 0 0
/dev/hdd1 /mnt/backup vfat auto,rw,uid=123 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
 
Old 09-13-2005, 12:41 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Your system will not boot if you change the fstab entry for “/” to LABEL=/. The LABEL= format only works with partitions, because it refers to the partition's name/label. A LVM logical volume is not a partition.

Without seeing “fdisk -l” for your system, it's hard to predict what changing the swap designation will do, but the outcome will likely be undesirable.

For more information about LVMs, look at the LVM HowTo here http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html

Chapter 11. “Common Tasks” is very useful.
 
Old 09-13-2005, 08:18 AM   #5
joshnya
Member
 
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Original Poster
Rep: Reputation: 15
Here is the fdisk output.


[root@FTP boot]# fdisk -l

Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2434 19446682+ 8e Linux LVM

Disk /dev/hdb: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 7476 60050938+ c W95 FAT32 (LBA)

Disk /dev/hdd: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 119150 60051568+ c W95 FAT32 (LBA)
 
Old 09-13-2005, 09:58 AM   #6
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
hda1 is not formatted as swap and cannot be used as swap. hda1 is probably /boot.

It doesn’t sound like you understand partition usage. A good place to learn about partition usage is the Partition HowTo: http://www.ibiblio.org/pub/Linux/doc...Partition.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Usage kegwell Linux - Software 2 05-11-2005 11:59 AM
Disk Usage karan101 Linux - Software 8 10-17-2004 04:59 AM
AS 2.1 disk usage buck2bcr Red Hat 4 03-23-2004 10:50 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 07:24 PM
Disk Usage dvong3 Linux - Software 2 06-13-2003 01:56 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration