On Fri, 20 Feb 2009, Harry Putnam wrote:

zfs uses `create' to make directories inside a zpool.  Or so it seems
from the demos.

If it helps with understanding, these are complete filesystems (like an NTFS volume) rather than just directories (part of some other filesystem).

When comparing zfs with a tree, the pool is the trunk of the tree while the filesystems are the main branches where they join with the trunk. The twigs are directories, and the files are like leaves.

What about other actions like (mv)move (cp)copy (mv)rename (rm)delete
etc etc.

Those work within filesystems.

The `rename' in man zfs appear to be about something more than files
and directories.

It works for filesystems, volumes, and snapshots. So it looks like this should work for you

  zfs rename oldname newname

The oldname and newname need to be in the same pool.

 But it turns out I was sloppy in the naming from the windows side.

 Instead of /zbk/hosts/mob1/022009-full.tib

 I got /zbk/hosts/mob1022009-full.tib

 I'd left out one `/' so now I need to create the directory mob1
 and rename mob1022009-full.tib to
 /zbk/hosts/mob1/022009-full.tib

Try

 zfs rename zbk/hosts/mob1022009-full.tib zbk/hosts/mob1/022009-full.tib

Maybe that will work (assuming that these are zfs filesystems and not ordinary files or directories).

I am not quite sure what you have done.  Do

 zfs list -r poolname

to list all of the zfs filesystems in the pool.

Will allowing my user from other OS's to create directories and name
files cause me any grief.

Your windows user won't be able to create zfs filesystems. They will be able to create directories and files in filesystems. Otherwise things should be fine.

I guess what I'm asking is: Does a zfs user do common file system
chores with standard unix tools inside a zpool?

Other than when dealing with the top zfs pools, and zfs filesystems, the answer to this is yes. If this was not the case, then the system would not be very useful.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to