>>>>> "h" == Hua <hua_...@hotmail.com> writes:
h> b. Create a 10G Solaris partition for system and an "other" h> type partition of 990G for data. h> So far the zpool on top of a fdisk partition seems working h> fine. But I don't think this is usual/normal way yeah fmthard/prtvtoc/format/fdisk are retarded and need to DIAF. but the ``normal'' way is probably to make one solaris partition covering the whole disk, then make slices within that partition. use s0 for rpool, and make it 32 - 64GB to leave room for liveupgrade because 10GB is too small. Leave s2 alone. Use s6 for the 990GB data pool. i am not sure if the ``normal'' way has a concrete advantage over your way or not. it might be equivalent, just more normal. one thing I often do is: 1. bang on a set of identical disks so they have the same kind of label (there are three kind sof label: SMI/MBR, SMI/sparc, or EFI/GPT). this needs fdisk'ing, fdisk -e'ing, NOINUSE_CHECK=1 format -e'ing, writing fake labels then rewriting, to get past all the ridiculous cargo cult pedantry they have bolted onto these tools to avoid ``call generators'' or just to piss you off. 2. get one disk so it has the label I want, somehow 3. copy the label to the other disks: fmthard -n asdfasdf -i /dev/rdsk/c?t?d?s2 > t0 <-- source disk fmthard -s t0 /dev/rdsk/c?t?d?s2 <-- target disk if you try to be creative rather than do a straight copy, fmthard will often say ``bad data on one of the lines'' but it does not tell you which line, so you have to edit t0 deleting lines one by one until you find the one it doesn't like, then play with that line until fmthard takes it. The rules are arbitrary and undocumented, but at least it doesn't take long to test your guesses. This often happens to me when trying to copy from SMI source to EFI/GPT target because the rules for partition type number are different between the two labels. In general, the error messages for all these tools are completely bogus fantasies. For example format will tell you the disk is ``in use'' when it really means ``doesn't have any MBR label on it yet''. Just pretend it's windows and distrust everything.
pgpNZoqbbgF2c.pgp
Description: PGP signature
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss