LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-28-2013, 06:59 AM   #1
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Rep: Reputation: Disabled
Disk space problem


Hello, I have two 3TB drives in Raid 1. During installation problems with GPT, I had to create two partitions on a 300GB and the other of the remaining space. On the partition of 300GB I installed RedHat 5.

I have about 2500GB remaining I can not mount them. The situation is that you can see in the screenshot attached to this post.

Space that can not be mounted I want to install DB2 for use as a storage Db.

How do I install and use that space?

Thanks.
Attached Images
File Type: png Screenshot.png (252.7 KB, 21 views)

Last edited by Joaquin; 02-28-2013 at 07:16 AM.
 
Old 02-28-2013, 09:12 AM   #2
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 105

Rep: Reputation: 28
From what I see in the screenshot, there is no partition on /dev/sdb. You need to create a partition
and format it. If you do a single partition, you will have /dev/sdb1.
 
Old 02-28-2013, 09:21 AM   #3
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I tried to make a partition but maybe wrong in some way. you could tell me how to make a partition and mount it?
 
Old 02-28-2013, 09:56 AM   #4
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I created a partition on sdb sdb1 named, as you can see below:

Code:
[root@localhost /]# fdisk /dev/sdb

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


The number of cylinders for this disk is set to 325634.
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)

WARNING: The size of this disk is 2.7 TB (2678435832320 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID 
partition table format (GPT).


Command (m for help): p

Disk /dev/sdb: 2678.4 GB, 2678435832320 bytes
255 heads, 63 sectors/track, 325634 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647+  ee  EFI GPT
but I can not mount it in any way.

Code:
[root@localhost mnt]# mount -t ext3 /dev/sdb1 /dev/
mount: /dev/sdb1 already mounted or /dev/ busy
 
Old 02-28-2013, 02:02 PM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,156

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
As you can see from the warning message in your last post, fdisk does not support GPT. Download the GParted iso and burn it to a disk and boot with it and create your partitions and format.

Quote:
[root@localhost mnt]# mount -t ext3 /dev/sdb1 /dev/
Trying to mount on /dev is probably not going to work. The standard is /mnt or create an sdb1 partition under mount to mount the partition to.
 
Old 02-28-2013, 02:05 PM   #6
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I just tried to mount it on /dev after trying to mount other directories.

I've already downloaded GParted Live but has not really seen /dev/sdb.
 
Old 03-01-2013, 06:34 AM   #7
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 105

Rep: Reputation: 28
try following this guide: http://www.cyberciti.biz/tips/fdisk-...eater-2tb.html

you don't need a gparted live cd, just make sure parted is installed in your machine.
I just used this last week to create a partition on a 6tb array
 
Old 03-01-2013, 06:40 AM   #8
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by roreilly View Post
try following this guide: http://www.cyberciti.biz/tips/fdisk-...eater-2tb.html

you don't need a gparted live cd, just make sure parted is installed in your machine.
I just used this last week to create a partition on a 6tb array

Perhaps my situation is different, but this guide I've seen, and it did not work.
 
Old 03-01-2013, 08:10 AM   #9
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 105

Rep: Reputation: 28
You created the partition. Did you format it? mkfs -t ext3 /dev/sdb1
 
Old 03-01-2013, 08:15 AM   #10
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by roreilly View Post
You created the partition. Did you format it? mkfs -t ext3 /dev/sdb1
Yes, I did. But when I format tells me that the partition is already mounted or busy.
 
Old 03-01-2013, 08:44 AM   #11
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,156

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
If you are using the GParted CD, are you able to see sdb by clicking the down arrow in the upper right of the window which shows the different drives? When you select /dev/sdb, do the partitions show in the main window? If you do, do you click on /dev/sdb1 to highlight it then click on the Partition tab at the top, select unmount then go back and select Format to? If you are doing these things it should work.

Check your /etc/fstab and /etc/mtab files to see if there is an entry for sdb1 there and comment the line out before you try to format.

It might be due to RAID which I'm not familiar with. You might post details on each step you have taken.

Last edited by yancek; 03-01-2013 at 08:47 AM.
 
Old 03-01-2013, 08:49 AM   #12
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Joaquin View Post
Yes, I did. But when I format tells me that the partition is already mounted or busy.

With GParted Live the partition of which we speak is not seen. You can not see /dev/sdb neither /dev/sdb1
 
Old 03-01-2013, 09:30 AM   #13
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 105

Rep: Reputation: 28
open a console and type 'mount' without the quotes, post the output please.
 
Old 03-04-2013, 03:00 AM   #14
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by roreilly View Post
open a console and type 'mount' without the quotes, post the output please.
I was able to mount the partition, but I had to reinstall RedHat.

Below is the output of the command 'mount':

Code:
[root@localhost ~]# mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdb1 on /home type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdc1 on /media/VID type vfat (ro,nosuid,nodev,shortname=winnt,uid=0)
[root@localhost ~]#
But I'm not happy with what I did. With the availability of 3TB, I wish to 1TB for the OS , And 2TB for DB2 and the DB.
I would like to create a 2TB partition, only data that is to be devoted only to the DB.

Last edited by Joaquin; 03-04-2013 at 03:08 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with disk space vedaprasad Linux - Newbie 2 04-12-2010 01:17 PM
Problem with freeing disk space on a two hard disk Fedora Core 4 box favadalikhan Linux - Server 1 04-29-2008 09:04 PM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 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
Disk Space Problem bigmember Linux - Software 2 07-04-2003 12:41 PM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration