Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Rob Beard wrote: > Mark Allison wrote: >>> I'm creating an ext3 filesystem with a block size of 1024. Hopefully >>> the smaller block size will reduce wastage as I have lots of small >>> files. Thanks for your time. Will let you know tomorrow how this one >>> works out. >>> >> Yay! Using a 1024 byte block size on ext3 worked! I still don't >> understand why the original config didn't work. Oh well thanks for >> your help. >> > > That's good. I can't remember which distro it was that has the option > to set block sizes depending on what each filesystem will contain such > as big files, small files, a mixture of the two etc. > > Rob > > Debian (and, I think, ubuntu alternate and server installs) Sam -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Mark Allison wrote: >> I'm creating an ext3 filesystem with a block size of 1024. Hopefully >> the smaller block size will reduce wastage as I have lots of small >> files. Thanks for your time. Will let you know tomorrow how this one >> works out. >> > > Yay! Using a 1024 byte block size on ext3 worked! I still don't > understand why the original config didn't work. Oh well thanks for > your help. > That's good. I can't remember which distro it was that has the option to set block sizes depending on what each filesystem will contain such as big files, small files, a mixture of the two etc. Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
> I'm creating an ext3 filesystem with a block size of 1024. Hopefully > the smaller block size will reduce wastage as I have lots of small > files. Thanks for your time. Will let you know tomorrow how this one > works out. > Yay! Using a 1024 byte block size on ext3 worked! I still don't understand why the original config didn't work. Oh well thanks for your help. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
> Now that is strange. I'd expect it if they were different block sizes, > and possibly if they were different file systems but not if they're the > same filesystem. > > I'm stumped for ideas. Have you tried backing up to an ext3 filesystem? > I'm creating an ext3 filesystem with a block size of 1024. Hopefully the smaller block size will reduce wastage as I have lots of small files. Thanks for your time. Will let you know tomorrow how this one works out. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Mark Allison wrote: >> They've got both the same block size? > > The LVM: >> /sbin/debugreiserfs /dev/mapper/backupvg-backuplv | grep Blocksize > debugreiserfs 3.6.19 (2003 www.namesys.com) > > Blocksize: 4096 > > > The original (source) partition: >> /sbin/debugreiserfs /dev/sdc1 | grep Blocksize > debugreiserfs 3.6.19 (2003 www.namesys.com) > > Blocksize: 4096 > Now that is strange. I'd expect it if they were different block sizes, and possibly if they were different file systems but not if they're the same filesystem. I'm stumped for ideas. Have you tried backing up to an ext3 filesystem? Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
> They've got both the same block size? The LVM: > /sbin/debugreiserfs /dev/mapper/backupvg-backuplv | grep Blocksize debugreiserfs 3.6.19 (2003 www.namesys.com) Blocksize: 4096 The original (source) partition: > /sbin/debugreiserfs /dev/sdc1 | grep Blocksize debugreiserfs 3.6.19 (2003 www.namesys.com) Blocksize: 4096 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Mark Allison wrote: >> I don't know about Reiser, but on other file systems you can specifiy >> the block/cluster size, if this isn't the same on both of your >> filesystems, then there would be more slack space on the destination, >> which would have the effect you're seeing... > > That's the thing. Both filesystems are exactly the same. Why is it > using more space? Is it something to do with the way LVM allocates > space? This is driving me nuts... > They've got both the same block size? Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
> I don't know about Reiser, but on other file systems you can specifiy > the block/cluster size, if this isn't the same on both of your > filesystems, then there would be more slack space on the destination, > which would have the effect you're seeing... That's the thing. Both filesystems are exactly the same. Why is it using more space? Is it something to do with the way LVM allocates space? This is driving me nuts... -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
>> I had this a couple of years back on a Linux backup server which I used >> to copy PC backups to. Turns out it was because it was full of little >> files they took up lots of room. Not sure if you have lots of smaller >> files on your disc that could be doing this. Could you try tarring >> everything into one big tar file to see if it does the same thing? >> > > Thanks for the reply. I tried your suggestion to see what would happen > and indeed creating a tar file seems to work fine and creates a tar > file with almost the exact same amount of space as the source drive. I > don't understand why lots of files in a reiser3 filesystem taking up > 436G space end up taking up lots more space (> 530G) when copied to > another reiser3 filesystem. Unfortunately the files in tar format are > not much use to me. > > Is there any way I can copy the files over? Why is more space required? I don't know about Reiser, but on other file systems you can specifiy the block/cluster size, if this isn't the same on both of your filesystems, then there would be more slack space on the destination, which would have the effect you're seeing... -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
> I had this a couple of years back on a Linux backup server which I used > to copy PC backups to. Turns out it was because it was full of little > files they took up lots of room. Not sure if you have lots of smaller > files on your disc that could be doing this. Could you try tarring > everything into one big tar file to see if it does the same thing? Thanks for the reply. I tried your suggestion to see what would happen and indeed creating a tar file seems to work fine and creates a tar file with almost the exact same amount of space as the source drive. I don't understand why lots of files in a reiser3 filesystem taking up 436G space end up taking up lots more space (> 530G) when copied to another reiser3 filesystem. Unfortunately the files in tar format are not much use to me. Is there any way I can copy the files over? Why is more space required? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
Re: [ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Mark Allison wrote: > Hi there, > > I have a frustrating issue. > I am trying to copy all files from /var/lib/backuppc_old to > /var/lib/backuppc. When I copy the files, the /var/lib/backuppc > partition always fills up although it is 100GB bigger. I don't > understand why. /var/lib/backuppc_old is resierfs 3.6.19 set at > defaults when created. /var/lib/backuppc is an LVM partition and I > have tried creating ext3, reiser3 and xfs on the logical volume - but > they all fill up before the copy is complete. > > Can anyone explain what's going on? I've spent hours and hours and > hours on this problem. > I had this a couple of years back on a Linux backup server which I used to copy PC backups to. Turns out it was because it was full of little files they took up lots of room. Not sure if you have lots of smaller files on your disc that could be doing this. Could you try tarring everything into one big tar file to see if it does the same thing? Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/
[ubuntu-uk] Copying files from a reiser3 partition to LVM problem
Hi there, I have a frustrating issue. I have three disks in my Ubuntu 8.04 home server configured as follows: > df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 7.8G 2.5G 5.1G 33% / /dev/sdc1 466G 436G 31G 94% /var/lib/backuppc_old /dev/mapper/backupvg-backuplv 531G 531G 20K 100% /var/lib/backuppc > mount /dev/sda2 on / type ext3 (rw,errors=remount-ro) /dev/sdc1 on /var/lib/backuppc_old type reiserfs (rw) /dev/mapper/backupvg-backuplv on /var/lib/backuppc type xfs (rw) I am trying to copy all files from /var/lib/backuppc_old to /var/lib/backuppc. When I copy the files, the /var/lib/backuppc partition always fills up although it is 100GB bigger. I don't understand why. /var/lib/backuppc_old is resierfs 3.6.19 set at defaults when created. /var/lib/backuppc is an LVM partition and I have tried creating ext3, reiser3 and xfs on the logical volume - but they all fill up before the copy is complete. Can anyone explain what's going on? I've spent hours and hours and hours on this problem. Thanks, Mark. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.org/UKTeam/