tag:blogger.com,1999:blog-2033958213989222036.post3933743722615406603..comments2011-07-02T07:46:41.193-07:00Comments on DarkStar: ZFS Root MirrorGuido Luetke Woestmannhttp://www.blogger.com/profile/16835612196091444306noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2033958213989222036.post-64101606295109548842011-05-28T05:20:11.401-07:002011-05-28T05:20:11.401-07:00Short and sweet, and still a nice how-to for OpenI...Short and sweet, and still a nice how-to for OpenIndiana. Cheers!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-3306884824931039222009-08-27T07:22:55.097-07:002009-08-27T07:22:55.097-07:00We just tested this on a "real", non-vir...We just tested this on a "real", non-virtual server and had problems using "installgrub -m" to install the grub files into the MBR. After using it without "-m" on the zpool partition s0, everything worked as expected, but the mirror did not show any faults when pulling the original disk.<br /><br />Pulling out the mirrored disk works as expected, showing the mirror in degraded state with one disk missing.<br /><br />We'll try installing the latest recommended patchcluster and see how it works out...Unknownhttps://www.blogger.com/profile/05494602236915993496noreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-20985843338441446782009-03-29T14:11:00.000-07:002009-03-29T14:11:00.000-07:002008.11 on vmware:I encountered an issue where fdi...2008.11 on vmware:<BR/>I encountered an issue where fdisk when taking 100% of the disk for solaris would allocate one cylinder less.<BR/><BR/>c4t0d0:<BR/> 1 Active Solaris2 1 4095 4095 100<BR/><BR/>(c4t1d0 is the exact same size as c4t0d0)<BR/><BR/>format c4t1d0 <BR/>format> fdisk<BR/>No fdisk table exists. The default partition for the disk is:<BR/><BR/> a 100% "SOLARIS System" partition<BR/><BR/>Type "y" to accept the default partition, otherwise type "n" to edit the<BR/> partition table.<BR/>y<BR/>format> fdisk<BR/> Total disk size is 4096 cylinders<BR/> Cylinder size is 4096 (512 byte) blocks<BR/><BR/> Cylinders<BR/> Partition Status Type Start End Length %<BR/> ========= ====== ============ ===== === ====== ===<BR/> 1 Active Solaris2 1 4094 4094 100<BR/><BR/>you need to manually make sure that the partition size is 4095.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-11321225874680989882009-03-14T07:41:00.000-07:002009-03-14T07:41:00.000-07:00If you want to boot from the second Disk, you have...If you want to boot from the second Disk, you have to choose/enable it in the BIOS first. Otherwise the Machine still boots from the (missing) first Disk.<BR/>NOTE: I tried this with 2008.05 in Virtualbox, maybe I need to Update this Tutorial ;-)Guido Luetke Woestmannhttps://www.blogger.com/profile/16835612196091444306noreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-40286799473911745762009-03-13T06:30:00.000-07:002009-03-13T06:30:00.000-07:00Tried to build a bootable zfs mirror with your how...Tried to build a bootable zfs mirror with your howto, however I ran into some problems rebuilding it after a member loss.<BR/>Loosing disk1 rebuilt fine, but loosing disk0 hanged at boot, and I needed to import the root zpool with the livecd and fix it there.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-69017300593614876382008-12-15T21:53:00.000-08:002008-12-15T21:53:00.000-08:00you should be able to hotswap the zfs volumes on m...you should be able to hotswap the zfs volumes on many sata/scsi controllers.<BR/><BR/>you may need to reconfigure the disks.<BR/><BR/>if you hotplug your disks and cant see the new entry in /dev/dsk, just use cfgadm to see if any connected devices are in an unconfigured state. If they are, then do a cfgadm -c configure sata4/4 or whatever your devices is. zfs should see a re-inserted disk automatically but if you replaced a disk you may need to manually online the disk.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-47250230853571955032008-11-26T11:37:00.000-08:002008-11-26T11:37:00.000-08:00Here is another Discussion related to this Topic:h...Here is another Discussion related to this Topic:<BR/><BR/>http://www.opensolaris.org/jive/thread.jspa?threadID=83942&tstart=0Guido Luetke Woestmannhttps://www.blogger.com/profile/16835612196091444306noreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-79575577882951216512008-11-25T08:03:00.000-08:002008-11-25T08:03:00.000-08:00Please also read this Blog:http://malsserver.blogs...Please also read this Blog:<BR/><BR/>http://malsserver.blogspot.com/2008/08/mirroring-resolved-correct-way.html<BR/><BR/>It provides some more Information. I am not sure about the "t0"-thing. I tested this under VirtualBox with virtual Sata-Drives.<BR/>The prtvtoc-Part prepares the second Disks Partition-Table. If you just add the second Disk to the Mirror, it has the wrong Partition-Layout for a boot-Disk. There are some Bugs related to this (see 6668666).<BR/><BR/>HTHGuido Luetke Woestmannhttps://www.blogger.com/profile/16835612196091444306noreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-30253563396271095712008-11-25T07:28:00.000-08:002008-11-25T07:28:00.000-08:00This saved me installing OpenSolaris nv_101 rc1 to...This saved me installing OpenSolaris nv_101 rc1 to a t4540 server. Only the disk labels should read c4t0doso, the t0 is ommited in your post. Can you elaborate on why this works this way ? Confused by the prtvtoc part...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2033958213989222036.post-69736061754898288012008-09-19T15:40:00.000-07:002008-09-19T15:40:00.000-07:00Nice and concise! In theory, you should be able to...Nice and concise! <BR/><BR/>In theory, you should be able to hotswap those drives rather than requiring reboot, as well.<BR/><BR/>Thanks for the link =)Malachi de AElfwealdhttps://www.blogger.com/profile/09298673505665552268noreply@blogger.com