rsnapshot - cannot create links errors - unable to use

Parijat Mishra parijat.ubuntu at gmail.com
Sat Oct 8 09:58:28 UTC 2005


What filesystem is the external HDD formatted with? It might be formatted
with fat32, which does not support unix style symbolic links.
You might want to reformat the external drive with a ext2/ext3 filesystem.

On 10/8/05, Carthik Sharma <carthik at gmail.com> wrote:
>
> On 10/7/05, Carthik Sharma <carthik at gmail.com> wrote:
>
> > Hi,
> >
> > I thought it might be neat to try and backup my home and etc directories
> > to an external USB hard disk drive on a weekly basis and so I tried to use
> > rsnapshot.
> >
> > The USB drive is auto-mounted by Ubuntu to /media/work-usb
> >
> > The error I get is :
> > /bin/cp: cannot create link
> > `/media/work-usb/carthik/rsnapshot/weekly.1/localhost/etc/fstab': Operation
> > not permitted
> > /bin/cp: cannot create link
> > `/media/work-usb/carthik/rsnapshot/weekly.1/localhost/usr/local/lib/texmf/ls-R':
> > Operation not permitted
> > /bin/cp: cannot create link
> > `/media/work-usb/carthik/rsnapshot/weekly.1/localhost/usr/local/share/fonts/fonts.cache-1':
> > Operation not permitted
> > ERROR: /bin/cp failed. Perhaps this is not GNU cp?
> > ERROR: Error! cp_al("/media/work-usb/carthik/rsnapshot/weekly.0/",
> > "/media/work-usb/carthik/rsnapshot/weekly.1/")
> > /usr/bin/logger -i -p user.err -t rsnapshot ERROR: Error! \
> > cp_al("/media/work-usb/carthik/rsnapshot/weekly.0/", \
> > "/media/work-usb/carthik/rsnapshot/weekly.1/")
> > rm -f /var/run/rsnapshot.pid
> >
> > (I deleted all but the last three "cannot create link" errors to save us
> > some space)
> >
> > relevant settings from the /etc/rsnapshot.conf file are as follows:
> >
> > snapshot_root /media/work-usb/carthik/rsnapshot/
> > interval weekly 4
> > backup /home/carthik/ localhost/home/carthik/
> > backup /etc/ localhost/etc/
> > backup /usr/local/ localhost/usr/local/
> >
> > It creates some directories, but then errors out saying it cannot create
> > the links.
> >
> > I am running it using "sudo rsnapshot weekly"
> >
> > Any help to figure out why it cannot create the links is welcome. I
> > really thought I was all set for easy backing-up but it looks like I'll need
> > some help after all :)
> >
> > Thanks in advance,
>
>
> Update: I tried to manually create a (hard) link : The results follow :
>
> carthik at milan:/media/work-usb/carthik/rsnapshot/weekly.0/localhost/etc$ ln
> adduser.conf/media/work-usb/carthik/rsnapshot/weekly.1/localhost/etc/adduser.conf
> ln: creating hard link
> `/media/work-usb/carthik/rsnapshot/weekly.1/localhost/etc/adduser.conf' to
> `adduser.conf': Operation not permitted
>
> So why can't I create links on the external USB hdd ?
>
> Thank you,
> Carthik.
>
>
>
> --
> Ph.D. Candidate
> University of Central Florida
> Homepage: http://carthik.net
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051008/ce0a3738/attachment.html>


More information about the ubuntu-users mailing list