>   1) On Linux to know the presence of ext2/ext3 file systems on a device we 
> use tune2fs command. Similar to tune2fs command is there any command to know 
> the presence of ZFS file system on a device ?
>    

You can use 'zpool import' to check normal disk devices, or give an
optional list of devices/directories to search specifically for zfs
presence, or you can use 'fstyp' to guess at a filesystem on any type of
named device based on signature.

# fstyp /dev/rdsk/c0t8d0s0
ufs
# fstyp /dev/rdsk/c1t8d0s0
zfs

>   2) When a device is shared between two machines , What our project does is,
>    
>   -> Create ext2 file system on device 
>   a) Mount the device on machine 1
>    b) Write data on the device 
>   c) unmount the device from machine 1
>   d)mount the device on machine 2
>   e) read the data on the device
>   f) compare the current read data with previous write data  and report the 
> result
>   g) unmount the device from machine 2
>   h) Goto step a.
>    
>   Like this , Can We share zfs file system between two machines. If so
please explain it.

Yes.  'zpool export' and 'zpool import' can be used to unmount and
remount the pool and filesystems on different machines at separate
times.

>   3) Can we create ZFS pools (or ZFS file system ) on VxVm volumes ?
       if so, how ?

Haven't tried it, but you should be able to pass the volume in on the
zpool create command line as a device.

>   4) Can we share ZFS pools ( ZFS file ststem ) between two machines ?

Not simultaneously at this point.

>   5)  Like fsck command on Linux, is there any command  to check the 
> consistency of the ZFS file system ?

Not in exactly the same way (because it's not needed in the same way),
but it can be scrubbed periodically to verify that all the data
checksums correctly.  Also, you can do this while it is online.

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to