rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] rdiff-backup + smbfs = :'(


From: Peter Valdemar Mørch
Subject: Re: [rdiff-backup-users] rdiff-backup + smbfs = :'(
Date: Fri, 07 Jul 2006 11:56:46 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Peter Valdemar Mørch swp5jhu02-at-sneakemail.com |Lists| wrote:
I'm trying to rdiff-backup from linux to a smbfs mount.

That ends up giving me an error: "Exception '[Errno 16] Device or resource busy removing

What I *did* succeed in doing was this: Create a single large file on the smb partition, and create a reiserfs system in that file, and then mount and use *that* for storing the rdiff-backup inside that.

Like this:

# Mount smb share
mount -t smbfs -o 'username=name,password=pass' \
   //server/share /mnt/smbShare/bigfile

# Create a 100MB file (or whatever is appropriate for you)
# to hold the ReiserFS file system...
dd if=/dev/zero of=/mnt/smbShare/bigfile bs=1M count=100
dev=`losetup -f`
echo $dev
losetup $dev /mnt/smbShare/bigfile
mkreiserfs $dev
losetup -d $dev

# Create mountpoint
mkdir /mnt/rdiff-backup

# Now mount it..
mount -o loop /mnt/smbShare/bigfile /mnt/rdiff-backup

rdiff-backup -yada -yada -yada /mnt/rdiff-backup/destination

--
Peter Valdemar Mørch
http://www.morch.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]