2012-10-22 19:22, Gabriele Bulfon wrote:
Thank Jim :)

Does parted also perform a predefined partitioning?
Let's say I have a source to replicate formed by an rpool of 100GB and a
data pool of 1TB,
can I run parted and let it destroy and pration the disk into 2 slices
of said size?

Do you want to destroy the partitioning data on your 1+Tb disk? :)

Or do you want to take a 1+Tb disk (1.5, 2, 3, 4) and make a new
zfs-compatible partitioning or slicing on it, with two slices
being 100Mb and 1Tb?

Both of these can be done with parted :) and if you don't need
that replica of rpool to be able to boot, you can safely use GPT.
You're required to once you're beyond 2Tb disk size.

I think GPT has a "compatibility mode" container that looks like
MBR and can address partitions in the first 2Tb, which can be used
to boot older OSes whose bootloaders are not natively comfortable
with GPT - I am not sure if illumos with its grub-0.97 variant can
be booted like that; might be more likely with the grub2 project
though.

Regarding parted, I think most if not all of its interactive
commands can also be provided as standard input or as one-liners
like in my examples to set size-units and show the partitioning.
I did not research whether it has simple ways to export, import
or otherwise clone partitioning (like prtvtoc|fmthard).

Good luck,
//Jim Klimov


-------------------------------------------
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

Reply via email to