From an email exchange with a HAL developer... >> This comes about because I boot back and forth between Windows >> and Solaris and when on the Windows side I have the drive unplugged. >> On occasion, I forget to plug it back in before returning to Solaris. > > I wonder then, if Solaris should export removable ZFS volumes on > shutdown. > >> Seems a strange limitation for HAL to not attempt to mount a zfs file >> system. If it's not imported the mount fails and an error can be >> generated. If >> it's imported then everything just works. What was the reasoning for >> this? > > There are multiple reasons. Initially, when HAL was introduced in > Solaris (PSARC 2005/399), ZFS did not support hotplug very well or at > all. Also, HAL's object model only accomodates traditional single > device volumes; it needs to be expanded to account for ZFS's volumes > than span multiple devices. There are also more operations than just > mount/unmount possible, and sometimes necessary, on ZFS datasets, and > HAL simply lacks such interfaces. The third problematic area is that > now that ZFS itself includes some sort of hotplug magic, there needs > to be coordination with HAL-based volume managers. There are also > potential difficulties related to different security models between > traditionally mounted filesystems and ZFS. > > In other words, there is nothing fundamentally preventing HAL from > supporting ZFS, but the amount of new design is enough for a > full-blown project. >
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss