BackupPC-users

[BackupPC-users] BackupPC-4.0.0alpha3 - Cant create a test hardlink between a

2015-02-27 12:55:29
Subject: [BackupPC-users] BackupPC-4.0.0alpha3 - Cant create a test hardlink between a
From: akibuflash <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 19 Feb 2015 13:17:24 -0800
Igor,

I meant to reply to the group to let them know that the problem had been 
solved, but your email makes me think that it has not been solved fully.  The 
script runs as user backuppc and apparently user backuppc did not have 
permission to write to the data locations.  Once I fixed the permissions issue, 
the command start stop command would work and give me an "ok."  

What makes me think that the problem has not been solved fully is that when I 
run the first two of your commands, I get no response (as expected) and the 
testgram is created properly. However, your third command does gives me an 
error that I don't understand.  Below are the results:

backuppc@linux-pc5:/data/BackupPC/pc$ touch /data/BackupPC/pc/testgram
backuppc@linux-pc5:/data/BackupPC/pc$ 

backuppc@linux-pc5:/$ ln /data/BackupPC/pc/testgram /data/BackupPC/cpool
backuppc@linux-pc5:/$ 

backuppc@linux-pc5:/$ rm /data/BackupPC/pc/testgram /data/BackupPC/cpool
rm: cannot remove ?/data/BackupPC/cpool?: Is a directory

backuppc@linux-pc5:/$ ls -ld /data
drwxrwx---+ 3 root root 4096 Jan 18 23:00 /data

backuppc@linux-pc5:/$ ls -ld /data/BackupPC
drwxrwx---+ 5 backuppc backuppc 4096 Jan 18 23:00 /data/BackupPC

backuppc@linux-pc5:/$ df /data/BackupPC
Filesystem             1K-blocks    Used Available Use% Mounted on
/dev/mapper/dreux-root  19092180 3932368  14166944  22% /

backuppc@linux-pc5:/$ tune2fs -l /dev/mapper/dreux-root
tune2fs 1.42.12 (29-Aug-2014)
tune2fs: Permission denied while trying to open /dev/mapper/dreux-root
Couldn't find valid filesystem superblock.

Is the output what was to be expected?  A couple of things are throwing me for 
a loop.  First, on the remove command "rm /data/BackupPC/pc/testgram 
/data/BackupPC/cpool", should that really be "rm /data/BackupPC/pc/testgram 
/data/BackupPC/cpool/testgram" and is that the nature of the Is a directory 
error?  I presume so.  Or should my merely removing the linked target also 
remove the linked file?

Second, the "could not find valid filesystem superblock error is unclear.  

Thanks in advance.

+----------------------------------------------------------------------
|This was sent by akibuflash AT outlook DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] BackupPC-4.0.0alpha3 - Cant create a test hardlink between a, akibuflash <=