Lines Matching refs:fsend
244 bs->fsend(invalid_cmd); in handle_connection_request()
260 bs->fsend(err_msg.c_str()); in handle_connection_request()
352 return dir->fsend(OKclient); in client_cmd()
356 dir->fsend("3902 Bad %s cmd\n", "client"); in client_cmd()
436 return dir->fsend(OKstore); in storage_cmd()
440 dir->fsend(BADcmd, "storage"); in storage_cmd()
464 dir->fsend(_("3991 Bad setdebug command: %s\n"), dir->msg); in setdebug_cmd()
482 return dir->fsend(OKsetdebug, lvl, trace_flag, options, tags); in setdebug_cmd()
507 dir->fsend(_("3903 Error scanning cancel command.\n")); in cancel_cmd()
511 dir->fsend(_("3904 Job %s not found.\n"), Job); in cancel_cmd()
540 dir->fsend(_("3000 JobId=%ld Job=\"%s\" marked to be %s.\n"), in cancel_cmd()
616 dir->fsend(_("3908 Error reserving volume: %s\n"), jcr->errmsg); in do_label()
630 dir->fsend(_("3999 Device \"%s\" %s"), dev_name.c_str(), dev->errmsg); in do_label()
653 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), dev_name.c_str()); in do_label()
658 dir->fsend(_("3903 Error scanning label command: %s\n"), jcr->errmsg); in do_label()
721 dir->fsend(_("3908 Error reserving volume \"%s\": %s\n"), volname, jcr->errmsg); in truncate_cache_cmd()
730 dir->fsend(_("3000 OK truncate cache for volume \"%s\" %d part(s) %sB. %s\n"), in truncate_cache_cmd()
733 … dir->fsend(_("3900 Truncate cache for volume \"%s\" failed. ERR=%s\n"), volname, dev->errmsg); in truncate_cache_cmd()
741 … dir->fsend(_("3000 OK truncate cache for volume \"%s\" %d part(s) %sB. %s\n"), volname, in truncate_cache_cmd()
744 … dir->fsend(_("3900 Truncate cache for volume \"%s\" failed. ERR=%s\n"), volname, dev->errmsg); in truncate_cache_cmd()
759 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), dev_name.c_str()); in truncate_cache_cmd()
764 dir->fsend(_("3911 Error scanning truncate command: %s\n"), jcr->errmsg); in truncate_cache_cmd()
781 jcr->dir_bsock->fsend(_("3900 Not yet implemented\n")); in cloud_prunecache_cmd()
799 dir->fsend(_("3912 Error scanning the command\n")); in cloud_list_cmd()
808 dir->fsend(_("3900 Error reserving device %s %s\n"), dev_name.c_str(), mtype); in cloud_list_cmd()
816 dir->fsend(_("3900 Error cannot get cloud Volume list. ERR=%s\n"), errmsg); in cloud_list_cmd()
822 dir->fsend("volume=%s\n", vol); in cloud_list_cmd()
829 dir->fsend(_("3900 Error cannot get cloud Volume list. ERR=%s\n"), errmsg); in cloud_list_cmd()
839 … dir->fsend("part=%d size=%lld mtime=%lld hash=%s\n", i, p->size, p->mtime, p->hash64); in cloud_list_cmd()
841 dir->fsend("part=%d size=%lld mtime=%lld hash=%s\n", i, p->size, p->mtime); in cloud_list_cmd()
903 dir->fsend(_("3908 Error reserving volume \"%s\": %s\n"), volname, jcr->errmsg); in upload_cmd()
922 dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev_name.c_str(), dev->errmsg); in upload_cmd()
936 dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev_name.c_str(), dev->errmsg); in upload_cmd()
952 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), dev_name.c_str()); in upload_cmd()
957 dir->fsend(_("3912 Error scanning upload command: ERR=%s\n"), jcr->errmsg); in upload_cmd()
961 dir->fsend(_("3000 OK upload.\n")); in upload_cmd()
963 dir->fsend(_("3999 Error with the upload: ERR=%s\n"), err); in upload_cmd()
1030 dir->fsend(_("3929 Unable to open device \"%s\": ERR=%s\n"), in label_volume_if_ok()
1046 dir->fsend(_( in label_volume_if_ok()
1054 dir->fsend(_("3921 Wrong volume mounted.\n")); in label_volume_if_ok()
1058 dir->fsend(_("3922 Cannot relabel an ANSI/IBM labeled Volume.\n")); in label_volume_if_ok()
1067 dir->fsend(_("3912 Failed to label Volume %s: ERR=%s\n"), in label_volume_if_ok()
1070 dir->fsend(_("3912 Failed to label Volume %s: ERR=%s\n"), in label_volume_if_ok()
1082 dir->fsend(_("3913 Failed to open next part: ERR=%s\n"), dcr->jcr->errmsg); in label_volume_if_ok()
1097 dir->fsend("3000 OK label. VolBytes=%lld VolABytes=%lld VolType=%d Volume=\"%s\" Device=%s\n", in label_volume_if_ok()
1102 dir->fsend(_("3917 Failed to label Volume: ERR=%s\n"), dcr->jcr->errmsg); in label_volume_if_ok()
1105 dir->fsend(_("3918 Failed to label Volume (no media): ERR=%s\n"), dcr->jcr->errmsg); in label_volume_if_ok()
1108 dir->fsend(_("3919 Cannot label Volume. " in label_volume_if_ok()
1116 dir->fsend(_("3999 Error Device \"%s\": %s\n"), in label_volume_if_ok()
1159 dir->fsend(_("3001 Mounted Volume: %s\n"), dev->VolHdr.VolumeName); in read_label()
1163 dir->fsend(_("3902 Cannot mount Volume on Storage Device \"%s\" because:\n%s"), in read_label()
1352 dir->fsend("3001 OK mount requested. %sDevice=%s\n", in mount_cmd()
1373 dir->fsend(_("3901 Unable to open device \"%s\": ERR=%s\n"), in mount_cmd()
1394 dir->fsend(_("3001 Device \"%s\" is mounted with Volume \"%s\"\n"), in mount_cmd()
1397 dir->fsend(_("3905 Device \"%s\" open but no Bacula volume is mounted.\n" in mount_cmd()
1408 dir->fsend(_("3001 Device \"%s\" is doing acquire.\n"), in mount_cmd()
1413 dir->fsend(_("3903 Device \"%s\" is being labeled.\n"), in mount_cmd()
1424 dir->fsend(_("3001 Device \"%s\" is mounted with Volume \"%s\"\n"), in mount_cmd()
1427 dir->fsend(_("3905 Device \"%s\" open but no Bacula volume is mounted.\n" in mount_cmd()
1436 dir->fsend(_("3901 Unable to open device \"%s\": ERR=%s\n"), in mount_cmd()
1443 dir->fsend(_("3001 Device \"%s\" is already mounted with Volume \"%s\"\n"), in mount_cmd()
1446 dir->fsend(_("3905 Device \"%s\" open but no Bacula volume is mounted.\n" in mount_cmd()
1452 … dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev->print_name(), dev->errmsg); in mount_cmd()
1458 dir->fsend(_("3002 Device \"%s\" is mounted.\n"), dev->print_name()); in mount_cmd()
1460 dir->fsend(_("3907 %s"), dev->bstrerror()); in mount_cmd()
1463 dir->fsend(_("3906 File device \"%s\" is always mounted.\n"), in mount_cmd()
1472 dir->fsend(_("3930 Device \"%s\" is being released.\n"), dev->print_name()); in mount_cmd()
1476 dir->fsend(_("3905 Unknown wait state %d\n"), dev->blocked()); in mount_cmd()
1482 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), devname.c_str()); in mount_cmd()
1486 dir->fsend(_("3909 Error scanning mount command: %s\n"), jcr->errmsg); in mount_cmd()
1512 dir->fsend(_("3003 Device \"%s\" already enabled.\n"), dev->print_name()); in enable_cmd()
1516 dir->fsend(_("3002 Device \"%s\" enabled.\n"), dev->print_name()); in enable_cmd()
1520 dir->fsend(_("3004 Device \"%s\" deleted %d alert%s.\n"), in enable_cmd()
1529 dir->fsend(_("3907 Error scanning \"enable\" command: %s\n"), jcr->errmsg); in enable_cmd()
1555 dir->fsend(_("3002 Device \"%s\" disabled.\n"), dev->print_name()); in disable_cmd()
1562 dir->fsend(_("3907 Error scanning \"disable\" command: %s\n"), jcr->errmsg); in disable_cmd()
1591 dir->fsend(_("3002 Device \"%s\" unmounted.\n"), in unmount_cmd()
1594 dir->fsend(_("3907 %s"), dev->bstrerror()); in unmount_cmd()
1598 dir->fsend(_("3901 Device \"%s\" is already unmounted.\n"), in unmount_cmd()
1610 dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev->print_name(), dev->errmsg); in unmount_cmd()
1615 dir->fsend(_("3907 %s"), dev->bstrerror()); in unmount_cmd()
1618 dir->fsend(_("3001 Device \"%s\" unmounted.\n"), in unmount_cmd()
1623 dir->fsend(_("3902 Device \"%s\" is busy in acquire.\n"), in unmount_cmd()
1627 dir->fsend(_("3903 Device \"%s\" is being labeled.\n"), in unmount_cmd()
1644 dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev->print_name(), dev->errmsg); in unmount_cmd()
1649 dir->fsend(_("3907 %s"), dev->bstrerror()); in unmount_cmd()
1651 dir->fsend(_("3002 Device \"%s\" unmounted.\n"), in unmount_cmd()
1658 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), devname.c_str()); in unmount_cmd()
1663 dir->fsend(_("3907 Error scanning unmount command: %s\n"), jcr->errmsg); in unmount_cmd()
1691 dir->fsend(_("3916 Error scanning action_on_purge command\n"));
1734 dir->fsend(_("3921 Device \"%s\" already released.\n"), in release_cmd()
1741 dir->fsend(_("3922 Device \"%s\" waiting for sysop.\n"), in release_cmd()
1747 dir->fsend(_("3922 Device \"%s\" waiting for mount.\n"), in release_cmd()
1751 dir->fsend(_("3923 Device \"%s\" is busy in acquire.\n"), in release_cmd()
1755 dir->fsend(_("3914 Device \"%s\" is being labeled.\n"), in release_cmd()
1763 dir->fsend(_("3022 Device \"%s\" released.\n"), in release_cmd()
1769 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), devname.c_str()); in release_cmd()
1774 dir->fsend(_("3927 Error scanning release command: %s\n"), jcr->errmsg); in release_cmd()
1836 sock->fsend(ERROR_bootstrap); in get_bootstrap_file()
1839 return sock->fsend(OK_bootstrap); in get_bootstrap_file()
1883 dir->fsend(_("3998 Device \"%s\" is not an autochanger.\n"), in changer_cmd()
1896 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), devname.c_str()); in changer_cmd()
1900 dir->fsend(_("3909 Error scanning autochanger drives/list/slots command: %s\n"), in changer_cmd()
1927 dir->fsend(_("3999 Error Device \"%s\": %s\n"), dev->print_name(), dev->errmsg); in readlabel_cmd()
1939 dir->fsend(_("3999 Device \"%s\" not found or could not be opened.\n"), devname.c_str()); in readlabel_cmd()
1943 dir->fsend(_("3909 Error scanning readlabel command: %s\n"), jcr->errmsg); in readlabel_cmd()
1978 dir->fsend(_("3001 Volume=%s Slot=%d\n"), dev->VolHdr.VolumeName, Slot); in read_volume_label()
1982 dir->fsend(_("3902 Cannot mount Volume on Storage Device \"%s\" because:\n%s"), in read_volume_label()
2011 dir->fsend(_("3931 Device \"%s\" is BLOCKED. user unmounted.\n"), in send_dir_busy_message()
2015 … dir->fsend(_("3932 Device \"%s\" is BLOCKED. user unmounted during wait for media/mount.\n"), in send_dir_busy_message()
2019 dir->fsend(_("3933 Device \"%s\" is BLOCKED waiting for media.\n"), in send_dir_busy_message()
2023 dir->fsend(_("3934 Device \"%s\" is being initialized.\n"), in send_dir_busy_message()
2027 dir->fsend(_("3935 Device \"%s\" is blocked labeling a Volume.\n"), in send_dir_busy_message()
2031 dir->fsend(_("3935 Device \"%s\" is blocked for unknown reason.\n"), in send_dir_busy_message()
2036 dir->fsend(_("3936 Device \"%s\" is busy reading.\n"), in send_dir_busy_message()
2039 dir->fsend(_("3937 Device \"%s\" is busy with writers=%d reserved=%d.\n"), in send_dir_busy_message()