Searched refs:old_disk (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c668 char *old_disk = disk; local
675 disk = rawname(old_disk);
676 if (disk != old_disk) {
678 free(old_disk);
682 * If disk == old_disk, then disk_dynamic's state
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c3184 char *poolname, *old_disk, *new_disk; local
3218 old_disk = argv[1];
3226 new_disk = old_disk;
3257 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c2594 * Attach new_disk (fully described by nvroot) to old_disk.
2599 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing)
2616 "cannot replace %s with %s"), old_disk, new_disk);
2619 "cannot attach %s to %s"), new_disk, old_disk);
2622 if ((tgt = zpool_find_vdev(zhp, old_disk, &avail_spare, &l2cache,
2598 zpool_vdev_attach(zpool_handle_t *zhp, const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) argument

Completed in 79 milliseconds