Xiangmin Ru
2007-Apr-10 07:09 UTC
[zfs-discuss] Re-write partition table cause the whole system crash
I''m using Open Solaris 10 doing some test on ZFS and Zpool.I''ve encountered a situation that caused the system crash. There are two SCSI disks connected to my computer, c1t0d0 was used as the bootable disk, c1t1d0 was used to test ZFS and Zpool. 1. Formating c1t1d0 to four partitions: format> fdisk Total disk size is 8924 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== == 1 Solaris2 4463 6693 2231 25 2 Solaris2 6694 7585 892 10 3 Solaris2 7586 8477 892 10 4 Active Solaris2 1 4462 4462 50 2. Creating a Zpool using the third partition: # zpool create tank c1t1d0p3 # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT tank 6.81G 51.5K 6.81G 0% ONLINE - # 3.Deleting all the partitions: Total disk size is 8924 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== == WARNING: no partitions are defined! 4.Destroying the zpool # zpool destroy tank After this command, the computer suddenly rebooted and stoped at "GRUB". And my questions are: Why aren''t there any warnings when or after I modified the disk''s partition ? Why do the modifications to the second disk affect the first disk? Thanks for any help! This message posted from opensolaris.org