Index: [Article Count Order] [Thread]

Date:  Fri, 02 Nov 2007 09:52:19 +0000
From:  Dogsbody <dan (at mark) dogsbody.org>
Subject:  [coba-e:11058] Re: Changing partition size
To:  coba-e (at mark) bluequartz.org
Message-Id:  <472AF353.3000706 (at mark) dogsbody.org>
In-Reply-To:  <683F5FB5E2C08E4A8FE8D499A890A3EA037375 (at mark) mainserver.mainline.local>
References:  <683F5FB5E2C08E4A8FE8D499A890A3EA03736B (at mark) mainserver.mainline.local> <472A0C93.5040209 (at mark) dogsbody.org> <683F5FB5E2C08E4A8FE8D499A890A3EA037375 (at mark) mainserver.mainline.local>
X-Mail-Count: 11058


> Just out of interest (I'm not going to try it) ... how do I
> grow/shrink/move partitions?
> 
> If for example I just stuck another pair of mirrored drives in for the
> /home partition then how do I tell CentOS/BQ?

Depends if your using RAID or not.  I can't answer you of you are as I 
am still learning this myself however of you aren't and your using a 
later build of the CentOS/BQ CD then you should be using LVM.  You can 
read the HOW-TOS at http://tldp.org/HOWTO/LVM-HOWTO/

For example, if your just adding space to a non-system partition you can 
simply do this...

     * lvextend -L400G /dev/VolGroup00/LogVol06
     * umount /backup
     * e2fsck -f /dev/mapper/VolGroup00-LogVol06
     * resize2fs -p /dev/mapper/VolGroup00-LogVol06
     * mount /backup


Dan