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

Notices


Reply
  Search this Thread
Old 01-25-2006, 07:24 PM   #1
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Rep: Reputation: 15
Adding another disk


I have three SCSI disks that I would like to use with Slackware. I have one 18GB drive that I just installed Slackware on. I also have two smaller drives that I would like to add on to be extra space. How would I go about doing this?
 
Old 01-25-2006, 07:33 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Edit /etc/fstab, and create the filesystem mount points.
 
Old 01-26-2006, 02:05 PM   #3
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
I just added a primary partition on the extra disk, then added it to fstab with a mount point being / and it doesn't appear to have worked when I do a df -h to see my diskspace available. Should I have made it an extended partition instead of a primary?? What is the difference between an extended and primary partition anyways?
 
Old 01-26-2006, 03:01 PM   #4
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
the usual line is that you should have no more that 4 primary partions. Windows and dos install only on primary partitions. Extended partitions are made on primary partion( on my last primary) to allow more than for 4 partions. Linux can install to any of these as well as to a primary partition. Many install guides discuss this matter extensively. See LinuxQuestions.org>LinuxAnswers>Hardware>A short guide on partitioning a hd for linux and one on scsi raid.
someone using scsi disks can help with them or use google-slacware on scsi disks for example.
 
Old 01-26-2006, 03:25 PM   #5
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
I changed it to where it now mounts the /dev/sdb1 on /home and it works fine. How can I just get the new drive to be an extension of / so that I can just use them together, basically as just one drive?
 
Old 01-26-2006, 03:47 PM   #6
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
Quote:
Originally Posted by JSLayton
I changed it to where it now mounts the /dev/sdb1 on /home and it works fine. How can I just get the new drive to be an extension of / so that I can just use them together, basically as just one drive?
Hmm.. I don't think you can split the root file system in the way you are proposing. You can place specific pieces of it on different partitions and different disks (i.e. /home on one disk, /tmp on another etc., but not / after you have done the initial installation). The reason being is that I believe / needs a single mount point. I don't think you can get any mount point to stretch over two partitions... unless you're doing some type of raid set up, but I have no experience with that... hence my limited knowledge on the subject.

What I would do if I were you is pick sections of root filesystem you'd like to move, (i.e. again, /home, /tmp, etc.) and create new mount points for those in your fstab file. (I wouldn't know how to go about deleting the originals, and personally I'd backup my home data, xorg.conf file, kernel, etc. and do a fresh install making the new mount points.)

What you're talking about is similar to RAID striping, so you might want to try searching for information on that topic.

If you decide on the fresh install route I found a link that might help make your backup migration easier... I haven't read the whole thing though:

http://www.faqs.org/docs/Linux-mini/...k-Upgrade.html

Last edited by kriton12; 01-26-2006 at 03:51 PM.
 
Old 01-26-2006, 04:18 PM   #7
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
Excellent. That's exactly what I needed to know. Thanks.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding and using another hard disk Greebstreebling Linux - Hardware 5 12-21-2005 02:19 PM
adding new hard disk jkmartha Linux - Newbie 3 08-19-2005 01:09 AM
Adding a disk to a volume njdownes Linux - Hardware 2 03-14-2005 05:05 AM
adding a new disk vressue Linux - Hardware 2 12-04-2003 01:27 PM
Adding a hard disk mastahnke Linux - Hardware 15 11-27-2002 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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