LinuxQuestions.org
Visit Jeremy's Blog.
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 10-17-2006, 01:19 AM   #1
akillam
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
How to connect an extra harddisk to linux


Thanks for your reply to my earlier post.
I am working with Fedora Core 3 Linux os .I have in the machine 2 harddisks ,80 GB each.40 GB of one of them is partitioned for Windows XP ,rest 40 GB and the entire space of the other harddisk (80 GB) is connected to Linux.I have used almost the entire space of the first harddisk(40 GB) and if while processing the data the space required exceeds 40 GB it is giving error message :"disk full".But it should have accessed the other 80 GB harddisk connected to linux.
How to overcome this problem?

Regards.
akillam
 
Old 10-17-2006, 01:46 AM   #2
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
Linux doesn't really link free space together that span multiple drives or partitions. Which is what you are assuming (from my understanding- correct me if I'm wrong) it would do.
What you might want to do is mount the second harddrive (the 80 gig one) into some directory and place your files in that directory.
If, for some reason, this isn't a particularly convienient solution- there might be a way to span freespace over multiple paritions using some software and kernel manipulation- but I am unsure how.
 
Old 10-17-2006, 02:11 AM   #3
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 31
Tell us what this command shows "du -sh /*"
 
Old 10-17-2006, 02:35 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
FC3 might already use LV (logical volumes). If so, you can add the 80 GB as part of an existing volume. I don't have experience with this, but you can study http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 10-17-2006, 02:55 AM   #5
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
do what Wim Sturkenboom said and you'll be satisfied.
 
Old 11-13-2006, 03:08 AM   #6
akillam
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Question Connecting another harddisk to Linux

Dear friends,
I had earlier posted the same question but the answers I got did not help me much.So, I put it once again.
I have half of a 80GB harddisk (i.e. 40GB) connected to LInux and another full 80GB harddisk connected to it also.I am presently working on the 40 GB partition.But when the space required exceeds 40GB it is giving error message : 'disk full :No space on device'.
But it should have accessed the other 80 GB connected to it.But it isn't.
What should be the solution?

Another point : when I type 'fdisk -l' to see the partition table it is showing ;"command not found ".But the binary file fdisk is there in /sbin.Typing 'man fdisk' is showing the manual page.

I am very much eager to get a possible solution very fast.

Regards.

akillam
 
Old 11-13-2006, 05:06 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,458
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
I had earlier posted the same question but the answers I got did not help me much.
You never responded to the advice offered, so there is no way for others to see where the advice given did not apply to you. In any case it still is not a valid reason for posting the same question twice: please read the LQ Rules and work on your other thread. This one will be merged or closed.
 
Old 11-13-2006, 04:52 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Mod note: Your two threads have been merged because they both ask the same question.
 
Old 11-14-2006, 01:09 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
fdisk is not in the (search)path for the normal user. So you have to type the full path /sbin/fdisk -l.
Further you need root permissions to run it. If you run it as a normal user, the command will not return anything (at least on my slackware box).
 
  


Reply

Tags
hardware


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
linux without harddisk M8ra1n Debian 1 05-18-2006 03:27 PM
2 linux on one harddisk Nau Linux - Software 2 01-21-2006 02:14 PM
Is Linux killing my harddisk? enemorales Linux - Laptop and Netbook 6 03-03-2005 02:45 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
cloning a harddisk on Linux gsbarry Linux - Software 17 04-24-2003 08:36 PM


All times are GMT -5. The time now is 01:10 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