Hi, we have a software we made to automate zfs replica of pools into separate slow/high-capacity disks, for backup. When the pool is single, we have no problem automating the zfs send/receive into a new pool of the destination disk, because the destination is the entire disk. Sometimes we would like to automate the sending of more pools, including the rpool, to have a single disk replicating an entire system. We use to prepare the destination disk with format, creating correct slices to contain all the pools into s0,s1 ecc. We would like to be able to automatically look into a destination disk, discover Solaris format and usable slice sizes, decide if they fit the source data and then if to use them. Or, decide if to destroy partition table and change slices to fit what we need. Problem is, prtvtoc, format and so on prdocues quite hard output to parse and decide. Is there any other simpler tool that already output usable slices and sizes? And any other simpler tool to create the needed slices? Last but not least: am I forced to use Solaris format and slices in this case? Or is there any other partitioning scheme I could use to create more pools into a single disk? Thanx for any clarification. Gabriele.
------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
