Thanks Carl

I'll give that a try. 
You say "I hope you put /var/lib/backupppc on its own partition, because it
makes thing much more pleasant and trustworthy" but I have not done that.
How would I do that? Everything I have is the defaults.
This is what I have on a similar server:

[EMAIL PROTECTED] ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      52638268  10658292  39306108  22% /
[EMAIL PROTECTED] ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl
Wilhelm Soderstrom
Sent: Tuesday, September 06, 2005 1:02 PM
To: [email protected]
Subject: Re: [BackupPC-users] Adding a 300Gig HD to BackupPC on CentOS4

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/



-------------------------------------------------------
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/

Reply via email to