Re: [BackupPC-users] External WD Worldbook Device
I did finally get around to hacking my drive and enabling NFS. I can now mount it as NFS and backuppc is now working again :) However, there might still be something wrong with my setup. I am running Mandriva 2009.0 and installed backuppc from the Mandriva respostiory. I updated the config.pl file and one of the things that I did change was the TopDir parameter, which I set to /backups My backups are currently going to /backups/pc/, where is the host that I am backing up. I was re-reading the email below about the pool files and I didn't see anything under /backups/cpool or /backups/pool. On further investigation I do see files/directories under /var/lib/backuppc/cpool. By changing the TopDir parameter in the config.pl file have I messed anything up ? Backups seem to be working (very slowly), but they are working. I am assuming that this is ok but not sure. Under /var/lib/backuppc/cpool are directories like 0/ 1/ 2/ 3/, etc but when I drill down into some of these directories I don't see any files. Would appreciate some help. David Williams -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 26, 2009 2:01 PM To: dwilli...@dtw-consulting.com; General list for user discussion, questions and support Subject: Re: [BackupPC-users] External WD Worldbook Device David Williams wrote: Les, I believe that under the Mandriva package we are allowed to change the TopDir and it is in the config.pl file. That's not likely. When you install from source, the configuration process modifies the code, embedding this location elsewhere. If you don't re-run that process it won't be right. When I originally started Backuppc it was complaining that it could not create a hardlink under /backups/pc/ and /backups/cpool. It wasn't looking at /var/lib/backuppc. Even with version 3.0 I had TopDir set to /backups and backups were being created under /backups. The test in 3.1 was added to catch this kind of mistake. Perhaps it has been 'failing', but I had valid backups that I have restored from. Whether it was wasting space I don't know, perhaps it was. Also, even though I cannot currently do backups I can restore from existing backups and the restore is coming from /backups. Based upon that I would say that the Mandriva package allows the change of the TopDir. If pooling had ever worked you should have a large tree of files with long hash codes for names under the pool or cpool directory. Does 'ls -lR' or 'find' show them? Backups are stored under the appropriate pc directories in any case, but the pooling that eliminates duplicate copies can only work when the hardlinks succeed. If you do have pooled files (and ls -l should show link counts 1), then there must be something different about the mount options on the new system. -- Les Mikesell lesmikes...@gmail.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.49/2149 - Release Date: 06/01/09 17:55:00 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: I did finally get around to hacking my drive and enabling NFS. I can now mount it as NFS and backuppc is now working again :) However, there might still be something wrong with my setup. I am running Mandriva 2009.0 and installed backuppc from the Mandriva respostiory. I updated the config.pl file and one of the things that I did change was the TopDir parameter, which I set to /backups My backups are currently going to /backups/pc/, where is the host that I am backing up. I was re-reading the email below about the pool files and I didn't see anything under /backups/cpool or /backups/pool. On further investigation I do see files/directories under /var/lib/backuppc/cpool. By changing the TopDir parameter in the config.pl file have I messed anything up ? Backups seem to be working (very slowly), but they are working. I am assuming that this is ok but not sure. Under /var/lib/backuppc/cpool are directories like 0/ 1/ 2/ 3/, etc but when I drill down into some of these directories I don't see any files. Would appreciate some help. If you installed from scratch from the sourceforge tarball you would be able to change the storage location, but the location is embedded in the code during the install process. If you are using a version packaged for a distribution, this step has already been done and you can't change it with just the TopDir setting. You really need to mount the disk at /var/lib/backuppc (copy everything that needs to be there first). You'll probably also need to mount the disk async to get any performance. -- Les Mikesell lesmikes...@gmail.com -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
If you installed from scratch from the sourceforge tarball you would be able to change the storage location, but the location is embedded in the code during the install process. If you are using a version packaged for a distribution, this step has already been done and you can't change it with just the TopDir setting. You really need to mount the disk at /var/lib/backuppc (copy everything that needs to be there first). You'll probably also need to mount the disk async to get any performance. Les, thanks for the info. Can you just give me a little more info in regards to what you mean about copy everything that needs to be there first. If mount my drive from the current location (/backups) to /var/lib/backuppc then won't everything that is currently in /backups be where /var/lib/backuppc is now ? Do you mean to copy whatever is currently in /var/lib/backuppc to /backups first, and then mount the drive at /var/lib/backuppc ? I current mount the NFS drive as follows: backupdevice1:/shares/internal/PUBLIC /backups nfs rsize=8192,wsize=8192,nosuid,soft 0 0 I took a look at the options and there is no async option, just a sync option. According to the info sync does the following: All I/O to the file system should be done synchronously. -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: If you installed from scratch from the sourceforge tarball you would be able to change the storage location, but the location is embedded in the code during the install process. If you are using a version packaged for a distribution, this step has already been done and you can't change it with just the TopDir setting. You really need to mount the disk at /var/lib/backuppc (copy everything that needs to be there first). You'll probably also need to mount the disk async to get any performance. Les, thanks for the info. Can you just give me a little more info in regards to what you mean about copy everything that needs to be there first. If mount my drive from the current location (/backups) to /var/lib/backuppc then won't everything that is currently in /backups be where /var/lib/backuppc is now ? Do you mean to copy whatever is currently in /var/lib/backuppc to /backups first, and then mount the drive at /var/lib/backuppc ? If you are just starting, I'd remove the backuppc package, mount the drive at /var/lib/backuppc, then reinstall the package so everything lands in the right place. If you have things you need to save, you need to copy them to where they would have landed with that setup. You could rename your current /var/lib/backuppc to something else and create a new one, change the mount point and copy, or copy first. Renaming the existing directory is probably the best approach since if you mount on top of it the contents will be hidden but still consume space. I current mount the NFS drive as follows: backupdevice1:/shares/internal/PUBLIC /backups nfs rsize=8192,wsize=8192,nosuid,soft 0 0 I took a look at the options and there is no async option, just a sync option. According to the info sync does the following: All I/O to the file system should be done synchronously. I think async is the default these days. -- Les Mikesell lesmikes...@gmail.com -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Les Mikesell wrote at about 17:57:41 -0500 on Tuesday, June 2, 2009: David Williams wrote: I did finally get around to hacking my drive and enabling NFS. I can now mount it as NFS and backuppc is now working again :) However, there might still be something wrong with my setup. I am running Mandriva 2009.0 and installed backuppc from the Mandriva respostiory. I updated the config.pl file and one of the things that I did change was the TopDir parameter, which I set to /backups My backups are currently going to /backups/pc/, where is the host that I am backing up. I was re-reading the email below about the pool files and I didn't see anything under /backups/cpool or /backups/pool. On further investigation I do see files/directories under /var/lib/backuppc/cpool. By changing the TopDir parameter in the config.pl file have I messed anything up ? Backups seem to be working (very slowly), but they are working. I am assuming that this is ok but not sure. Under /var/lib/backuppc/cpool are directories like 0/ 1/ 2/ 3/, etc but when I drill down into some of these directories I don't see any files. Would appreciate some help. If you installed from scratch from the sourceforge tarball you would be able to change the storage location, but the location is embedded in the code during the install process. If you are using a version packaged for a distribution, this step has already been done and you can't change it with just the TopDir setting. You really need to mount the disk at /var/lib/backuppc (copy everything that needs to be there first). You'll probably also need to mount the disk async to get any performance. At the level of /var/lib/backuppc you can use a soft link. i.e., you can mount the disk anywhere and then just create a soft link from there to /var/lib/backuppc. -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Just trying to follow up on this. So, the workbook drive that I have cannot create hard links L so this means I can no longer use this drive for doing backups, since the hardlink check will stop this. Is the hardlink issue related to the drive itself, or is it related to the fact that it is formatted to NTFS format ? Is there a way to format this drive so that it can create hardlinks (ext3?) and can be used for backups again ? It's a 1TB drive and I'd hate to have to buy another drive. David Williams From: Les Stott [mailto:l...@cyberpro.com.au] Sent: Thursday, March 26, 2009 11:21 PM To: General list for user discussion, questions and support Cc: dwilli...@dtw-consulting.com Subject: Re: [BackupPC-users] External WD Worldbook Device Les Mikesell wrote: David Williams wrote: When I originally started Backuppc it was complaining that it could not create a hardlink under /backups/pc/ and /backups/cpool. It wasn't looking at /var/lib/backuppc. Even with version 3.0 I had TopDir set to /backups and backups were being created under /backups. The test in 3.1 was added to catch this kind of mistake. Yes, i found this way back in December 2007, see here http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08103.ht ml but no one ever replied to my post. In short yes, the hardlink test is a good thing, but to me it seems it gets done too early. In the old 3.0.0 you could just format a usb drive as ext3 and plug it in on the same mount point and backuppc would start, create pc, cpool, pool and trash directories and carry on. Now in 3.1.0 it does the hardlink check before creating any directories and becuase the hardlink check is done on subdirectories it fails. I would absolutely love it if the top level directories were still created by backuppc first before doing the hardlink test. If those directories are created because they dont exist and the hardlink test fails then just remove the directories. Or leave them there, all you've done is create a few directories. Or how about just making some temp directories as part of the hardlink test underneath the $Topdir? That would be the same as trying to create hard links under TopDir/pc/ etc. Regards, Les Stott No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.30/2026 - Release Date: 03/27/09 07:13:00 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
On Tue, Apr 07, 2009 at 08:32:33AM -0400, David Williams wrote: So, the workbook drive that I have cannot create hard links L so this means I can no longer use this drive for doing backups, since the hardlink check will stop this. Is the hardlink issue related to the drive itself, or is it related to the fact that it is formatted to NTFS format ? NTFS does support hardlinks. (But thats a now so well-known feature.) So it might depend on how you mount the drive. Is there a way to format this drive so that it can create hardlinks (ext3?) and can be used for backups again ? It's a 1TB drive and I'd hate to have to buy another drive. I'm not sure whether you can reformat it. If it's just USB-attached, then yes, just go ahead. If it's some sort of NAS, it depends on the device. You could always create some huge container file and create an ext3 filesystem within that. Performance won't be great, but it'll work. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 David Williams -Original Message- From: Tino Schwarze [mailto:backuppc.li...@tisc.de] Sent: Tuesday, April 07, 2009 9:24 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] External WD Worldbook Device On Tue, Apr 07, 2009 at 08:32:33AM -0400, David Williams wrote: So, the workbook drive that I have cannot create hard links L so this means I can no longer use this drive for doing backups, since the hardlink check will stop this. Is the hardlink issue related to the drive itself, or is it related to the fact that it is formatted to NTFS format ? NTFS does support hardlinks. (But thats a now so well-known feature.) So it might depend on how you mount the drive. Is there a way to format this drive so that it can create hardlinks (ext3?) and can be used for backups again ? It's a 1TB drive and I'd hate to have to buy another drive. I'm not sure whether you can reformat it. If it's just USB-attached, then yes, just go ahead. If it's some sort of NAS, it depends on the device. You could always create some huge container file and create an ext3 filesystem within that. Performance won't be great, but it'll work. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.44/2044 - Release Date: 04/06/09 18:59:00 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
On Tue, Apr 07, 2009 at 09:44:48AM -0400, David Williams wrote: The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 Can you mount it via NFS? But I suppose, the cifs implementation of the drive (some kind of Windows CE?) does not support hardlinks? Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 According to this: http://mybookworld.wikidot.com/nfs-server worldbooks used to support nfs and might be hackable to re-enable it. But, internal or USB drives are pretty cheap now. It might be easier to just use the worldbook for other data - or if you really want to hack it might be possible to make backuppc run directly on the device. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Quoting David Williams dwilli...@dtw-consulting.com: Just trying to follow up on this. So, the workbook drive that I have cannot create hard links L so this means I can no longer use this drive for doing backups, since the hardlink check will stop this. Is the hardlink issue related to the drive itself, or is it related to the fact that it is formatted to NTFS format ? Is there a way to format this drive so that it can create hardlinks (ext3?) and can be used for backups again ? It's a 1TB drive and I'd hate to have to buy another drive. David Williams David, Check out this website - http://mybookworld.wikidot.com/ It is dedicated to hacking the MyBook World Edition. Specifically, this page http://mybookworld.wikidot.com/troubleshooting deals with reformatting the data partition to ext3. I use my World Book as a destination for my BackupPC setup. I connect via NFS so there aren't problems with hardlinks. Mike -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Tino Schwarze wrote at about 15:56:22 +0200 on Tuesday, April 7, 2009: On Tue, Apr 07, 2009 at 09:44:48AM -0400, David Williams wrote: The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 Can you mount it via NFS? But I suppose, the cifs implementation of the drive (some kind of Windows CE?) does not support hardlinks? cifs is SAMBA and doesn't support hardlinks (at least in my experience). Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote at about 09:44:48 -0400 on Tuesday, April 7, 2009: The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. A lot of the consumer NAS devices only let you access the device via web uploads/downloads or SAMBA (cifs) - none of which work directly with BackupPC. You really want to be able to access the device with something like NFS or ATA over ethernet. I have a dns-323 (which is a linux-based NAS) and I was able to hack it to run NFS (after some incompatibility tribulations with ext3 and kernel 2.6.12). This has allowed me to use the NAS device for BackupPC. I had a thread on that about 6 months back. So, if you have a low end (i.e. consumer) NAS, you might want to see whether it is hackable to run NFS. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 David Williams -Original Message- From: Tino Schwarze [mailto:backuppc.li...@tisc.de] Sent: Tuesday, April 07, 2009 9:24 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] External WD Worldbook Device On Tue, Apr 07, 2009 at 08:32:33AM -0400, David Williams wrote: So, the workbook drive that I have cannot create hard links L so this means I can no longer use this drive for doing backups, since the hardlink check will stop this. Is the hardlink issue related to the drive itself, or is it related to the fact that it is formatted to NTFS format ? NTFS does support hardlinks. (But thats a now so well-known feature.) So it might depend on how you mount the drive. Is there a way to format this drive so that it can create hardlinks (ext3?) and can be used for backups again ? It's a 1TB drive and I'd hate to have to buy another drive. I'm not sure whether you can reformat it. If it's just USB-attached, then yes, just go ahead. If it's some sort of NAS, it depends on the device. You could always create some huge container file and create an ext3 filesystem within that. Performance won't be great, but it'll work. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.44/2044 - Release Date: 04/06/09 18:59:00 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Jeffrey J. Kosowsky wrote: Tino Schwarze wrote at about 15:56:22 +0200 on Tuesday, April 7, 2009: On Tue, Apr 07, 2009 at 09:44:48AM -0400, David Williams wrote: The drive is supposed to be a NAS drive, in that it is connected directly to my router. Hoping that someone else has this kind of drive and has come up with a solution to this problem. So far I have not been able to see how I can reformat it :( There is a web interface for the drive but even with that there doesn't appear to be a way to re-format the thing. Perhaps this is not something that can be done, or that WD want people doing, which is understandable. I mount the drive as follows: //192.168.15.6/public /backups cifs rw, username=user,password=passwd,uid=backuppc,gid=backuppc 0 0 Can you mount it via NFS? But I suppose, the cifs implementation of the drive (some kind of Windows CE?) does not support hardlinks? cifs is SAMBA and doesn't support hardlinks (at least in my experience). cifs is supposed to be different from smbfs in offering unix extensions that should include hardlinks. Here's a 5-year old article about it: http://www.linux-mag.com/id/1656. I don't know if it actually works yet or if enabling the unix extensions on a worldbook is possible or easier than nfs, though. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
How do you like yours on the whole? Does it use the WD enterprise drive re3? --- On Thu, 3/26/09, David Williams dwilli...@dtw-consulting.com wrote: From: David Williams dwilli...@dtw-consulting.com Subject: Re: [BackupPC-users] External WD Worldbook Device To: 'General list for user discussion, questions and support' backuppc-users@lists.sourceforge.net Date: Thursday, March 26, 2009, 8:38 AM It is connect via RJ45 to my router. David Williams _ From: Chris Baker [mailto:cba...@intera.com] Sent: Thursday, March 26, 2009 10:30 AM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] External WD Worldbook Device How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA? Chris Baker -- cba...@intera.com systems administrator INTERA -- 512-425-2006 _ From: David Williams [mailto:dwilli...@dtw-consulting.com] Sent: Thursday, March 26, 2009 9:03 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] External WD Worldbook Device All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... And BackupPC would not start :-( Thankfully I have been able to comment out this check from the BackupPC program and get BackupPC up and running so that I can restore what I need from my backup drive via the web interface. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. I did take a look through the archives but nothing jumped out to me as to the problem. I would assume that since backups were working just fine with 3.0 that they should be fine in 3.1 and that my external drive is ok? Would appreciate any help as I'd like to get my backups up and running again. I did do a df -i and got the following output: Filesystem Inodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M 1.7M 115M 2% /backups Regards, File: ATT00020.txt File: ATT00023.txt File: ATT00089.txt File: ATT00092.txt -Inline Attachment Follows- -- -Inline Attachment Follows- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA? Chris Baker -- cba...@intera.com systems administrator INTERA -- 512-425-2006 _ From: David Williams [mailto:dwilli...@dtw-consulting.com] Sent: Thursday, March 26, 2009 9:03 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] External WD Worldbook Device All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... And BackupPC would not start :-( Thankfully I have been able to comment out this check from the BackupPC program and get BackupPC up and running so that I can restore what I need from my backup drive via the web interface. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. I did take a look through the archives but nothing jumped out to me as to the problem. I would assume that since backups were working just fine with 3.0 that they should be fine in 3.1 and that my external drive is ok? Would appreciate any help as I'd like to get my backups up and running again. I did do a df -i and got the following output: FilesystemInodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M1.7M115M2% /backups Regards, File: ATT00020.txtFile: ATT00023.txt attachment: winmail.dat-- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Hi David, On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote: All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... I'm not sure whether CIFS supports hardlinks. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. [...] I did do a df -i and got the following output: FilesystemInodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M1.7M115M2% /backups You used the BackupPC package from your distribution? It probably doesn't have the backup storage configured as /backups, but maybe /var/lib/backuppc. The easiest way is to stick to that location and mount your NAS there. You may check whether hardlinks work correctly by opening a shell and doing: echo hello testfile ln testfile linkedfile echo olleh linkedfile cat testfile There should be no error messages and the last command should output olleh. If you do an ls -l testfile linkedfile, you should see something like this: -rw-r--r-- 2 root root 6 2009-03-26 16:25 linkedfile -rw-r--r-- 2 root root 6 2009-03-26 16:25 testfile - note the 2 here! It says: link count 2. Hope that helps, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
It is connect via RJ45 to my router. David Williams _ From: Chris Baker [mailto:cba...@intera.com] Sent: Thursday, March 26, 2009 10:30 AM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] External WD Worldbook Device How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA? Chris Baker -- cba...@intera.com systems administrator INTERA -- 512-425-2006 _ From: David Williams [mailto:dwilli...@dtw-consulting.com] Sent: Thursday, March 26, 2009 9:03 AM To: backuppc-users@lists.sourceforge.net Subject:[BackupPC-users] External WD Worldbook Device All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... And BackupPC would not start :-( Thankfully I have been able to comment out this check from the BackupPC program and get BackupPC up and running so that I can restore what I need from my backup drive via the web interface. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. I did take a look through the archives but nothing jumped out to me as to the problem. I would assume that since backups were working just fine with 3.0 that they should be fine in 3.1 and that my external drive is ok? Would appreciate any help as I'd like to get my backups up and running again. I did do a df -i and got the following output: FilesystemInodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M1.7M115M2% /backups Regards, File: ATT00020.txtFile: ATT00023.txtFile: ATT00089.txt File: ATT00092.txt attachment: winmail.dat-- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Tino Schwarze wrote: On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote: All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... I'm not sure whether CIFS supports hardlinks. I believe CIFS does, but the underlying file system may not. What is the file system on the drive? It might be that hardlinks never worked and that the check was only added in 3.1. Nils Breunese. -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Permissions seem to be fine. User and group are showing up as backuppc. David Williams -Original Message- From: Michael Harnden [mailto:m...@rochestervball.com] Sent: Thursday, March 26, 2009 11:35 AM To: dwilli...@dtw-consulting.com; General list for user discussion, questions and support Subject: Re: [BackupPC-users] External WD Worldbook Device Hi David, Check your permissions on your backup folders. There is a chance that your new installation create your BackupPC user and group with a different numerical id than your previous install. If you do a ls -la on /backups and get a number back instead of a user/group name that is your problem. Mike Quoting David Williams dwilli...@dtw-consulting.com: All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... And BackupPC would not start :-( Thankfully I have been able to comment out this check from the BackupPC program and get BackupPC up and running so that I can restore what I need from my backup drive via the web interface. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. I did take a look through the archives but nothing jumped out to me as to the problem. I would assume that since backups were working just fine with 3.0 that they should be fine in 3.1 and that my external drive is ok? Would appreciate any help as I'd like to get my backups up and running again. I did do a df -i and got the following output: FilesystemInodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M1.7M115M2% /backups Regards, No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Hi David, Check your permissions on your backup folders. There is a chance that your new installation create your BackupPC user and group with a different numerical id than your previous install. If you do a ls -la on /backups and get a number back instead of a user/group name that is your problem. Mike Quoting David Williams dwilli...@dtw-consulting.com: All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... And BackupPC would not start :-( Thankfully I have been able to comment out this check from the BackupPC program and get BackupPC up and running so that I can restore what I need from my backup drive via the web interface. Under BackupPC 3.0 I never had a problem performing backups and I can still access the backups that I have from the 3.0 version. There are no error messages in any of the log files. So, did something change between 3.0 and 3.1 ? Is there a way I can check manually by creating a hardlink on the backups partition from the shell ? Sorry, not a Linux guru so not well up on the commands to do this. I did take a look through the archives but nothing jumped out to me as to the problem. I would assume that since backups were working just fine with 3.0 that they should be fine in 3.1 and that my external drive is ok? Would appreciate any help as I'd like to get my backups up and running again. I did do a df -i and got the following output: FilesystemInodes IUsed IFree IUse% Mounted on //192.168.15.6/public 116M1.7M115M2% /backups Regards, -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
I'm not sure what the filesystem is. I suspect it is NTFS. I guess whatever these drives come as. I did try what Tino suggested and this is what happened: [r...@dtwconsulting backups]# echo hello testfile [r...@dtwconsulting backups]# ln testfile linkedfile ln: creating hard link `linkedfile' = `testfile': No such file or directory So yes, does look like there is a problem. I have checked my previous backups and don't see any errors though, and I was able to restore some of the files ! Is there a way that I can reformat this drive to ext3 ? Is it even possible to format the drive from linux when it is mounted as cifs ? David Williams -Original Message- From: Nils Breunese (Lemonbit) [mailto:n...@lemonbit.com] Sent: Thursday, March 26, 2009 11:51 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] External WD Worldbook Device Tino Schwarze wrote: On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote: All, Up until very recently I have had BackupPC 3.0 working with my 1TB external WD Mybook world edition device, which is connected to my LAN and which I mount via cifs. I recently had to upgrade my machine to a newer version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1. Once I had setup installed BackupPC 3.1, mounted my backup device using cifs and restored my configuration files I started up BackupPC only to get the message: Can't create a test hardlink... I'm not sure whether CIFS supports hardlinks. I believe CIFS does, but the underlying file system may not. What is the file system on the drive? It might be that hardlinks never worked and that the check was only added in 3.1. Nils Breunese. -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: Permissions seem to be fine. User and group are showing up as backuppc. Is the top level directory symlinked or mounted where the packaged backuppc install expects it? -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
The top level directory is mounted to /backups There is no symlinking going on. I have changed the appropriate config to point to /backups. This has been working like this for a few years now. David Williams -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 26, 2009 12:15 PM To: dwilli...@dtw-consulting.com; General list for user discussion, questions and support Subject: Re: [BackupPC-users] External WD Worldbook Device David Williams wrote: Permissions seem to be fine. User and group are showing up as backuppc. Is the top level directory symlinked or mounted where the packaged backuppc install expects it? -- Les Mikesell lesmikes...@gmail.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Hi David, On Thu, Mar 26, 2009 at 12:02:16PM -0400, David Williams wrote: I'm not sure what the filesystem is. I suspect it is NTFS. I guess whatever these drives come as. I did try what Tino suggested and this is what happened: [r...@dtwconsulting backups]# echo hello testfile [r...@dtwconsulting backups]# ln testfile linkedfile ln: creating hard link `linkedfile' = `testfile': No such file or directory So yes, does look like there is a problem. I have checked my previous backups and don't see any errors though, and I was able to restore some of the files ! Is there a way that I can reformat this drive to ext3 ? Is it even possible to format the drive from linux when it is mounted as cifs ? Not directly since you use the drive as a NAS, therefore you access it via some network protocol. Does it support NFS? If so, try using that and perform the above test. A not-so-nice solution would be to create an x GB file and format that with whatever unix filesystem you like. It would work roughly like this (for a 10 GB volume): dd if=/dev/zero of=/backups/backuppc-volume bs=1M count=10240 mke2fs -m 1 -j /backups/backuppc-volume mount -o loop,noatima,nodiratime /backups/backuppc-volume /var/lib/backuppc If you run out of space on the volume later, you may resize it by growing the file first (be careful!), then resizing the file system. I suppose, performance is not an issue for you - it may be pretty slow... I wonder how you managed to do backups the first time, though... you only upgraded your server? Then there must have been a way to create links or BackupPC would have complained a lot. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: The top level directory is mounted to /backups There is no symlinking going on. I have changed the appropriate config to point to /backups. You can't change the location in the config in pre-packaged versions. There have been about a million discussions on this list about that issue. If you get the original package from sourceforge and install yourself, you have a chance to pick the location. In the RPM and deb packaged versions included in distributions, someone has already made that choice and you can't change it. This has been working like this for a few years now. Or failing... The older version just didn't test. You'll end up with working backup copies but no pooling if the links don't work so it wastes a lot of space. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Tino, Thanks for the info. I will look into whether or not the drive can be mounted as NFS. I've never had to do that so will have to look into what it will take to perform that. David Williams -Original Message- From: Tino Schwarze [mailto:backuppc.li...@tisc.de] Sent: Thursday, March 26, 2009 12:53 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] External WD Worldbook Device Hi David, On Thu, Mar 26, 2009 at 12:02:16PM -0400, David Williams wrote: I'm not sure what the filesystem is. I suspect it is NTFS. I guess whatever these drives come as. I did try what Tino suggested and this is what happened: [r...@dtwconsulting backups]# echo hello testfile [r...@dtwconsulting backups]# ln testfile linkedfile ln: creating hard link `linkedfile' = `testfile': No such file or directory So yes, does look like there is a problem. I have checked my previous backups and don't see any errors though, and I was able to restore some of the files ! Is there a way that I can reformat this drive to ext3 ? Is it even possible to format the drive from linux when it is mounted as cifs ? Not directly since you use the drive as a NAS, therefore you access it via some network protocol. Does it support NFS? If so, try using that and perform the above test. A not-so-nice solution would be to create an x GB file and format that with whatever unix filesystem you like. It would work roughly like this (for a 10 GB volume): dd if=/dev/zero of=/backups/backuppc-volume bs=1M count=10240 mke2fs -m 1 -j /backups/backuppc-volume mount -o loop,noatima,nodiratime /backups/backuppc-volume /var/lib/backuppc If you run out of space on the volume later, you may resize it by growing the file first (be careful!), then resizing the file system. I suppose, performance is not an issue for you - it may be pretty slow... I wonder how you managed to do backups the first time, though... you only upgraded your server? Then there must have been a way to create links or BackupPC would have complained a lot. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Les, I believe that under the Mandriva package we are allowed to change the TopDir and it is in the config.pl file. When I originally started Backuppc it was complaining that it could not create a hardlink under /backups/pc/ and /backups/cpool. It wasn't looking at /var/lib/backuppc. Even with version 3.0 I had TopDir set to /backups and backups were being created under /backups. Perhaps it has been 'failing', but I had valid backups that I have restored from. Whether it was wasting space I don't know, perhaps it was. Also, even though I cannot currently do backups I can restore from existing backups and the restore is coming from /backups. Based upon that I would say that the Mandriva package allows the change of the TopDir. David Williams -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 26, 2009 1:00 PM To: dwilli...@dtw-consulting.com; General list for user discussion, questions and support Subject: Re: [BackupPC-users] External WD Worldbook Device David Williams wrote: The top level directory is mounted to /backups There is no symlinking going on. I have changed the appropriate config to point to /backups. You can't change the location in the config in pre-packaged versions. There have been about a million discussions on this list about that issue. If you get the original package from sourceforge and install yourself, you have a chance to pick the location. In the RPM and deb packaged versions included in distributions, someone has already made that choice and you can't change it. This has been working like this for a few years now. Or failing... The older version just didn't test. You'll end up with working backup copies but no pooling if the links don't work so it wastes a lot of space. -- Les Mikesell lesmikes...@gmail.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
David Williams wrote: Les, I believe that under the Mandriva package we are allowed to change the TopDir and it is in the config.pl file. That's not likely. When you install from source, the configuration process modifies the code, embedding this location elsewhere. If you don't re-run that process it won't be right. When I originally started Backuppc it was complaining that it could not create a hardlink under /backups/pc/ and /backups/cpool. It wasn't looking at /var/lib/backuppc. Even with version 3.0 I had TopDir set to /backups and backups were being created under /backups. The test in 3.1 was added to catch this kind of mistake. Perhaps it has been 'failing', but I had valid backups that I have restored from. Whether it was wasting space I don't know, perhaps it was. Also, even though I cannot currently do backups I can restore from existing backups and the restore is coming from /backups. Based upon that I would say that the Mandriva package allows the change of the TopDir. If pooling had ever worked you should have a large tree of files with long hash codes for names under the pool or cpool directory. Does 'ls -lR' or 'find' show them? Backups are stored under the appropriate pc directories in any case, but the pooling that eliminates duplicate copies can only work when the hardlinks succeed. If you do have pooled files (and ls -l should show link counts 1), then there must be something different about the mount options on the new system. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Les Mikesell wrote: David Williams wrote: When I originally started Backuppc it was complaining that it could not create a hardlink under /backups/pc/ and /backups/cpool. It wasn't looking at /var/lib/backuppc. Even with version 3.0 I had TopDir set to /backups and backups were being created under /backups. The test in 3.1 was added to catch this kind of mistake. Yes, i found this way back in December 2007, see here http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08103.html but no one ever replied to my post. In short yes, the hardlink test is a good thing, but to me it seems it gets done too early. In the old 3.0.0 you could just format a usb drive as ext3 and plug it in on the same mount point and backuppc would start, create pc, cpool, pool and trash directories and carry on. Now in 3.1.0 it does the hardlink check before creating any directories and becuase the hardlink check is done on subdirectories it fails. I would absolutely love it if the top level directories were still created by backuppc first before doing the hardlink test. If those directories are created because they dont exist and the hardlink test fails then just remove the directories. Or leave them there, all you've done is create a few directories. Or how about just making some temp directories as part of the hardlink test underneath the $Topdir? That would be the same as trying to create hard links under TopDir/pc/ etc. Regards, Les Stott -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Les writes: I would absolutely love it if the top level directories were still created by backuppc first before doing the hardlink test. If those directories are created because they dont exist and the hardlink test fails then just remove the directories. Or leave them there, all you've done is create a few directories. It's fixed in CVS and will be in 3.2.0: * Create $TopDir and related data directories in BackupPC_dump prior to hardlink test. Requested by Les Stott. Craig -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] External WD Worldbook Device
Craig Barratt wrote: Les writes: I would absolutely love it if the top level directories were still created by backuppc first before doing the hardlink test. If those directories are created because they dont exist and the hardlink test fails then just remove the directories. Or leave them there, all you've done is create a few directories. It's fixed in CVS and will be in 3.2.0: * Create $TopDir and related data directories in BackupPC_dump prior to hardlink test. Requested by Les Stott. Brilliant!!! avagoodweekend, Thanks, Les -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/