Re: [Bacula-users] Bacula stops writing to disk volume after 2GB

2012-12-10 Thread m.list
lst_hoe02 wrote
 If this is really NFS double-check that both sides agree to use at  
 least NFSv3 as older NFS versions have a 2GB limit and Bacula clearly  
 is not able to write more data to the file in question. 

Spot on, in /etc/autofs.master the file system was mounted with the option
-nfsvers=2. After changing this to -fstype=nfs4 eveything works fine.





--
View this message in context: 
http://bacula.10910.n7.nabble.com/Bacula-stops-writing-to-disk-volume-after-2GB-tp54213p73634.html
Sent from the Bacula - Users mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula stops writing to disk volume after 2GB

2012-12-06 Thread m.list

Bacula Version: 5.2.5

I have configured bacula to write volumes to disk, however bacula stops
writing to the volume as soon as it reaches 2gb. The file system is not an
issue as I have stored files larger than 2gb. 


06-Dec 17:22 backup-sd JobId 8421: End of Volume Full-Monthly-0005 at
0:2147475577 on device FileStorage (/nfs/backup-pool). Write of 64512
bytes got 8069.
06-Dec 17:22 backup-sd JobId 8421: End of medium on Volume
Full-Monthly-0005 Bytes=2,147,475,578 Blocks=33,288 at 06-Dec-2012 


backup1@backup:/nfs/backup-pool$ ls -alh Full-Monthly-0005 br
-rw-r- 1 bacula tape 2.0G Dec  3 16:14 Full-Monthly-0005


bacula-dir.conf:
Pool {
 Name = Full-Monthly
 Pool Type = Backup
 Recycle = yes
 Volume Retention = 5 months
 Volume Use Duration = 1 day
 Maximum Volumes = 5
 Maximum Volume Bytes = 12gb
}

bacula-sd.conf:
Device {
 Name = FileStorage
 Media Type = File
 Archive Device = /nfs/backup-pool
 LabelMedia = yes   # lets Bacula label unlabeled media
 Random Access = Yes
 RemovableMedia = no
 AlwaysOpen = no
 Label media = yes
 Maximum Volume Size = 12gb
}

In my original configuration Maximum Volume Bytes and Maximum Volume Size
were not set at all and so should have defauted to no maximum but that did
not work either.


llist media pool=Full-Monthly

  MediaId: 72
   VolumeName: Full-Monthly-0005
 Slot: 0
   PoolId: 5
MediaType: File
 FirstWritten: 2012-12-06 16:25:09
  LastWritten: 2012-12-06 17:22:21
LabelDate: 2012-12-06 16:25:03
  VolJobs: 1
 VolFiles: 0
VolBlocks: 33,288
VolMounts: 3
 VolBytes: 2,147,475,578
VolErrors: 0
VolWrites: 99,870
 VolCapacityBytes: 0
VolStatus: Full
  Enabled: 1
  Recycle: 1
 VolRetention: 12,960,000
   VolUseDuration: 86,400
   MaxVolJobs: 0
  MaxVolFiles: 0
  MaxVolBytes: 12,000,000,000
InChanger: 0
  EndFile: 0
 EndBlock: 2,147,475,577
 VolParts: 0
LabelType: 0
StorageId: 1
 DeviceId: 0
   LocationId: 0
 RecycleCount: 2
 InitialWrite: -00-00 00:00:00
ScratchPoolId: 0
RecyclePoolId: 0
  Comment: NULL


-- 
View this message in context: 
http://old.nabble.com/Bacula-stops-writing-to-disk-volume-after-2GB-tp34767126p34767126.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula stops writing to disk volume after 2GB

2012-12-06 Thread Melissari, Ryan
 Bacula Version: 5.2.5
 
 I have configured bacula to write volumes to disk, however bacula
 stops
 writing to the volume as soon as it reaches 2gb. The file system is
 not an
 issue as I have stored files larger than 2gb.
 
 
 06-Dec 17:22 backup-sd JobId 8421: End of Volume Full-Monthly-0005
 at
 0:2147475577 on device FileStorage (/nfs/backup-pool). Write of
 64512
 bytes got 8069.
 06-Dec 17:22 backup-sd JobId 8421: End of medium on Volume
 Full-Monthly-0005 Bytes=2,147,475,578 Blocks=33,288 at 06-Dec-2012
 
 
 backup1@backup:/nfs/backup-pool$ ls -alh Full-Monthly-0005 br
 -rw-r- 1 bacula tape 2.0G Dec  3 16:14 Full-Monthly-0005
 
 
 bacula-dir.conf:
 Pool {
  Name = Full-Monthly
  Pool Type = Backup
  Recycle = yes
  Volume Retention = 5 months
  Volume Use Duration = 1 day
  Maximum Volumes = 5
  Maximum Volume Bytes = 12gb
 }
 
 bacula-sd.conf:
 Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /nfs/backup-pool
  LabelMedia = yes   # lets Bacula label unlabeled
  media
  Random Access = Yes
  RemovableMedia = no
  AlwaysOpen = no
  Label media = yes
  Maximum Volume Size = 12gb
 }
 
 In my original configuration Maximum Volume Bytes and Maximum Volume
 Size
 were not set at all and so should have defauted to no maximum but
 that did
 not work either.
 
 
 llist media pool=Full-Monthly
 
   MediaId: 72
VolumeName: Full-Monthly-0005
  Slot: 0
PoolId: 5
 MediaType: File
  FirstWritten: 2012-12-06 16:25:09
   LastWritten: 2012-12-06 17:22:21
 LabelDate: 2012-12-06 16:25:03
   VolJobs: 1
  VolFiles: 0
 VolBlocks: 33,288
 VolMounts: 3
  VolBytes: 2,147,475,578
 VolErrors: 0
 VolWrites: 99,870
  VolCapacityBytes: 0
 VolStatus: Full
   Enabled: 1
   Recycle: 1
  VolRetention: 12,960,000
VolUseDuration: 86,400
MaxVolJobs: 0
   MaxVolFiles: 0
   MaxVolBytes: 12,000,000,000
 InChanger: 0
   EndFile: 0
  EndBlock: 2,147,475,577
  VolParts: 0
 LabelType: 0
 StorageId: 1
  DeviceId: 0
LocationId: 0
  RecycleCount: 2
  InitialWrite: -00-00 00:00:00
 ScratchPoolId: 0
 RecyclePoolId: 0
   Comment: NULL
 
 

If the volume was created before you made the changes to the pool resource, you 
will need to run the update volume command from the console for the volumes to 
refresh their values.  Just to double-check, what is the file system for 
/nfs/backup-pool/ ?

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula stops writing to disk volume after 2GB

2012-12-06 Thread lst_hoe02

Zitat von m.list mail.list...@googlemail.com:

 Bacula Version: 5.2.5

 I have configured bacula to write volumes to disk, however bacula stops
 writing to the volume as soon as it reaches 2gb. The file system is not an
 issue as I have stored files larger than 2gb.


 06-Dec 17:22 backup-sd JobId 8421: End of Volume Full-Monthly-0005 at
 0:2147475577 on device FileStorage (/nfs/backup-pool). Write of 64512
 bytes got 8069.

If this is really NFS double-check that both sides agree to use at  
least NFSv3 as older NFS versions have a 2GB limit and Bacula clearly  
is not able to write more data to the file in question. On the other  
side you can easily work around this with splitting many volumes of  
2GB if your expected data size isn't that big.

Regards

Andreas



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users