Searched refs:snapshot (Results 176 - 200 of 212) sorted by relevance

123456789

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib77 log_must zfs snapshot ${current_snap}
H A Dzfs_upgrade_001_pos.ksh87 log_must zfs snapshot ${current_snap}
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapused/
H A Dsnapused.kshlib39 if [[ "$(get_prop type $dataset)" == "snapshot" ]]; then
71 if [[ "$(get_prop type $child)" == "snapshot" ]]; then
97 if [[ "$(get_prop type $dataset)" == "snapshot" ]]; then
132 if [[ "$(get_prop type $dataset)" == "snapshot" ]]; then
160 for child in $(zfs list -rH -t filesystem,volume,snapshot -o name $dataset)
168 if [[ "$(get_prop type $child)" != "snapshot" ]]; then
176 # snapshot
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_011_pos.ksh38 # snapshot,clone,rename,upgrade,send,receive.
43 # 2. Check set user|group quota via zfs snapshot|clone|list -o
68 log_must zfs snapshot $TESTPOOL/fs@snap
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib215 snapshot)
308 snapshot)
384 log_must zfs snapshot $snap
424 log_must zfs snapshot $dtstsnap
671 # Take a snapshot of an unmounted dataset
672 # Take a snapshot of an mounted dataset
673 # Create a snapshot by making a directory in the .zfs/snapshot directory
688 user_run $user zfs snapshot $snap
698 user_run $user zfs snapshot
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Dclone.ksh87 # make snapshot
91 zfs snapshot $ACTIVE_SRC@$SNAPNAME
/illumos-gate/usr/src/cmd/mdb/tools/scripts/
H A Dmdb.sh30 mdb_ws=/net/mdb.eng/mdb/snapshot/latest # Snapshot of latest workspace
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c38 static void insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev);
98 find_parent(struct snapshot *ss, struct iodev_snapshot *iodev)
327 insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev)
401 choose_iodevs(struct snapshot *ss, struct iodev_snapshot *iodevs,
533 acquire_iodev_errors(struct snapshot *ss, kstat_ctl_t *kc)
878 create_li_delete_lti(struct snapshot *ss, struct iodev_snapshot *list)
942 create_lt(struct snapshot *ss, struct iodev_snapshot *list)
1009 acquire_iodevs(struct snapshot *ss, kstat_ctl_t *kc, struct iodev_filter *df)
1021 * lookup_ks_name() will result in a fresh snapshot.
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh22 # 1. Create a list of valid and invalid arguments for range snapshot
45 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
46 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib130 for ds in $(zfs list -r -Ho name -t snapshot $dsname | \
395 log_note "Didn't find snapshot command for $fullname"
399 # This works whether or not the snapshot was recursive
400 for ds in $(zfs list -r -Ho name -t snapshot $dsname | \
404 log_note "Didn't find \"ioctl snapshot\" for $ds"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend-c_embedded_blocks.ksh61 log_must zfs snapshot $sendfs@now
H A Dsend-cpL_varied_recsize.ksh173 log_must zfs snapshot $TESTPOOL/$recsize@snap
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlmgmt.c361 * Get the handle of a local snapshot of the link configuration. Note that
369 dlmgmt_door_getconfsnapshot_t snapshot; local
380 snapshot.ld_linkid = linkid;
381 snapshot.ld_cmd = DLMGMT_CMD_GETCONFSNAPSHOT;
386 if ((status = dladm_door_call(handle, &snapshot, sizeof (snapshot),
434 * If the specified dladm_conf_t is a read-only snapshot of the configuration,
435 * get a specific link propertie from that snapshot (nvl), otherwise, get
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c98 * Also data, such as dataset and snapshot properties,
588 * new snapshot.
749 /* build array of linked list snapshot struct ptrs */
1265 * zhp - Handle to the zfs snapshot whose information we're
1267 * name - The name of the snapshot we're processing.
1270 * node - The node structure that this snapshot belongs to.
1281 be_snapshot_list_t *snapshot,
1289 if (zfshp == NULL || name == NULL || snapshot == NULL || node == NULL) {
1297 snapshot->be_snapshot_name = strdup(name);
1303 snapshot
1278 be_get_ss_data( zfs_handle_t *zfshp, char *name, be_snapshot_list_t *snapshot, be_node_list_t *node) argument
[all...]
H A Dlibbe_priv.h90 char *obe_snap_name; /* Original BE snapshot name */
119 time_t origin_creation; /* snapshot creation time of clone */
120 const char *snapshot; /* snapshot of dataset being demoted */ member in struct:be_demote_data
/illumos-gate/usr/src/lib/brand/shared/zone/
H A Duninstall.ksh56 f_user_snap=$(gettext "Error: user snapshot(s) detected.")
57 f_stray_snap=$(gettext "Error: uncloned snapshot(s) detected.")
59 f_rm_snap=$(gettext "Error: please delete snapshot(s) and retry uninstall.")
119 # first figure out if the target fs has an origin snapshot
131 # descendants (filesystems and snapshot) of the specified
289 c=`/sbin/zfs list -H -t snapshot -o name -r $fs | grep "^$fs@" |
309 # - find the oldest clone of the youngest origin snapshot (which
354 # snapshot of a zone filesystem to a location outside of that
385 /sbin/zfs list -H -t snapshot -s creation -o name -r $fs |
408 # this snapshot ha
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A DMakefile35 snapshot.o
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_001_pos.ksh36 # Verifying 'zfs receive [<filesystem|snapshot>] -d <filesystem>' works.
75 log_assert "Verifying 'zfs receive [<filesystem|snapshot>] -d <filesystem>' works."
115 log_must zfs snapshot ${orig_snap[$i]}
142 log_note "Verifying 'zfs receive <snapshot>' works."
176 log_pass "Verifying 'zfs receive [<filesystem|snapshot>] -d <filesystem>' succeeds."
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c83 zjni_get_dataset_from_snapshot(const char *snapshot, char *dataset, argument
87 (void) strncpy(dataset, snapshot, len);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh54 # create a snapshot and a clone to test clone promote
55 log_must zfs snapshot $TESTPOOL/$TESTFS@snap
57 # create a file in the filesystem that isn't in the above snapshot
71 # send our snapshot to a known file in /tmp
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c892 * Gets the specified snapshot. If "snapshot" isn't defined, use the
893 * running snapshot. If the snapshot isn't found, that may or may
903 * The handle argument is NULL, or snaphot is not a valid snapshot name
910 _get_snapshot(scf_instance_t *inst, const char *snapshot, argument
926 /* Use running snapshot by default. */
927 if (snapshot == NULL)
930 err = scf_instance_get_snapshot(inst, snapshot, *snap);
1652 * The snaphot is not a valid snapshot nam
1936 scf_tmpl_get_by_pg_name(const char *fmri, const char *snapshot, const char *pg_name, const char *pg_type, scf_pg_tmpl_t *pg_tmpl, int flags) argument
2113 _get_next_iterator(scf_handle_t *h, scf_pg_tmpl_t *t, const char *snapshot, int exact) argument
2296 scf_tmpl_iter_pgs(scf_pg_tmpl_t *t, const char *fmri, const char *snapshot, const char *type, int flags) argument
6529 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot, scf_tmpl_errors_t **errs, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c176 * IBNEX_GET_SNAPSHOT Gets the "snapshot" back to user-land
177 * IBNEX_SNAPSHOT_SIZE What is "snapshot" size
199 char *snapshot = NULL; local
403 if (ibnex_get_snapshot(&snapshot, &snapshot_sz,
431 } else if (ddi_copyout(snapshot, ioc.buf,
439 kmem_free(snapshot, snapshot_sz);
526 IBTL_IBNEX_LIST_CLNTS_FLAG, &snapshot, &snapshot_sz,
550 } else if (ddi_copyout(snapshot, ioc.buf,
558 kmem_free(snapshot, snapshot_sz);
590 IBTL_IBNEX_UNCFG_CLNTS_FLAG, &snapshot,
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddevpool.c47 * snapshot of the current configuration. Only one process on the system
56 * the snapshot taken at the beginning of that transaction.
221 int snapshot = 0; local
302 * Return last snapshot if some
311 snapshot = 1;
345 if (snapshot == 0)
H A Dfssnap.c54 * This module implements the file system snapshot code, which provides a
58 * "fssnap" that represents the snapshot. Each snapshot is assigned a
60 * device with a high minor number is used to initiate snapshot creation and
63 * file system at the time the snapshot was created.
70 * When a snapshot is to be created, the user utility will send an ioctl to
73 * hold old data before it is overwritten, and other snapshot parameters.
77 * no changes occur while the snapshot is being created. It then calls
78 * fssnap_create() to create state for a new snapshot, from which an opaque
79 * handle is returned with the snapshot locke
139 static struct snapshot_id *snapshot = NULL; variable in typeref:struct:snapshot_id
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c71 time_t origin_creation; /* snapshot creation time of clone */
72 const char *snapshot; /* snapshot of dataset being demoted */ member in struct:clone_data
182 * Run the brand's pre-snapshot hook before we take a ZFS snapshot of the zone.
203 * Run the brand's post-snapshot hook after we take a ZFS snapshot of the zone.
224 * This is a ZFS snapshot iterator call-back function which returns the
257 * Take a ZFS snapshot to be used for cloning the zone.
269 * zone snapshot
[all...]

Completed in 200 milliseconds

123456789