SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Preventing linux to change the device name
Author Message
Post Preventing linux to change the device name 
I got a problem rebooting bacula system, when the machine restart I
got errors like:

/etc/bacula/scripts/mtx-changer /dev/sg3 load 3 /dev/nst0 0

mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed


looking in deep I found that link changed the name of the device from
/dev/sg3 to /dev/sg4 changing this params
in bacula-sd.conf makes bacula working again...how can I prevent this problems?

tank you
Mauro

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Preventing linux to change the device name 
On Wed, 7 Dec 2011 14:45:27 +0100
Mauro Colorio <mauro.colorio < at > gmail.com> wrote:

I got a problem rebooting bacula system, when the machine restart I
got errors like:
[...]
looking in deep I found that link changed the name of the device from
/dev/sg3 to /dev/sg4 changing this params
in bacula-sd.conf makes bacula working again...how can I prevent this
problems?
By creating a symlink to it having a stable name using udev rules.
See http://wiki.debian.org/udev for instance.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Preventing linux to change the device name 
On Wed, Dec 7, 2011 at 8:45 AM, Mauro Colorio <mauro.colorio < at > gmail.com> wrote:
I got a problem rebooting bacula system, when the machine restart I
got errors like:

/etc/bacula/scripts/mtx-changer /dev/sg3 load 3 /dev/nst0 0

mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed


looking in deep I found that link changed the name of the device from
/dev/sg3 to /dev/sg4 changing this params
in bacula-sd.conf makes bacula working again...how can I prevent this problems?


udev rules. Search the list.

John

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
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