Hello! I think there might be a bug in ZFS related to creating/using pools on slices. I''ve been trying to install SXCE b28 for the last two days on an amd64 machine and it always ends up in corrupting the label of the disk on which I''m trying to create a ZFS pool within the existing slice. Here''s what I did. I installed the OS normally, in a single 10GB slice. During the installation, I specified for the disk layout to have an additional filesystem, on slice 4. This FS was to be mounted on /fs1. After the installation had finished, I unmounted /fs1 and created a ZFS pool from it (zpool create pool c0d0s4). Everything seemed fine for a while, until the system paniced saying that ''the disk label had been corrupted''. I''ve tryed doing this in several other ways, but all finished with the same result. Am I doing something wrong?
Hello Josip, Thursday, December 15, 2005, 12:08:54 PM, you wrote: JG> Hello! JG> I think there might be a bug in ZFS related to creating/using pools on JG> slices. I''ve been trying to install SXCE b28 for the last two days on JG> an amd64 machine and it always ends up in corrupting the label of the JG> disk on which I''m trying to create a ZFS pool within the existing slice. JG> Here''s what I did. I installed the OS normally, in a single 10GB slice. JG> During the installation, I specified for the disk layout to have an JG> additional filesystem, on slice 4. This FS was to be mounted on /fs1. JG> After the installation had finished, I unmounted /fs1 and created a ZFS JG> pool from it (zpool create pool c0d0s4). Everything seemed fine for a JG> while, until the system paniced saying that ''the disk label had been JG> corrupted''. JG> I''ve tryed doing this in several other ways, but all finished with the JG> same result. JG> Am I doing something wrong? Please provide partition table beforu you put zfs on s4 (prtvtoc /dev/rdsk/c0d0s2). Then provide ''zpool status'' after you umount /fs1 and create a pool. -- Best regards, Robert mailto:rmilkowski at task.gda.pl
Hello Robert! Robert Milkowski wrote:> Please provide partition table beforu you put zfs on s4 (prtvtoc > /dev/rdsk/c0d0s2). > > Then provide ''zpool status'' after you umount /fs1 and create a pool.I''ve tryed to reproduce the panic, but it seems to work now. One thing that I did differently this time is that I didn''t use the format(1m) utility to create slices and relabel the disk. Obviously, the problem is that I don''t know how to use format(1m) properly. :-( I thought format(1m) should be easy, and that I just needed to make sure that slices don''t overlap. Using ''verify'' within format did not report any errors. I did not touch the root slice, only the other slice on which I wanted to put ZFS. In one of the experiments, I didn''t even format the disk from which I booted, but only the other disk that I have in the system, and I still got the wrong label on the boot disk. Oh well... Thanks for your time!