Sergio Arroutbi wrote:
> My point is that I want to use the same directory in the recorder program.
> 
> I get the streaming, and start writing the file in /mnt/streamingDirectory

They it has to be a single dataset in a single pool.

> So I would like to record in the same way, just configuring (via zfs if 
> possible), that one file should go to /dev/sda and the other file to the 
> /dev/sdb disk (I am using this in Linux via fuse).
> 
> Obviously, I could set a mirror, but do not want mirroring, as this could 
> imply having a half of storage data ...

Not could but will.

Basically you are looking for the features of mirroing without wanting 
the expense.  Given you have only two drives raidz or raidz2 isn't 
practical either.

They best you can do here is put both disks into the pool as a stripe 
and then set "copies=2 (or even copies=3)" on the filesystem.  This 
doesn't guarantee that the data will be spread around the disks but ZFS 
will try.  Note however that it does so at the "block" level not file level.

Mirroring is really the best answer though.

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

Reply via email to