Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-28-2004, 01:29 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Auburn , IN
Distribution: Red hat 7.2/7.3
Posts: 10

Rep: Reputation: 0
Upgrading HD Volume

Hello all!
I am strugling with a "basic" question that I can not seem to find an answer to in the fourms or faqs. I have a 4G ext3 volume labeled as /ftp on a RH 7.3 box that I am going to be upgrading to a larger volume. I have files backed up and am ready to physcally install the new 100G drive. Are there any config files I need to modify (like etc/fstab?) for this new volume to mount and be used, or just install the drive - FDISK and mkfs as same volume name (/dev/hsc /ftp).
Old 09-28-2004, 02:06 PM   #2
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
No need to change anything in fstab as long as the new drive is connected exactly the same as the old one and both are the same type (IDE, SCSI)
Old 09-28-2004, 03:06 PM   #3
LQ Newbie
Registered: Feb 2003
Location: Auburn , IN
Distribution: Red hat 7.2/7.3
Posts: 10

Original Poster
Rep: Reputation: 0
Even same master drive on 2nd IDE Channel on MB. Oki doki....Will Continue with HD upgrade...
Thanks for the info!
Old 09-28-2004, 03:18 PM   #4
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
It depends on whether or not you are saying that you've got a 4G drive that is entirely allocated to be the /ftp directory, or if you've got a drive with multiple partitions, one of which is 4G in size and is being allocated to /ftp.

If it's the former, then No, there shouldn't be any fstab changes necessary because you are merely replacing the existing hard drive with one with more capacity. All other things, including the device and partition names would remain the same, and thus, your existing entry for /ftp in the fstab file will remain valid. To illustrate, if your /ftp directory existed on a 4G drive that was located in the primary slave position, then your ftsab would contain a line roughly similar to the following
/dev/hdb1  /ftp   ext3  defaults  1 2
If it's the latter case however, then what you really are doing is relocating the /ftp directory from one device/partition to another. In this scenario, your existing fstab would need to be updated, in order to correctly specify which partition on which physical device the /ftp directory now exists on. To illustrate, if your existing /ftp directory corresponded to the third partition of your primary slave (ie, /dev/hdb3) and with this new drive you were going to allocate all 100G as a single partition and install the drive in the secondary slave position (ie, /dev/hdd1) then naturally you would need to modify your /ftp entry in fstab to now start using /dev/hdd1 instead of the existing /dev/hdb3.

To illustrate this concept, the "before and after" versions of the /ftp entry would look something like this
/dev/hdb3  /ftp   ext3  defaults  1 2
/dev/hdd1  /ftp   ext3   defaults 1 2
Again, because /ftp now resides on a different device/partition, the fstab entry would need to be updated.

Finally, at risk of telling you something you already know, for reference:

/dev/hda = primary master
/dev/hdb = primary slave
/dev/hdc = secondary master
/dev/hdd = secondary slave

Hopefully this makes sense. Good luck with it -- J.W.


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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
program volume rather than system volume Moebius Linux - Software 6 11-05-2004 09:57 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 09:11 PM
Volume davez530 Linux - Newbie 2 04-27-2003 11:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration