-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am trying to move the root volume from an existing svm mirror to a zfs root. The machine is a Sun V880 (SPARC) running nv_96, with OBP version 4.22.34 which is AFAICT the latest. The svm mirror was constructed as follows / d4 m 18GB d14 d14 s 35GB c1t0d0s0 d24 s 35GB c1t1d0s0 swap d3 m 16GB d13 d13 s 16GB c1t0d0s3 d13 s 16GB c1t1d0s3 /var d5 m 8.0GB d15 d15 s 16GB c1t0d0s1 d25 s 16GB c1t1d0s1 I removed c1t1d0 from the mirror: # metadetach d4 d24 # metaclear d24 # metadetach d3 d23 # metaclear d23 # metadetach d5 d25 # metaclear s25 then removed the metadb from c1d1d0s7 # metadb -d c1t1d0s7 Resized s0 on c1t1d0 to include the whole disc and relabelled with an SMI label. Created the zfs root pool: # zpool create rpool c1t1d0s0 Created new BE: # lucreate -c Sol11_b96 -n Sol11_b96_zfs -p rpool This ran fine, so I activated the new BE and rebooted # luactivate Sol11_b96_zfs # init 6 The system then panicked during the reboot with: Rebooting with command: boot Boot device: /pci at 8,600000/SUNW,qlc at 2/fp at 0,0/disk at w21000004cfaf121b,0:a File and args: SunOS Release 5.11 Version snv_96 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Mounting root on rpool/ROOT/Sol11_b105 with filesystem type zfs is not supported panic[cpu7]/thread=180e000: vfs_mountroot: cannot remount root 000000000180b950 genunix:vfs_mountroot+384 (1899fe8, 12bc400, 12bc400, 12bc400, 12bc400, 1873768) %l0-3: 0000000001873c68 00000600218a4040 0000000001899fe8 0000000001899fe8 %l4-7: 0000000000002420 0000000000000420 0000000000002000 00000600218a4040 000000000180ba10 genunix:main+bc (1815000, 180c000, 1835bc0, 1815200, 1, 180e000) %l0-3: 0000000001836b58 0000000070002000 00000000010c0800 0000000000000000 %l4-7: 000000000183ac00 0000000000000007 000000000180c000 0000000001836800 syncing file systems... done skipping system dump - no dump device configured rebooting... It then cycles the reboot and panic until I pull the disc and reboot continues from the original boot disc. Any ideas why mounting root on zfs is apparently not supported? - -- Al Slater -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl4QTcACgkQz4fTOFL/EDZr7ACfQEAB3jMDuU/zh2u9UWu0n8f8 7RAAn0TtX94ZIs4nb+ybY00PJCw4a+0e =Rq9O -----END PGP SIGNATURE-----
On Thu, 22 Jan 2009, Al Slater wrote:> Mounting root on rpool/ROOT/Sol11_b105 with filesystem type zfs is not > supportedThis line is coming from svm, which leads me to believe that the zfs boot blocks were not properly installed by live upgrade. You can try doing this by hand, with the command: installboot -F zfs /usr/platform/`uname -m`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0 But if live upgrade was unable to do that already, there may be other issues to uncover once you actually do boot. Regards, markm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark J Musante wrote:> On Thu, 22 Jan 2009, Al Slater wrote: >> Mounting root on rpool/ROOT/Sol11_b105 with filesystem type zfs is not >> supported > > This line is coming from svm, which leads me to believe that the zfs > boot blocks were not properly installed by live upgrade. > > You can try doing this by hand, with the command: > > installboot -F zfs /usr/platform/`uname -m`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0 > > But if live upgrade was unable to do that already, there may be other > issues to uncover once you actually do boot.Unfortunately running the installboot command did not change anything. Same message and same panic. - -- Al Slater Technical Director SCL Phone : +44 (0)1273 666607 Fax : +44 (0)1273 666601 email : al.slater at scluk.com Stanton Consultancy Ltd Pavilion House, 6-7 Old Steine, Brighton, East Sussex, BN1 1EJ Registered in England Company number: 1957652 VAT number: GB 760 2433 55 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl5YOQACgkQz4fTOFL/EDarSgCeJ9r9Pa6F6gv6eqY1b9GsJQXW PvcAn1JsMoIFEGb9R6x8aiJTOaUXQlXs =9ha+ -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Al Slater wrote:> Mark J Musante wrote: >> On Thu, 22 Jan 2009, Al Slater wrote: >>> Mounting root on rpool/ROOT/Sol11_b105 with filesystem type zfs is not >>> supported >> This line is coming from svm, which leads me to believe that the zfs >> boot blocks were not properly installed by live upgrade. > >> You can try doing this by hand, with the command: > >> installboot -F zfs /usr/platform/`uname -m`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0 > >> But if live upgrade was unable to do that already, there may be other >> issues to uncover once you actually do boot. > > Unfortunately running the installboot command did not change anything. > Same message and same panic. >I have found the problem. I had to remove the following line from /etc/system in the new BE rootdev:/pseudo/md at 0:0,13,blk thanks - -- Al Slater -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl5aFUACgkQz4fTOFL/EDbiswCdGiOUDze14knrUcBDdnsfp3Xb spAAmQEDGg8vwSB77Psgxk37v5wYZTax =8sOx -----END PGP SIGNATURE-----