My suggestion, in the future, would be to consider creating the partition under 
Linux Logical Volume Manager (LVM). What LVM does is to create a pool of small 
chunks of the hard drive ("extents") that can be added and removed from a given 
filesystem. In the case of additions, in many cases (such as with ReiserFS), 
this can be done "on the fly."

For instance, in my case. my backup partition is /var/lib/backuppc, the 
"physical" (LVM) partition is /dev/vg00/backup. For me to extend the partition 
by 40GB would require the following two commands:

lvextend -L+40G /dev/vg00/backup
resize_reiserfs /dev/vg00/backup

Since the partition doesn't have to be unmounted, activity on the partition is 
not affected by these commands. I have a PVR on my workstation, and was 
recording a movie once, and had to extend the partition. It did not affect 
recording.

HTH,
--b


----- Original Message -----
From: Troy Piggins <[EMAIL PROTECTED]>
To: BackupPC List <backuppc-users@lists.sourceforge.net>
Sent: Wednesday, February 14, 2007 7:37:38 AM GMT-0500 US/Eastern
Subject: [BackupPC-users] out of disk space - big oops

By default my backuppc is backing up to
/var/lib/backuppc/pc/localhost for example.  I back up only 2
machines - localhost (Ubuntu linux) via tar and a WindowsXP via smb.

All was going well until I added some dirs from the Windows
machine, the backup jumped to about 40Gb and has filled the disk.

I only have 1.5Mb free space on drive /var is mounted on.  Unless
you've done this before, you have no idea how hard it is to do
things with no spare space.

As I type this I am 
'cp -a /var/lib/backuppc/pc/windows /mnt/hda4' to get windows off
to another partition.  Then I'll 'sudo rm -rf
/var/lib/backuppc/pc/windows' to free the space.

My questions:

- is there a better way to migrate in future?
- is there a way to tell backuppc to store backups somewhere
  else?  or should I just mount another partition to
  /var/lib/backuppc/pc or similar?

Any recommendations?

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to