On 09/05 09:12 , Ed Burgstaler wrote: > I am currently using a 40Gg HD with LVM and I'm running out of space. > > Can anyone tell me how I can go about adding a new 300Gg HD to CentOS4 to > expand my BackupPC data storage? > > Appreciate a step by step if not to much to ask. I'm not a Linux expert yet. > :)
assuming this is an IDE drive, and it will be attached as the slave device on the second IDE controller (better to have the two disks on separate controllers, to cut down on bus contention): # fdisk /dev/hdd p <list your partitions> d <delete any old partitions... you may be prompted for which to delete, if there are several.. repeat this step to delete all of them> n <make a new partition. just make it take up the entire disk. the partition should default to type 'linux'> p <check your partition table, type '?' if you want to do more> w <write & quit the partition editor> # reboot <not strictly necessary most of the time, but it doesn't hurt, may save you trouble, and is easier than explaining what to watch out for> <after logging in again>: pvcreate /dev/hdd vgextend <your volume group name> /dev/hdd you will now have more space to extend the size of your logical volume, and then the filesystem upon that volume. what to do here, depends on what type of filesystem you're using, and what your partition scheme currently looks like. I hope you put /var/lib/backupppc on its own partition, because it makes thing much more pleasant and trustworthy. :) -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
