if all else fails, use a file and mount it with 'loop'

you will get around all of the nfs issues except speed.

you would mount the nas by nfs, create a sparse file

> dd if=/dev/zero of=/nfsmountpoint/filename bs=1M count='how many mb you
> want'
>

now make a filesystem on it
mkfs/ext3 /nfsmountpoint/filename

agree to the warning that it is not a block device

now mount it
mount -o loop /nfsmountpoint/filename /target

df -h and see your new drive!

alternatively, you could create a sparse file to mount but you would risk an
overflow..

better would be to create a file that is the right size today and expand it
later.  if you use ext3 you have create a 1Gb file, then when you need more
space you can create a new file from the original file like so

dd if=/path/to/original/file of=/newfile bs=1M count=newsize
then
fsck.ext3 /newfile

then you have a new file with the old files contents ready to use.

you can also use the linux software raid on files to create mirrors. even on
two seperate nfs servers, though performance will suck.





On Dec 10, 2007 11:07 AM, Les Mikesell <[EMAIL PROTECTED]> wrote:

> Johan Ekh wrote:
> > Thanks for your answer.
> > However, I try to install backuppc as root but it is still not possible
> > to "chown".
> > I can access the mounted disk as "root" or as any user. But not "chown".
> > Any ideas?
> >
> > Can you point me in the right direction regarding the "no_root_squash"
> > option?
> > Is it used with the "mount" command?
>
> No, it is a server side option.  Typically root (uid=0) from a client is
> mapped to 'nobody' on the server file system.  If the server is linux,
> you need an /etc/exports line like:
> /path/exported  
> 192.168.0.0/255.255.255.0(rw,no_root_squash,async)<http://192.168.0.0/255.255.255.0%28rw,no_root_squash,async%29>
>                    ^^^ network range
>
> Other NFS servers may have a different syntax.
>
> --
>   Les Mikesell
>    [EMAIL PROTECTED]
>
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to