LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Connecting another harddisk to Linux (https://www.linuxquestions.org/questions/linux-hardware-18/connecting-another-harddisk-to-linux-501091/)

akillam 10-17-2006 01:19 AM

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

caffeinebot 10-17-2006 01:46 AM

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.

Sepero 10-17-2006 02:11 AM

Tell us what this command shows "du -sh /*"

Wim Sturkenboom 10-17-2006 02:35 AM

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/

odcheck 10-17-2006 02:55 AM

do what Wim Sturkenboom said and you'll be satisfied.

akillam 11-13-2006 03:08 AM

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

unSpawn 11-13-2006 05:06 AM

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.

J.W. 11-13-2006 04:52 PM

Mod note: Your two threads have been merged because they both ask the same question.

Wim Sturkenboom 11-14-2006 01:09 AM

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


All times are GMT -5. The time now is 08:53 PM.