LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-11-2003, 03:38 PM   #1
DualAMD
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Rep: Reputation: 0
Can anyone tell me if this is possible?


I want to take a part of one of my harddrives and ( not really ) add to the other...

Like this
/dev/hda 40 gigs
/dev/hdb 20 gigs

new after sometype of fdisk mod

/dev/hda 30 gigs
/dev/hdb 30 gigs

I have the old partition magic for windows that ( if i remember correctly ) did something like this. I believe it was called "resizing".

If anyone have information for me please let me know

:-) thanks
 
Old 01-11-2003, 03:46 PM   #2
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
Nope. You can only resize partitions on the same hard disk and you want to resize 2 hard disks.
 
Old 01-11-2003, 03:48 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Look if you have 'parted' installed. If not, download and install it, read the manual and resize your partitions.
WARNING: parted doesn't support NTFS.
 
Old 01-11-2003, 04:00 PM   #4
DualAMD
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you MARA, I don't need support for NTFS ( i'm using linux ). but if it do cause for me not to see a shared ntfs harddrive then that would not be good but i will read the manule to see if that will happen

Thank you
 
Old 01-11-2003, 04:27 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Well the thing I am curious about is why??? Also, you are going to be making a 20 gig appear to be a 30 gig, I'd think you'd have to use something like RAID or something to do this...

Cool
 
Old 01-11-2003, 04:37 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Hmmm, yes...It requires RAID. I forgot there were no numbers after hd?s... DualAMD, could you write more? Do you want to make a partition bigger? Or the whole disk?
 
Old 01-11-2003, 05:31 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
tried just taping two drives together? i find bandaids work best!
 
Old 01-11-2003, 05:54 PM   #8
DualAMD
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Original Poster
Rep: Reputation: 0
ok sorry for the little information about what i want.

What i want is my 60 gig hardrive split into partitions then i want the extra memory put on my other hardrive so when viewed it look like i have a 40 gig split into to partitions and one whole 50 gig hardrive

one linux partition about 10 gigs
then i want a 30 gig file partition
then i want the rest of the memory to allocate to my other hard drive so it look somethng like this

old config
hda 60 gig linux partition ( linux os is on this drive )
hdb 20 ext3 file partition ( for file storing, just brought )

new config
hda1 10 gigs linux partition ( just for the os )
hda2 30 gigs ext3 file partition ( misc files { pdfs, kernel suorces, and so on } )
hdb1 50 gigs ext partition ( for everything else { movies and games)

i want to split the 60 into 10 gig, 30 gig, and 30 gig
then i want to take the extra 30 gig and paste it onto the extra harddrive so when viewed in linux it's look like there is a 10 prim partition and a 30 gig exten on hda and 50 gig on hdb
so in a sence it's like making a harddrive bigger
and another shorter

sorry if I can't product a good image for ya'll

oh yeah i should use bandaids if the partitoning don't work :-)
peace
 
Old 01-11-2003, 10:15 PM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
You need to learn about LVM (Logical Volume Management) and
RAID. You can't do this otherwise. Physical disks are physically
seperate from each other => difficult to go from the end of one to
the beginning of the other smoothly and w/o errors. I'm not even
sure you can do exactly what you are asking with LVM, but I'm
still waiting for the 1TB of disk space to arrive at work so I can muck
around with it. . .
 
Old 01-12-2003, 11:32 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
Originally posted by DualAMD

old config
hda 60 gig linux partition ( linux os is on this drive )
hdb 20 ext3 file partition ( for file storing, just brought )
Sum=80GB
Quote:
new config
hda1 10 gigs linux partition ( just for the os )
hda2 30 gigs ext3 file partition ( misc files { pdfs, kernel suorces, and so on } )
hdb1 50 gigs ext partition ( for everything else { movies and games)
Sum2=90GB

So I still don't understand...Maybe you can do this just partitioning everything the right way, but I can't tell you without correct numbers.
 
Old 01-12-2003, 12:07 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,812

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Like everyone else posted you can partition the drvie any way you want and configure the mount points any way you want.

What you want is disk stripping or RAID 0. W2k has disk stripping build in to the kernel. However, I believe the disks need to be the same size. Don't know if linux has the same thing. If you have a IDE or SCSI RAID controller it wll probably have RAID 0 support.
 
Old 01-12-2003, 01:37 PM   #12
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Why do you want to make a 40 gig drive a 30? If the second drive is 20 gig, you can't make it 30.
 
Old 01-14-2003, 07:04 PM   #13
DualAMD
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Well edward78..... I have a 20 gig hard drive that is fulled with alot of stuff that i want ( anime, games iso { back-up and free games } blah, blah, blah ) and my 60 gig hard drive is linux :-p with the os, files, and alot of anime and stuff that " I " think shouldn't be on that hard drive. Oh yeah, my 60 gig linux hard drive is " ALMOST FULL ". It's beyond the 30 gig point and linux isn't taking up that space :-p so what i want to do ( as MENTIONED in my later post ) is to partition and move space so I can " KEEP " all my stuff ( if it possible ) but if it isn't then i'm have to go out and buy another hard drive ( which isn't what i want to do ).

P.S. Edward78 it isn't 40 to 30 you have to " READ " what i wrote.

P.S.S thank you all i have read up on raiding and i'm going to try this stuff out. Hope i don't kill anything :-( i don't have any back up tape drives left :-(

P.S.S.S my adding wasn't right :-) my bad.

it's 10, 20, 50.

were my 10 is linux 20 is linux stuff and 50 is the other stuff so if i ever have to install linux again I won't have to format everthing importent to me.
 
  


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




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