SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Volume Doesnt create automatically
Author Message
Post Volume Doesnt create automatically 
Hello.

When is necessary that bacula uses the next Volume i Got the

511 578 092 (01:56 p.m.):
1-abr 12:35 bacula-sd JobId 35: Warning: mount.c:227 Open device "StorageDevice" (/bks/) Volume "Vol0002" failed: ERR=dev.c:549 Could not open: /bks/Vol0002, ERR=No such file or directory

The bacula-sd.conf in section Device is:

#
Device {
    Name = StorageDevice
    Media Type = File
    Archive Device = /bks
    LabelMedia = yes
    AutomaticMount = yes
    AlwaysOpen = no
}

That was today; is there any value that i forgot to automatically create the volume?

Thanks.

--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia http://www.jpilldev.net

Post Volume Doesnt create automatically 
-----Original message-----
From: Juan Pablo Botero <juanpabloboterolopez < at > gmail.com>
Sent: Wed 11-04-2012 20:20
Subject: [Bacula-users] Volume Doesn't create automatically
Attachment: inline.txt, inline.txt
To: bacula-users < at > lists.sourceforge.net;
Hello.

When is necessary that bacula uses the next Volume i Got the

511 578 092 (01:56 p.m.):
1-abr 12:35 bacula-sd JobId 35: Warning: mount.c:227 Open device
"StorageDevice" (/bks/) Volume "Vol0002" failed: ERR=dev.c:549 Could not open:
/bks/Vol0002, ERR=No such file or directory

The bacula-sd.conf in section Device is:

#
Device {
    Name = StorageDevice
    Media Type = File
    Archive Device = /bks
    LabelMedia = yes
    AutomaticMount = yes
    AlwaysOpen = no
}

That was today; is there any value that i forgot to automatically create the
volume?

Thanks.

--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.net <http://www.jpilldev.net>



It might be worth showing the list your Storage and Pool resources from bacula-dir.conf too.

Nonetheless, the first things that come to my mind with this message is:
- Run 'ps aux | grep bacula-sd' and check who the Bacula SD is running as and if possible find what group it's running under.
- Check permissions on the directory /bks/ - make sure that the user/group above has full permissions to this directory.
- Does the file /bks/Vol0002 actually exist on the filesystem? If not, has the volume /bks/Vol0002 been manually deleted from the filesystem, without being deleted from the Bacula catalog?

HTH

Joe

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume Doesnt create automatically 
On 04/12/2012 04:21 AM, Joe Nyland wrote:
It might be worth showing the list your Storage and Pool resources from bacula-dir.conf too.

Nonetheless, the first things that come to my mind with this message is:
- Run 'ps aux | grep bacula-sd' and check who the Bacula SD is running as and if possible find what group it's running under.

(Or, pgrep -l -f bacula-sd ...)

--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric < at > caerllewys.net alaric < at > metrocast.net phil < at > co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
It's not the years, it's the mileage.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume Doesnt create automatically 
Hi

2012/4/12 Joe Nyland <joe < at > joenyland.co.uk ([email]joe < at > joenyland.co.uk[/email])>
-----Original message-----
From:   Juan Pablo Botero <juanpabloboterolopez < at > gmail.com ([email]juanpabloboterolopez < at > gmail.com[/email])>
Sent:   Wed 11-04-2012 20:20
Subject:        [Bacula-users] Volume Doesn't create automatically
Attachment:     inline.txt, inline.txt
To:     bacula-users < at > lists.sourceforge.net ([email]bacula-users < at > lists.sourceforge.net[/email]);
Hello.

When is necessary that bacula uses the next Volume i Got the

511 578 092 (01:56 p.m.):
1-abr 12:35 bacula-sd JobId 35: Warning: mount.c:227 Open device
"StorageDevice" (/bks/) Volume "Vol0002" failed: ERR=dev.c:549 Could not open:
/bks/Vol0002, ERR=No such file or directory

The bacula-sd.conf in section Device is:

#
Device {
    Name = StorageDevice
    Media Type = File
    Archive Device = /bks
    LabelMedia = yes
    AutomaticMount = yes
    AlwaysOpen = no
}

That was today; is there any value that i forgot to automatically create the
volume?

