Re: [zfs-discuss] zpool error: must be a block device or regular file

2008-09-30 Thread William D. Hathaway
The zfs kernel modules handle the caching/flushing of data across all the devices in the zpools. It uses a different method for this than the "standard" virtual memory system used by traditional file systems like UFS. Try defining your NVRAM card with ZFS as a log device using the /dev/dsk/xyz

Re: [zfs-discuss] zpool error: must be a block device or regular file

2008-09-29 Thread Ross
Oh, ok. So /dev/rdsk is never going to work then. Mind if I pick your brain a little more then while I try to understand this properly. The man pages for the nvram card state that /dev/rdsk will normally be the preferred way to access these devices, since /dev/dsk is cached by the kernel, whi

Re: [zfs-discuss] zpool error: must be a block device or regular file

2008-09-29 Thread William D. Hathaway
/dev/rdsk/* devices are character based devices, not block based. In general, character based devices have to be accessed serially (and don't do buffering), versus block devices which buffer and allow random access to the data. If you use: ls -lL /dev/*dsk/c3d1p0 you should see that the /dev/ds

[zfs-discuss] zpool error: must be a block device or regular file

2008-09-29 Thread Ross
Hey folks, Can anybody help me out with this. I've finally gotten my hands on a Micro Memory nvram card, but I'm struggling to get it working with ZFS. The drivers appeared to install fine, and it works with ZFS if I use the /dev/dsk device, but whenever I try to use rdsk I get the error: #