LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-01-2008, 04:31 AM   #1
arnoversfeld
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
Unhappy Upgrading to larger hard disks - How do I set about it.


I run RedHat Enterprise Server with the operating system installed on mirrored disks (hardware mirroring) and the data on a raid system giving me 380 Gig but I now want to upgrade the raid system to 1.4 TB.

I also run Fedora 8 which has two SATA disks, one 80 Gig (with operating system) and the other 500 Gig (data). Currently I use rsync to update the data from the RedHat 380 Gig to the Fedora 500 Gig. I need to increase the size of the disk on the fedora machine to match that of the RedHat machine.

RedHat.
I am uncertain of the steps I need to follow to accomplish what I want to do. I have the following in mind:
1. Backup (to tape) what is on the 380 Gig raid.
2. Unmount the raid system (I have the device and mount point).
3. Install the larger disk and set up the hardware raid.
4. Mount the raid system using the device and mount point in (2) above.
5. MUST I FORMAT THE RAID AT THIS POINT (AS WOULD HAPPEN IN THE INSTALL PROCESS) ? (HOW ?)
6. Restore (from tape) the data backed up.

Fedora. What steps should be followed for this machine to move to a larger disks or perhaps just add disks for the data.
 
Old 05-01-2008, 10:30 AM   #2
lukost
Member
 
Registered: Apr 2008
Location: Gliwice, Poland
Distribution: Any. BSD most often ;-)
Posts: 31

Rep: Reputation: 15
Hi. It seems you have to format the filesystem. More you have to label the new drive first. So the steps are:

fdisk /dev/<raid device>
press 'p' to print the data
press 'n' to create new partition
press 'w' to write the data to the harddrive
press 'q' to quit.

'h' stands for 'help' ;-)

The problem with fdisk is that it's rather user-unfriendly and (secondly) it can't create a partition larger than 2TB
There is a program called 'cfdisk' which acts like fdisk but has nicer user interface.
The only software I know that creates partitions larger than 2tb is 'parted' or 'gparted' for its gui version.

Now you have to format the partition.

For ext3 partition use:
mkfs.ext3 /dev/<partition device>

For jfs partition use:
mkfs.jfs /dev/<partition device>

ext3 is a standard partition format used in linux.
jfs is much more robust and has almost every feature that ext3 does. You may want to read about the differences, pros and cons. There are some articles on the web.

There is also xfs filesystem worth mentioning. It also performs better than ext3, especially in case of really large files.

cheers,
lukost
 
Old 05-01-2008, 11:49 AM   #3
arnoversfeld
LQ Newbie
 
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
lukost, thanks a million !
Išll follow the process and let you know the results.
 
Old 06-14-2008, 10:42 AM   #4
arnoversfeld
LQ Newbie
 
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Hi lukost.
I eventually got around to attempting to execute the process as you described it. I didn't get past the "umount".

I typed "umount /db4" and got a reply of
"umount: /db4: device is busy"
"umount: /db4: device is busy".

Then I tried "umount -f /db4" and got a reply of
"umount2: Device or resource busy"
"umount: /db4: device is busy"

I've tried stopping a whole lot of services and killed processes that were left when folk didn't log out but the umount produces the same result.
Any suggestions ?

I also tried the umount on the Fedora machine's 500gig disk.
The umount is executed but when I reboot the machine a find that the "umount"ed disk is mounted. Is this normal ? I rebooted expecting to see that the 500gig disk was no longer available.

Last edited by arnoversfeld; 07-17-2008 at 09:37 AM.
 
  


Reply

Tags
diskspace, upgrade


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
Larger Hard drive andy1974 Linux - Hardware 6 03-08-2008 02:23 PM
moving to larger hard drive - having problems PAB Linux - Newbie 8 01-26-2008 10:28 AM
Can I use larger hard drives? JosephS Linux - Hardware 6 08-16-2007 08:23 AM
Migrating to larger hard drive SlowCoder Linux - General 7 05-20-2007 04:08 AM
Upgrading to a larger drive madcrutch Linux - Software 3 04-30-2002 02:19 AM


All times are GMT -5. The time now is 09:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration