ZFS to UFS
Hello,
i have a Problem, i have testet on 2 disks the new zfs filesystem it works very well, but after i have testet i am not able to use the disks anymore in the system. i have used like normal fmthard -s myhdd.vtoc /dev/rdsk/xxxxx
then he says:
fmthard: Partition 3 overlaps partition2. Overlap is allowed only on partition on the full disk partition.
I am using for such stuff a script, so my question is in which way can i still use a script to do this, and what happend to the harddisk?
one think even through the installation process he is not showing me the disks anymore?
thanks a lot
[635 byte] By [
bbatmanx] at [2007-11-26 9:35:24]

# 2
> Hello,
>
> i have a Problem, i have testet on 2 disks the new
> zfs filesystem it works very well, but after i have
> testet i am not able to use the disks anymore in the
> system. i have used like normal fmthard -s myhdd.vtoc
> /dev/rdsk/xxxxx
>
> then he says:
>
> fmthard: Partition 3 overlaps partition2. Overlap is
> allowed only on partition on the full disk
> partition.
By default ZFS places an EFI label on the disk. EFI labels have different constraints from SMI/VTOC labels. Mainly, slice 2 isn't special, and no 2 slices can overlap (not even slice 2).
So the error is from trying to apply numbers from a VTOC label to an EFI label.
You should either change what you want it to look like, or change the label back to SMI/VTOC.
On solaris 10, you can run 'format -e' and 'label'. It should prompt for the type of label.
> I am using for such stuff a script, so my question is
> in which way can i still use a script to do this, and
> what happend to the harddisk?
'fmthard' doesn't change the type of label. ZFS did (and 'format' can).
--
Darren