Thanks.

--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia


http://www.jpilldev.net <http://www.jpilldev.net>



It might be worth showing the list your Storage and Pool resources from bacula-dir.conf too.
 
The Storage Definition

Storage {
  Name = TheFiles
# Do not use "localhost" here
  Address = 192.168.1.45           # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "thePassword"
  Device = StorageDevice
  Media Type = File
}

Pool Resource:

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Maximum Volume Jobs= 20
  Label Format = Vol
}

 

Nonetheless, the first things that come to my mind with this message is:
 - Run 'ps aux | grep bacula-sd' and check who the Bacula SD is running as and if possible find what group it's running under.

Is there an user bacula, but it's running by root
 
 - Check permissions on the directory /bks/ - make sure that the user/group above has full permissions to this directory.

The Directory has permissions for bacula.bacula: 755 to folder /bks/
 
 - Does the file /bks/Vol0002 actually exist on the filesystem? If not, has the volume /bks/Vol0002 been manually deleted from the filesystem, without being deleted from the Bacula catalog?

Doesn't existed, i had to create Vol0002
 

HTH

Joe

Thanks a lot.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombiahttp://www.jpilldev.net

Post Volume Doesnt create automatically 
-----Original message-----
From: Juan Pablo Botero <juanpabloboterolopez < at > gmail.com>
Sent: Thu 12-04-2012 21:30
Subject: Re: [Bacula-users] Volume Doesn't create automatically
Attachment: inline.txt, inline.txt
To: bacula-users < at > lists.sourceforge.net;
Hi

2012/4/12 Joe Nyland <joe < at > joenyland.co.uk <mailto:joe < at > joenyland.co.uk> >
-----Original message-----
From:   Juan Pablo Botero <juanpabloboterolopez < at > gmail.com
<mailto:juanpabloboterolopez < at > gmail.com> >
Sent:   Wed 11-04-2012 20:20
Subject:        [Bacula-users] Volume Doesn't create automatically
Attachment:     inline.txt, inline.txt
To:     bacula-users < at > lists.sourceforge.net
<mailto:bacula-users < at > lists.sourceforge.net> ;
Hello.

When is necessary that bacula uses the next Volume i Got the

511 578 092 (01:56 p.m.):
1-abr 12:35 bacula-sd JobId 35: Warning: mount.c:227 Open device
"StorageDevice" (/bks/) Volume "Vol0002" failed: ERR=dev.c:549 Could not open:
/bks/Vol0002, ERR=No such file or directory

The bacula-sd.conf in section Device is:

#
Device {
    Name = StorageDevice
    Media Type = File
    Archive Device = /bks
    LabelMedia = yes
    AutomaticMount = yes
    AlwaysOpen = no
}

That was today; is there any value that i forgot to automatically create the
volume?

Thanks.

--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.net <http://www.jpilldev.net> <http://www.jpilldev.net
<http://www.jpilldev.net> >

It might be worth showing the list your Storage and Pool resources from
bacula-dir.conf too.
 
The Storage Definition

Storage {
  Name = TheFiles
# Do not use "localhost" here
  Address = 192.168.1.45           # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "thePassword"
  Device = StorageDevice
  Media Type = File
}

Pool Resource:

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Maximum Volume Jobs= 20
  Label Format = Vol
}

 

Nonetheless, the first things that come to my mind with this message is:
 - Run 'ps aux | grep bacula-sd' and check who the Bacula SD is running as and
if possible find what group it's running under.

Is there an user bacula, but it's running by root
 
 - Check permissions on the directory /bks/ - make sure that the user/group
above has full permissions to this directory.

The Directory has permissions for bacula.bacula: 755 to folder /bks/
 
 - Does the file /bks/Vol0002 actually exist on the filesystem? If not, has the
volume /bks/Vol0002 been manually deleted from the filesystem, without being
deleted from the Bacula catalog?

Doesn't existed, i had to create Vol0002
 
HTH

Joe

Thanks a lot.

Hmm, sorry, I missed that it was the SD that had reported this error.

We could do with seeing the full logs around this message - looking at one message on it's own doesn't give us the full picture of what's going on. Preferably, show us the logs from the start of the job.

Joe

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB