LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-27-2005, 07:48 AM   #1
gblasius
LQ Newbie
 
Registered: Sep 2005
Location: UK
Distribution: Suse, Debian, KnoppMyth
Posts: 20

Rep: Reputation: 0
Partitions with 2 Hard Drives


So - I've successfully installed Suse Linux v9.3, and was also able to configure Samba server so my Windows box can see the FS. Hurrah! However, further question ( I have an old i386 which I have rescued to use as a FS for my families' two laptops).

I installed a second hard drive (80G Maxtor) alongside the 20G Maxtor in the box before installing Linux. WHen installing, YAST suggested 2 partitions, which I accepted - 1) 1 G +/- Swap Partition, and the rest a root partition. Now, when I run the partition tool in YAST,it sees the second harddrive, but labels it as extended. When I attempt to view diskspace, utility only 'sees' the 20G drive.

A) Is this ok? Will the second hard drive 'kick in'once the first drive fills up? I will rapidly fill up the 20G HD once I begin backing up files, downloading MP3s, etc.
B) Is this ideal? Something tells me that maybe I should just buy a second 80G HD, as they are cheap as chips.
C) Lastly, any partitioning advice? My Linux friends tell me that two partitions are usually enough, and that I shouldn't fiddle with things.
 
Old 09-27-2005, 08:09 AM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Me? What I'd do here is install on the 20g. Setup the 80g as ext3 (readable by all distros) /mnt/data partition. Share that in Samba. If you ever want to replace the distro, do not format /mnt/data, but have it setup in /etc/fstab. All data is retained.

hda
/ - 10g
swap - 512m, your choice
/home remainder.

Use second drive for data storage.

Last edited by -X-; 09-27-2005 at 08:11 AM.
 
Old 09-27-2005, 08:33 AM   #3
gblasius
LQ Newbie
 
Registered: Sep 2005
Location: UK
Distribution: Suse, Debian, KnoppMyth
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks

Hi - many thanks for your quick response. Regarding my current disk setup, does 'extended' mean it would look like the same virtual disk as hda? Why wouldn't my diskspace utility see the second drive? You say to use the second drave as Samba; that makes a lot of sense - what is the difference between /home and /data? Lastly, can I have two different formats on the two disks? I believe the 20G is setup as reiser.

Sorry for all the basic questions, am trying to learn on the fly!
 
Old 09-27-2005, 09:02 AM   #4
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
does 'extended' mean it would look like the same virtual disk as hda?
- Not sure about YAST, depending how you setup. With my setup, don't use LVM.

what is the difference between /home and /data?
- /home is, well... the /home partition.... user's settings. Keeping /home seperate from / will let you keep those settings if you change the distro. Just reformat and install the distro in /, which both (/ and /home) will be on hda. Don't reformat /home, just add it to the mount settings in /etc/fstab which the install should do. Keeping /data on the second hd(?) allows you to keep this data incase of the above... or move the drive another box if needed, or replace hda.

You can have as many different formats as you have partitions, as each partition is seperate.

Just setup the disks, hda and hd(?) through the installer seperate... without LVM.
 
Old 09-27-2005, 09:17 AM   #5
gblasius
LQ Newbie
 
Registered: Sep 2005
Location: UK
Distribution: Suse, Debian, KnoppMyth
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks.

X1 - thanks alot! I'll try your suggestions tonight. Will revert tomorrow with any questions/problems.
Wish me luck!
 
Old 09-27-2005, 09:33 AM   #6
gblasius
LQ Newbie
 
Registered: Sep 2005
Location: UK
Distribution: Suse, Debian, KnoppMyth
Posts: 20

Original Poster
Rep: Reputation: 0
X1- one more question - more on partition than my specific circumstances: Under your suggestion (hda1 - 10G /, hda 2 - 1 Mg Partition, hda3 - (rest) /home, hdb1 /data) - where do the other directories go (eg, /bin, /etc. etc. etc)?
Sorry for the basic questions and thanks again.
 
Old 09-27-2005, 09:40 AM   #7
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
hda3 - (rest) /home, hdb1 /data)
- Note, hdb1 and data will not be on hda3, but on the second hd. hda3 will only have /home

All other directories will be installed in / on hda1. When you do a "ls -l /", you won't see any difference. Even /home will show up, even though it's on a different partition.

Linux installers are smart enough to know what to do.
 
  


Reply



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
Hard Drives / Partitions? ctroyp Linux - Newbie 5 10-26-2005 02:50 PM
new partitions on new hard drives Sticktendo Linux - Newbie 18 01-01-2005 04:16 AM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
Cloning Hard Drives and Partitions! an alternative to Norton ghost thebover Linux - Software 3 08-18-2004 03:40 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 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
Open Source Consulting | Domain Registration