Print this page
NEX-13374 NDMP should be able to backup unmounted ZFS filesystems
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-2911 NDMP logging should use syslog and is too chatty
NEX-1123 NDMP commands can not uniquely identify Nexenta and the file server version (currently 4.0.1) and Sun Microsystems.
NEX-894 Default location of NDMP log file should be under /var/log
*** 1,8 ****
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
* BSD 3 Clause License
*
--- 1,8 ----
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2017 Nexenta Systems, Inc. All rights reserved.
*/
/*
* BSD 3 Clause License
*
*** 90,99 ****
--- 90,103 ----
{"restore-quarantine", "", 0, NDMP_CF_NOTINIT},
{"overwrite-quarantine", "", 0, NDMP_CF_NOTINIT},
{"zfs-force-override", "", 0, NDMP_CF_NOTINIT},
{"drive-type", "", 0, NDMP_CF_NOTINIT},
{"debug-mode", "", 0, NDMP_CF_NOTINIT},
+ {"vendor-name", "", 0, NDMP_CF_NOTINIT},
+ {"product-name", "", 0, NDMP_CF_NOTINIT},
+ {"autosync-support", "", 0, NDMP_CF_NOTINIT},
+ {"hpr-support", "", 0, NDMP_CF_NOTINIT},
};
/*
* Loads all the NDMP configuration parameters and sets up the
* config table.
*** 106,116 ****
char *value;
for (id = 0; id < NDMP_MAXALL; id++) {
cfg = &ndmpd_cfg_table[id];
if ((ndmp_get_prop(cfg->sc_name, &value)) == -1) {
! syslog(LOG_DEBUG, "%s %s",
cfg->sc_name, ndmp_strerror(ndmp_errno));
continue;
}
/*
* enval == 0 could mean two things, either the
--- 110,120 ----
char *value;
for (id = 0; id < NDMP_MAXALL; id++) {
cfg = &ndmpd_cfg_table[id];
if ((ndmp_get_prop(cfg->sc_name, &value)) == -1) {
! syslog(LOG_ERR, "%s %s",
cfg->sc_name, ndmp_strerror(ndmp_errno));
continue;
}
/*
* enval == 0 could mean two things, either the