Re: [zfs-discuss] Direct I/O ability with zfs?

2007-10-10 Thread Vidya Sakar N
Tell me, is there a way to skip ZFS file system cache or tell me is there a way to do direct IO on ZFS file system? No, currently there is no way to disable file system cache aka ARC in ZFS. There is a pending RFE though, 6429855 Need way to tell ZFS that caching is a lost cause

Re: [zfs-discuss] What would be the exact difference between import/mount and export/unmount ?

2007-10-09 Thread Vidya Sakar N
Mastan, Import/Export are pool level commands whereas mount/unmount are file system level commands, both serving different purposes. You would typically 'export' a pool when you want to connect the storage to a different machine and 'import' the pool there for subsequent use in that machine,

Re: [zfs-discuss] Selecting vdev for New File

2007-07-18 Thread Vidya Sakar N
Hi Duff, ... I expect vdev selection is a simple algorithm that rotates through vdevs with some additional logic to handle the case where the vdev is full. The vdev selection policy is in metaslab_alloc_dva(). You are right that it is a simple algorithm that rotates through the vdevs. Apart