Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another LVM question



 We've had a recent discussion on partitions and file systems and a 
couple of LVM questions.  I currently have a new computer that came 
configured with Centos5 preinstalled with partitions layed out (160GB 
SATA): 
/bin/sda1 ext3 /boot 
/bin/sda2 ext3 / 
/bin/sda3 swap 
/bin/sda4 Extended 
/bin/sda5 ext 3 /home 

What I was thinking of doing was to blow away /bin/sda3,4 and 5, and 
create a volume group with a couple of logical volumes. An alternative 
would be to backup the root file system, and simply create /dev/sda2 as 
LVM.  I also will have a 120GB USB drive from my old computer to use 
to backup /home once I remove it from my old system.  I don't recall 
the specific sizes of the partitions off hand. But, I think my logical 
choices are: 
1. Just leave everything as it is. 
2. Leave root in sda2 and set everything else as LVM ** This is my 
preferred choice 
3. Leave root and swap alone, set up sda4 as LVM. 
4. Move everything to LVM.  Here there are 2 methods. 
The first is stepwise - do option 2, then create root in a logical 
volume, update Grub, then once that is done, I can manually shrink 
sda2. The second is backing up root to a USB drive, run a CENTOS 
rescue, create the LVM, then restore root into the appropriate logical 
volume. 

I certainly have a few more choices. With option 2, I could move /var 
and /tmp into a logical volume and physically shrink root down, but I 
would still need to leave room for updates and new software. 

-- 
-- 
Jerry Feldman <[hidden email]> 
Boston Linux and Unix 
PGP key id: 537C5846 
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846 
_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org