LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-22-2005, 08:12 PM   #1
Don Powell
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
increasing partition size


My company has a Red Hat webserver but the consultant who created it bailed on us a couple of years ago. Last week, we were unable to make changes to our website (it uses Zope). In looking at the partitions we saw that the main partition was 98% full. In an attempt to gain space we used Ghost 2003 and ghosted to an identical drive but decreased the size of an unused partition (/user) and made the main partition larger. After rebooting to the other drive Linux appears to come up fine, all partitions mounted and we can see the size changes refelected there. However, the drive just sits there with the hard drive light churning away and our website never comes up.

If we wait long enough will Linux finish whatever it's doing? Our ISP tells us that Linux uses "magic pointers" and that we can't just change partition sizes this way. Is that correct and, if so, is there a way to change partitions without reinstalling from scratch?
 
Old 06-22-2005, 08:32 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Any partitioning sofware that you use would also have to know the filesystem type and shrink that accordingly. If Ghost2003 just shrank the partition and left the filesystem untouched you will have problems.

What filesystem do you use?

The procedures for shrinking a partition with a reiser filesystem on it woulid be:
use resize_reiserfs to shring the filesystem.
Use a partition tool to shrink the paritiion to the same size as the filesystem.

Also take a look at the 'parted' command if you have it installed. It can resize paritions and filesystems for you.

I avoid these problem by using the lvm. (logical volume manager)
 
Old 06-23-2005, 05:24 AM   #3
Don Powell
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Is the Logical Volume Manager a builtin utility?

Sorry, I'm obviously a newbie
 
Old 06-23-2005, 09:14 AM   #4
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
It depends on your distro and version. Try running the programs: 'pvdisplay' or 'vgdisplay'. If they are installed then you've likely also have kernel support for it as well.

Here is a link to the LVM howto:

http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

Keep in mind that while the LVM makes disk partition admin very easy, it can be a headache to restore data from a failed disk or swapping disks between machines.
 
  


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
FC3 root partition size not increasing abhigo Fedora 6 01-29-2005 11:33 AM
Increasing Size of Primary Windows Partition Using Parted overthinker Linux - Newbie 6 01-01-2005 09:56 AM
Increasing Size of Primary Windows Partition Using Parted overthinker Linux - Software 2 12-31-2004 12:49 PM
Increasing partition size?? petey *BSD 5 04-25-2002 07:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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