>From my notes from mirroring a new install (I install first then mirror). You won't need pfexec if your super-user. Inside format, fdisk twice first time delete anything there, second time it will ask you if you want to install a default Solaris2 setup. Obviously change the disk id to match your system.
pfexec format fdisk (delete if required) and install standard Solaris2 pfexec prtvtoc /dev/rdsk/c1d0s2 | pfexec fmthard -s - /dev/rdsk/c2d0s2 pfexec zpool attach -f rpool c1d0s0 c2d0s0 I've never put a ZIL on the same disk, so can't help there sorry. HTH, Deano -----Original Message----- From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-boun...@opensolaris.org] On Behalf Of Per Jorgensen Sent: 12 January 2011 20:51 To: zfs-discuss@opensolaris.org Subject: [zfs-discuss] zil and root on the same SSD disk Hi got a brand new server with 14 x 2TB disk, and 2X160GB SSD disk , my plan was to install opensolaris on one of the SSD disk and then zfs mirror the root disk onto the second SSD disk , but since the server will handle some sync NFS write i also want to add a zil log on the same SSD disks, also mirrored. I don't have in depth knowledge on solaris or opensolaris , and don't know much about how partitions works on solaris. I have tried the last 2 days solving this , and reading howtos on the net , but have not been able to find any step by step howto explaining how I should do it. :-( I have tried creating on big solaris2 partition , and then used 140G to the system , and then make a new slice the my zil , witch looked to work , at least i could add the 20G slice as log device to my pool , but then the problem came when i tried to to clone the partition map from the system SSD to the second SSD disk with this command prtvtoc /dev/rdsk/c7t0d0s2 | fmthard -s - /dev/rdsk/c7t1d0s2 it said something about overlapping partitions/slices ( unfortunately i did not save the output of the error ) but what is the right way to do this , should i create one big solaris2 partitions and then slice it up or should I create 2 separate partitions , and what is the right way to mirror both the system disk and zil log to the second SSD disk. And is i possible to do the partitioning from the installer ? ( I am installing opensolaris from the Live CD) please , hoping someone could provide me with a nice step by step howto on this , or maybe guide be through. br Per Jorgensen -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss