|
|
Looking thru the cmds in man zfs and man zpool, and having watched 2
of the basic demos, I wasn't left with confidence about how to carry
out common file system tasks.
I'm sorry if this seems horribly obvious but I often a hard time
getting simple stuff through my extra thick skull.
zfs uses `create' to make directories inside a zpool. Or so it seems
from the demos.
What about other actions like (mv)move (cp)copy (mv)rename (rm)delete
etc etc.
The `rename' in man zfs appear to be about something more than files
and directories.
Same for `destroy' compared to `rm'.
I see no action like `mv'.. unless `rename' is used that way.
OK, a real situation:
created zpool and a few basic directories with `zfs create'
From another OS, a win xp backup tool (acronis) connects to the cifs
share ..zbk/ and creates a directory and file name... or so I
thought.
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
So, do I just use the normal unix tools (mkdir and mv) to handle this?
Will allowing my user from other OS's to create directories and name
files cause me any grief.
I guess what I'm asking is: Does a zfs user do common file system
chores with standard unix tools inside a zpool?
_______________________________________________
zfs-discuss mailing list
zfs-discuss@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
|
|