LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-21-2011, 10:05 AM   #1
chamba
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
howto find space on my hdd


Hi folks,

i´m running RHEL 4.0 with 2 x 146 GB for the operating system and a storage with just 2 x 300GB for the application.

The application is almost 88% usage and this is the output of the fdis and df.

###################################
[root@ebs3 ~]# fdisk -lu

Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders, total 286677120 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 63 208844 104391 83 Linux
/dev/cciss/c0d0p2 208845 1237004 514080 83 Linux
/dev/cciss/c0d0p3 1237005 21976919 10369957+ 83 Linux
/dev/cciss/c0d0p4 21976920 286663859 132343470 5 Extended
/dev/cciss/c0d0p5 21976983 36660329 7341673+ 83 Linux
/dev/cciss/c0d0p6 36660393 47150774 5245191 83 Linux
/dev/cciss/c0d0p7 47150838 55536704 4192933+ 83 Linux
/dev/cciss/c0d0p8 55536768 63922634 4192933+ 83 Linux
/dev/cciss/c0d0p9 63922698 68115599 2096451 83 Linux
/dev/cciss/c0d0p10 68115663 69143759 514048+ 83 Linux
/dev/cciss/c0d0p11 69143823 77160194 4008186 83 Linux
/dev/cciss/c0d0p12 77160258 81176444 2008093+ 83 Linux
/dev/cciss/c0d0p13 81176508 85192694 2008093+ 83 Linux
/dev/cciss/c0d0p14 85192758 89208944 2008093+ 83 Linux

Disk /dev/cciss/c1d0: 299.9 GB, 299995248640 bytes
255 heads, 32 sectors/track, 71804 cylinders, total 585928220 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c1d0p1 32 200009759 100004864 83 Linux
/dev/cciss/c1d0p2 200009760 420019679 110004960 83 Linux
/dev/cciss/c1d0p3 420019680 520028639 50004480 83 Linux
[root@ebs3 ~]#
#####################################

and here is the output of the DF

#####################################
[root@ebs3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 2.0G 205M 1.7G 11% /
/dev/cciss/c0d0p2 487M 17M 445M 4% /boot
none 4.0G 0 4.0G 0% /dev/shm
/dev/cciss/c0d0p10 487M 41M 421M 9% /home
/dev/cciss/c0d0p7 4.0G 621M 3.2G 17% /opt
/dev/cciss/c0d0p6 5.0G 346M 4.4G 8% /tmp
/dev/cciss/c0d0p5 6.9G 2.6G 4.0G 40% /usr
/dev/cciss/c0d0p8 4.0G 41M 3.7G 2% /usr/local
/dev/cciss/c0d0p3 9.8G 387M 8.9G 5% /var
/dev/cciss/c1d0p1 94G 79G 11G 88% /apps11i
/dev/cciss/c1d0p2 104G 86G 13G 88% /oracle11i
/dev/cciss/c1d0p3 47G 22G 24G 48% /oracle_tmp
[root@ebs3 ~]#

#########################################

My question is, where is the 50 GB so i can use it to extend the partition c1d0p1 and c1d0p2 that are running out of space.

Did they being used to build the mirror? is not much 50 gb?

Please help me it's a production server.

regards

Last edited by chamba; 01-24-2011 at 04:46 AM.
 
Old 01-21-2011, 10:59 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
From your fdisk output it looks like you have some unpartitioned space on /dev/ccsis/c1d0. The device's last sector is shown as 585928220 and the last used sector on that device is shown as 520028639.
 
Old 01-24-2011, 04:28 AM   #3
chamba
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you very much dear PTrenholme,

So how can i create a partition using that space? Second, is it possible to extend the /dev/cciss/c1d0p1 94G 79G 11G 88% /apps11i and /dev/cciss/c1d0p2 104G 86G 13G 88% /oracle11i to that partition?

And if i did well the calculation there is 31.42337 GB available.

cheers.

NC

Last edited by chamba; 01-24-2011 at 04:45 AM.
 
Old 01-24-2011, 08:19 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You should have at least parted on you system for editing a devices partition table, and you may have a GUI partitioning tool (qtparted, gparted, etc.) that you could use.

Warning: Never change a partition table without having a full device backup.

Note: Since you're using a (very obsolete) RHEL version, you should be paying Red Hat for system support. They should be able to help you with this problem.
 
  


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
no hdd space kernel-P4N1C Slackware 4 08-25-2010 11:22 PM
0 hdd space available, although 5 GB not used sharer Linux - Newbie 4 09-24-2008 12:25 PM
HDD space tombiz Ubuntu 3 07-16-2006 09:25 PM
HDD Space ColdArmor Mandriva 2 03-13-2005 04:46 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:05 AM.

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
Open Source Consulting | Domain Registration