Dennis Clarke
2009-Dec-23 03:36 UTC
[zfs-discuss] invalid mountpoint ''mountpoint=legacy'' ?
Anyone seen this odd message ? It seems a tad counter intuitive. # uname -a SunOS gamma 5.11 snv_126 sun4u sparc SUNW,Sun-Fire-480R # cat /etc/release Solaris Express Community Edition snv_126 SPARC Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 19 October 2009 # ptime zpool create -f -o autoreplace=on -o version=10 \> -m mountpoint=legacy \ > fibre01 mirror c2t0d0 c3t16d0 \ > mirror c2t1d0 c3t17d0 \ > mirror c2t2d0 c3t18d0 \ > mirror c2t3d0 c3t19d0 \ > mirror c2t4d0 c3t20d0 \ > mirror c2t5d0 c3t21d0 \ > mirror c2t6d0 c3t22d0 \ > mirror c2t7d0 c3t23d0 \ > mirror c2t8d0 c3t24d0 \ > spare c2t10d0invalid mountpoint ''mountpoint=legacy'': must be an absolute path, ''legacy'', or ''none'' real 14.884950400 user 0.998020300 sys 3.334027400 -- Dennis Clarke dclarke at opensolaris.ca <- Email related to the open source Solaris dclarke at blastwave.org <- Email related to open source for Solaris
Dennis Clarke
2009-Dec-23 03:39 UTC
[zfs-discuss] invalid mountpoint ''mountpoint=legacy'' ?
I hate it when I do that .. 30 secs later I see -m mountpoint which is a Property but not specified as -o foo-bar format. erk # ptime zpool create -f -o autoreplace=on -o version=10 \> -m legacy \ > fibre01 mirror c2t0d0 c3t16d0 \ > mirror c2t1d0 c3t17d0 \ > mirror c2t2d0 c3t18d0 \ > mirror c2t3d0 c3t19d0 \ > mirror c2t4d0 c3t20d0 \ > mirror c2t5d0 c3t21d0 \ > mirror c2t6d0 c3t22d0 \ > mirror c2t7d0 c3t23d0 \ > mirror c2t8d0 c3t24d0 \ > spare c2t10d0real 12.367204400 user 0.712670500 sys 2.022335900 # # zpool status fibre01 pool: fibre01 state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using ''zpool upgrade''. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM fibre01 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 c3t16d0 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 c2t1d0 ONLINE 0 0 0 c3t17d0 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 c2t2d0 ONLINE 0 0 0 c3t18d0 ONLINE 0 0 0 mirror-3 ONLINE 0 0 0 c2t3d0 ONLINE 0 0 0 c3t19d0 ONLINE 0 0 0 mirror-4 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 c3t20d0 ONLINE 0 0 0 mirror-5 ONLINE 0 0 0 c2t5d0 ONLINE 0 0 0 c3t21d0 ONLINE 0 0 0 mirror-6 ONLINE 0 0 0 c2t6d0 ONLINE 0 0 0 c3t22d0 ONLINE 0 0 0 mirror-7 ONLINE 0 0 0 c2t7d0 ONLINE 0 0 0 c3t23d0 ONLINE 0 0 0 mirror-8 ONLINE 0 0 0 c2t8d0 ONLINE 0 0 0 c3t24d0 ONLINE 0 0 0 spares c2t10d0 AVAIL errors: No known data errors Dennis