Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Problem Resolution Sure Solution 1323221.1 : lucreate errors with "cannot create '.': missing dataset name"
In this Document Created from <SR 3-3590664561>
Applies to:Sun SPARC Enterprise M4000 Server - Version: Not ApplicableSolaris SPARC Operating System - Version: 10 10/08 U6 to 10 9/10 [Release: 10.0 to 10.0] Information in this document applies to any platform. Symptoms#lucreate -n sol_10u8_sparc_patch Analyzing system configuration. Comparing source boot environment <sol_10u8_sparc> file systems with the file system(s) you specified for the new boot environment. Determining which file systems should be in the new boot environment. Updating boot environment description database on all BEs. Updating system configuration files. The device </dev/dsk/c3t5000C5001D6DA5FBd0s0> is not a root device for any boot environment; cannot get BE ID. Creating configuration for boot environment <sol_10u8_sparc_patch>. Source boot environment is <sol_10u8_sparc>. Creating boot environment <sol_10u8_sparc_patch>. Cloning file systems from boot environment <sol_10u8_sparc> to create boot environment <sol_10u8_sparc_patch>. Creating snapshot for <rpool/ROOT/sol_10u8_sparc> on <rpool/ROOT/sol_10u8_sparc@sol_10u8_sparc_patch>. Creating clone for <rpool/ROOT/sol_10u8_sparc@sol_10u8_sparc_patch> on <rpool/ROOT/sol_10u8_sparc_patch>. Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/sol_10u8_sparc_patch>. Creating snapshot for <sst2u361> on <sst2u361@sol_10u8_sparc_patch>. cannot create '.': missing dataset name Creating clone for <sst2u361@sol_10u8_sparc_patch> on <sst2u361-sol_10u8_sparc_patch>. ERROR: cannot create 'sst2u361-sol_10u8_sparc_patch': missing dataset name ERROR: Unable to clone <> on <>. /usr/lib/lu/luclonefs: sst2u361@sol_10u8_sparc_patch: not found cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist ERROR: Failed to mount dataset <sst2u361-sol_10u8_sparc_patch> cannot open 'sst2u361-sol_10u8_sparc_patch': dataset does not exist sst2u361: Bad document property Creating snapshot for <sst2u515> on <sst2u515@sol_10u8_sparc_patch>. cannot create '.': missing dataset name Creating clone for <sst2u515@sol_10u8_sparc_patch> on <sst2u515-sol_10u8_sparc_patch>. ERROR: cannot create 'sst2u515-sol_10u8_sparc_patch': missing dataset name ERROR: Unable to clone <> on <>. /usr/lib/lu/luclonefs: sst2u515@sol_10u8_sparc_patch: not found cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist ERROR: Failed to mount dataset <sst2u515-sol_10u8_sparc_patch> cannot open 'sst2u515-sol_10u8_sparc_patch': dataset does not exist sst2u515: Bad document property Population of boot environment <sol_10u8_sparc_patch> successful. Creation of boot environment <sol_10u8_sparc_patch> successful. Changeszpool_list******** NAME SIZE USED AVAIL CAP HEALTH ALTROOT rpool 136G 38.5G 97.5G 28% ONLINE - sst2u361 19.9G 9.70G 10.2G 48% ONLINE - sst2u515 19.9G 4.24G 15.6G 21% ONLINE - zoneadm list ********** ID NAME STATUS PATH BRAND IP 0 global running / native shared 8 sst2u361 running /zone/sst2u361 native shared 10 sst2u515 running /zone/sst2u515 native shared zfs get mountpoint sst2u361 ***** NAME PROPERTY VALUE SOURCE sst2u361 mountpoint /zone/sst2u361 local zonecfg -z sst2u361 info ***** zonename: sst2u361 zonepath: /zone/sst2u361 brand: native autoboot: true bootargs: ----snip---- CauseLucreate will fail when ZFS-based zones are located at the top of ZFS pools. The ZFS Administration Guide will be updated (via CR 7016579) to reflect the following:Live upgrade cannot be used to create alternate BE if the source BE has a non global zone with zonepath being the mountpoint of top level pool dataset. For example: if there is a pool zone_pool with pool dataset mounted as /zone_pool, Then in this case user should not create a non global zone with zonepath=/zone_pool. However user can have following possible zonepath configurations : --> zonepath can be a subdirectory of pool dataset mountpoint for example /zone_pool/zonepath --> zonepath can be a mounpoint of desendent dataset of a pool. for example if there is a dataset zone_pool/zone1 mounted at /zones/zone1, zonepath can be /zones/zone1 --> zonepath can be a subdirectory of desendent dataset of a pool. for example if there is a dataset zone_pool/zone1 mounted at /zones/zone1, zonepath can be /zones/zone1/zone_dir Solution1.- make a zone backup2.- change the zone dataset zoneadm -z sst2u361 halt zfs umount sst2u361 zfs set mountpoint=/sst2u361 sst2u361 zfs mount sst2u361 zfs create sst2u361/zoneroot # pwd /sst2u361 # ls dev root zoneroot # mv dev /sst2u361/zoneroot # mv root /sst2u361/zoneroot zfs set mountpoint=/zone/sst2u361 sst2u361/zoneroot chmod 700 /zone/sst2u361 zoneadm -z sst2u361 boot 3.- Run lucreate again. References<BUG:6867013> - LUCREATE FAILS WHEN ZFS-BASED ZONES ARE LOCATED AT THE TOP OF ZFS POOLSAttachments This solution has no attachment |
||||||||||||
|