Bacula issues with iscsi mounted partitions

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bacula issues with iscsi mounted partitions

Reinier Carmona Lizana
Hello, I am having an issue saving some part of my defined filesets, specially iscsi partition mounted. For example:

 *  FileSets E2B05

 - /etc
 - /usr/local
 - /var/lib
 - /srv/

Never save me the /srv folder because its a iscsi partition on a IBM Storage V3700 defined in the fstab like this:

/dev/mapper/360050763008105edd000000000000015  /srv      ext4    defaults,auto,_netdev 0 0

Any ideas to resolve this? Thanks in advanced!!!




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula issues with iscsi mounted partitions

Josip Deanovic
On Thursday 2017-02-23 12:26:41 Reinier Carmona Lizana wrote:

> Hello, I am having an issue saving some part of my defined filesets,
> specially iscsi partition mounted. For example:
>
>  * * FileSets E2B05*
>
>  - /etc
>  - /usr/local
>  - /var/lib
>  - /srv/
>
>
> Never save me the /srv folder because its a iscsi partition on a IBM
> Storage V3700 defined in the fstab like this:
>
> /dev/mapper/360050763008105edd000000000000015  /srv      ext4
> defaults,auto,_netdev 0 0
>
> Any ideas to resolve this? Thanks in advanced!!!


Hi!

Is your bacula-fd running as an unprivileged user?
If yes, make sure that that particular user can access files in /srv.
If this is not possible you will have to run bacula-fd as root which is
pretty common setup.

Are you sure that the file system is mounted at the time bacula is
is executing the job?

Could you please paste the relevant Fileset resource configuration
related to that particular job?


Regards

--
Josip Deanovic

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula issues with iscsi mounted partitions

Josh Fisher
In reply to this post by Reinier Carmona Lizana

On 2/23/2017 12:26 PM, Reinier Carmona Lizana wrote:
Hello, I am having an issue saving some part of my defined filesets, specially iscsi partition mounted. For example:

 *  FileSets E2B05

 - /etc
 - /usr/local
 - /var/lib
 - /srv/

Remove the trailing '/' from /srv


Never save me the /srv folder because its a iscsi partition on a IBM Storage V3700 defined in the fstab like this:

/dev/mapper/360050763008105edd000000000000015  /srv      ext4    defaults,auto,_netdev 0 0

Any ideas to resolve this? Thanks in advanced!!!


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula issues with iscsi mounted partitions

Ralf Brinkmann
In reply to this post by Reinier Carmona Lizana
Am 23.02.2017 um 18:26 schrieb Reinier Carmona Lizana:

> Hello, I am having an issue saving some part of my defined filesets,
> specially iscsi partition mounted. For example:
>
>  * * FileSets E2B05*
>
>  - /etc
>  - /usr/local
>  - /var/lib
>  - /srv/
>
>
> Never save me the /srv folder because its a iscsi partition on a IBM
> Storage V3700 defined in the fstab like this:
>
> /dev/mapper/360050763008105edd000000000000015  /srv      ext4
> defaults,auto,_netdev 0 0
>
> Any ideas to resolve this? Thanks in advanced!!!

Bacula by default will not cross any mount point.

Try this:

/srv/.

--
Ralf Brinkmann



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula issues with iscsi mounted partitions

Josip Deanovic
On Wednesday 2017-03-01 11:22:38 Ralf Brinkmann wrote:

> Am 23.02.2017 um 18:26 schrieb Reinier Carmona Lizana:
> > Hello, I am having an issue saving some part of my defined filesets,
> >
> > specially iscsi partition mounted. For example:
> >  * * FileSets E2B05*
> >
> >  - /etc
> >  - /usr/local
> >  - /var/lib
> >  - /srv/
> >
> > Never save me the /srv folder because its a iscsi partition on a IBM
> > Storage V3700 defined in the fstab like this:
> >
> > /dev/mapper/360050763008105edd000000000000015  /srv      ext4
> > defaults,auto,_netdev 0 0
> >
> > Any ideas to resolve this? Thanks in advanced!!!
>
> Bacula by default will not cross any mount point.
>
> Try this:
>
> /srv/.


I believe Josh already nailed the problem.
It was the problem with the trailing slash in case of the /srv
file system.

Bacula indeed will not cross file systems by default but since the
/srv file system was explicitly included (or at least it seems so),
that issue doesn't apply in this case.


--
Josip Deanovic

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...