Anyone have any idea on this.

I wanted to separate out my VirtualBox VDIs so that I could activate 
compression on the rest of the parent directory structure so I created a ZFS 
filesystem under my user directory.

mv .VirtualBox .VirtualBox_orig
zfs create /export/home/user/.VirtualBox
zfs create /export/home/user/.VirtualBox/VDI
zfs set compression=off /export/home/user/.VirtualBox/VDI
zfs set compression on /export/home/user

chown user:staff /export/home/user/.VirtualBox
cp -R .VirtualBox_orig/* .VirtualBox


This all seemed to work out fine until I restarted the system and then it could 
not mount the filesystem saying that the /export/home/user/.VirtualBox was not 
empty. looking at it I did not see anything in it so I just deleted the 
directory and say told zfs to Mount it again.  This worked fine.  Everything 
shows up mounted fine.  The directory is empty though.  

Not really a problem since I still have the data so I thought I would just 
unmount the thing and start again.


>zfs unmount  rpool/export/home/nxn/.VirtualBox
cannot unmount '/export/home/nxn/.VirtualBox/VDI': Invalid argument


>zfs unmount  rpool/export/home/nxn/.VirtualBox/VDI
cannot unmount '/export/home/nxn/.VirtualBox/VDI': Invalid argument

>zfs unmount -f rpool/export/home/nxn/.VirtualBox/VDI
cannot unmount '/export/home/nxn/.VirtualBox/VDI': No such file or directory


Any hints here?
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to