OK, it was a bit of a pain, but I went through the following: 1- Create a vdi disk 2- Boot a Linux liveCD 3- Repartition the disk into 3 partitions. 4- Make ext2 filesystems on the first 2 partitions 5- Mount the filesystems and create a few files (sample data) 6- Shut down the VM 7- detach the vdi from the linux VM, attach to one with smartos iso 8- boot smartos VM (from ISO) 9- configure network, etc., then choose 'manual' for zpool configuration 10- exit shell, get to confirmation screen, select 'y' 11- immediately, I get the message "skipping zpool 'zones' creation, already exists" (or a reasonable facscimile thereof) 12- shut down smartos, detach disk, attach to Linux, boot Liux 13- mount first 2 partitions, check that they still exist as ext2, mountable
So it looks like it does the right thing. But, yes, the clear "we will wipe these disks/partitions ____ " would be better. On Tue, Dec 8, 2015 at 10:16 PM, Avi Deitcher <[email protected]> wrote: > > Wow, yes, that's very confusing. The warning totally makes sense when > > you're using the automatic pool layouts but doesn't make sense if you > > did it manually. > > It probably just makes sense to have the confirmation page tell you what > it is about to destroy: c0t0d0 or c0t0d0s3 or whatever. Then it is covered > in all cases. > > > It would be a bug for the installer to destroy your data if you'd opted > > to manually create the zones pool. > > Painful one at that. :-) > > > That said, we would all hate for you to trip over such a bug on a system > > where you care about the bits on the disks. > > > Do you have a spare machine or a VM where you could do a quick test to > > satisfy yourself that it will do the right thing? > > Machine, no, but I could quickly spin up a VirtualBox VM with some virtual > disks attached. Shouldn't be that hard. > > Now if only I could figure out the mapping between /dev/rdsk/c0t0d0[s|p0]? > and what prtvtoc prints, I might be OK. > > -- > Avi Deitcher > [email protected] > Follow me http://twitter.com/avideitcher > Read me http://blog.atomicinc.com > -- Avi Deitcher [email protected] Follow me http://twitter.com/avideitcher Read me http://blog.atomicinc.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
