On Monday 21 May 2007 10:11, deshou mo wrote:
>
> Hello,
> I encode the bacula-sd.conf file in UTF-8.The following is my Device
resource definition:
> Device { Name = FileStorage Media Type = File Archive Device = "H:
\\xxxxxx" ##where xxxxxx is a Chinese folder name. LabelMedia = yes
Random Access = Yes AutomaticMount = yes RemovableMedia = no
AlwaysOpen = no}
> The bacula error message is: Sending label command for
Volume "MyFileVolume001" Slot 0 ... 3910 Unable to open device "FileStorage"
(H:\xxxx): ERR=dev.c:431 Could not open: H:\xxxx/MyFileVolume001, ERR=No such
file or directory
It would be helpful if you fix your email program not to wrap lines. If you
look at the above, it is very difficult to read.
I suspect that the Windows Storage daemon server has not been modified to
convert the UTF-8 (Unix) device name into UTF-16 (Windows) -- a bit of a
pity.
We have done this conversion in the FD, but it appears it was not done in
either the SD or the Director, so using Chinese names in the SD and DIR
(other than in FileSet resources) is unlikely to work on Windows systems
where the UTF-8 must be converted to UTF-16.
I'd recommend that for all the configuration directories (devices, working
directories, ...) you use simple ASCII paths.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users