Today I attempted to upgrade to S10_U2 and migrate some mirrored UFS SVM partitions to ZFS.

I used Live Upgrade to migrate from U1 to U2 and that went without a hitch on my SunBlade 2000. And the initial conversion of one side of the UFS mirrors to a ZFS pool and subsequent data migration went fine. However, when I attempted to attach the second side mirrors as a mirror of the ZFS pool, all hell broke loose.

The system more or less became unresponsive after a few minutes. It appeared that ZFS had taken all available memory because I saw tons of errors on the console about failed memory allocations.

Any thoughts/suggestions?

The data I migrated consisted of about 80GB. Here's the general flow of what I did:

1. break the SVM mirrors
  metadetach d5 d51
  metadetach d6 d61
  metadetach d7 d71
2. remove the SVM mirrors
  metaclear d51
  metaclear d61
  metaclear d71
3. combine the partitions with format. They were contiguous
  partitions on s4, s5 & s6 of the disk, I just made a single
  partition on s4 and cleared s5 & s6.
4. create the pool
  zpool create storage cXtXdXs4
5. create three filesystems
  zfs create storage/app
  zfs create storage/work
  zfs create storage/extra
6. migrate the data
  cd /app; find . -depth -print | cpio -pdmv /storage/app
  cd /work; find . -depth -print | cpio -pdmv /storage/work
  cd /extra; find . -depth -print | cpio -pdmv /storage/extra
7. remove the other SVM mirrors
  umount /app; metaclear d5 d50
  umount /work; metaclear d6 d60
  umount /extra; metaclear d7 d70
8. combine the partitions with format. They were contiguous
  partitions on s4, s5 & s6 of the disk, I just made a single
  partition on s4 and cleared s5 & s6.
9. attach the partition to the pool as a mirror
  zpool attach storage cXtXdXs4 cYtYdYs4

A few minutes after issuing the command the system became unresponsive as described above. I could reboot the system and it would boot up enough for me to look at the pool status with 'zfs status' at least for a little while (it appears that the resilver starts every time I reboot)

I left the system running in hopes that it would complete resilvering over night, otherwise I will probably have to attempt to detach the mirror.

I didn't see any posts with similar problems, but did find at least a couple of similar memory consumption issues.

Help!

 --joe


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to