Re: [zfs-discuss] hierarchical share of zfs filesystem
On 31 Oct 2007, at 11:14, Darren J Moffat wrote: Solved by PSARC 2007/416 NFSv4 Mirror-mounts which integrated on Monday last week. that is great news. Especially since it confirms that I didn't do anything wrong, but that this feature just wasn't available yet ... :) -- Jan Hendrik Mangold Sun Microsystems Senior Lead Staff Engineer 650-585-5484 (x81371) http://learning.central/wiki/display/~13922 "idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] hierarchical share of zfs filesystem
I have a quick question about ZFS filesystems and snapshots and NFS shares. Is it possible to have one mount point for a set of ZFS filesystems? Lets say I have /export/homes as a ZFS filesystem and NFS shared, I create a new ZFS filesystem /export/homes/user1 I need to explicitly mount it. Only the mount point is visible under /export/homes. This has been standard NFS with devices mounted, ie. submounts are not exported, but that becomes very unhandy with dynamic ZFS and snapshots under NFS? Again, the question is if I can export all ZFS filesystems under a specific mount point. -- Jan Hendrik Mangold Sun Microsystems Senior Lead Staff Engineer 650-585-5484 (x81371) http://learning.central/wiki/display/~13922 "idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zpool import fails
On Oct 10, 2006, at 11:03 AM, Jan Hendrik Mangold wrote:While trouble shooting a full-disk scenario I booted from DVD after adding two new disks. Still under DVD boot I created a pool from those two disks and moved iso images I had downloaded to the zfs filesystem. Next I fixed my grub, exported the zpool and rebooted.Now zpool import comes up empty. Have I lost all my data on that ZFS? How can I check?I ran devfsadm and everything is good. zpool import found the pool and imported it appropriately. Thanks Marion for making me poke around some more ... :>) --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zpool import fails
On Oct 10, 2006, at 11:13 AM, Marion Hakanson wrote:[EMAIL PROTECTED] said: While trouble shooting a full-disk scenario I booted from DVD after addingtwo new disks. Still under DVD boot I created a pool from those two disksand moved iso images I had downloaded to the zfs filesystem. Next I fixedmy grub, exported the zpool and rebooted. Now zpool import comes up empty. Have I lost all my data on that ZFS? Howcan I check? Sorry if I'm stating something too basic here -- no insult intendedno problem :>)It sounds like the on-disk Solaris isn't aware of the new drives. Did youdo a reconfigure-boot after adding them? Do they show up as "configured"in a "cfgadm -al" list?I can see and access the disks with prtvtoc. cfgadm returnscfgadm: Configuration administration not supported --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zpool import fails
On Oct 10, 2006, at 11:03 AM, Jan Hendrik Mangold wrote:While trouble shooting a full-disk scenario I booted from DVD after adding two new disks. Still under DVD boot I created a pool from those two disks and moved iso images I had downloaded to the zfs filesystem. Next I fixed my grub, exported the zpool and rebooted.Now zpool import comes up empty. Have I lost all my data on that ZFS? How can I check?forgot to mention, this is S10U3 nightly 10/07 running under Parallels. --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] zpool import fails
While trouble shooting a full-disk scenario I booted from DVD after adding two new disks. Still under DVD boot I created a pool from those two disks and moved iso images I had downloaded to the zfs filesystem. Next I fixed my grub, exported the zpool and rebooted.Now zpool import comes up empty. Have I lost all my data on that ZFS? How can I check? --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] how do I find out if I am on a zfs filesystem
On Sep 21, 2006, at 1:30 PM, Mark Shellenbaum wrote:Jan Hendrik Mangold wrote: This may be a dumb question, but is there a way to find out if an arbitrary filesystem is actually a zfs filesystem? Like if I were to write a script that needs to do different steps based on the underlying filesystem.Any pointers welcome. $ df -n thank youshould have read the man page for df ... ;>) --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] how do I find out if I am on a zfs filesystem
This may be a dumb question, but is there a way to find out if an arbitrary filesystem is actually a zfs filesystem? Like if I were to write a script that needs to do different steps based on the underlying filesystem.Any pointers welcome. --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Re: Re: zfs clones
Hey Mattwere you able to reproduce this? I am using the straight S10U2 bits. I can give you access to the system, if you want. One last piece of information should be that my pools are created of files, due to lack of disks for experimenting.On Sep 18, 2006, at 10:04 PM, Matthew Ahrens wrote:Jan Hendrik Mangold wrote: I didn't ask the original question, but I have a scenario where Iwant to use clone as well and encounter a (designed?) behaviour I amtrying to understand.I create a filesystem A with ZFS and modify it to a point where Icreate a snapshot [EMAIL PROTECTED] Then I clone that snapshot to create a newfilesystem B. I seem to have two filesystem "entities" I can makeindependant modifications and snapshots with/on/from.The problem I am running into is that when modifying A and wanting torollback to the snapshot [EMAIL PROTECTED] I can't do that as long as the clone Bis mounted.Is this a case where I would benefit from the ability to sperate theclone? Or is this something not possible with ZFS? Hmm, actually this is unexpected; you shouldn't have to unmount the clone to do the rollback on the origin filesystem. I think that our command-line tool is simply being a bit overzealous. I've filed bug 6472202 to track this issue; it should be pretty straightforward to fix.Thanks for bringing this to our attention!--matt --Jan Hendrik Mangold Sun Microsystems650-585-5484 (x81371)"idle hands are the developers workshop" ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Re: Re: zfs clones
> > The initial idea was to make a dataset/snapshot and > clone (fast) and then separate the clone from its > snapshot. The clone could be then used as a new > independant dataset. > > > > The send/receive subcommands are probably the only > way to duplicate a dataset. > > I'm still not sure I understand what about clones makes you not want to > use them. What do you mean by "separate the clone from its snapshot"? > Is it that you want to destroy the filesystem that > the clone was created from? To do that you can use 'zfs promote'. Is it > that you want to guarantee space availability to overwrite it? To do > that you can use 'zfs set reservation'. > > --matt I didn't ask the original question, but I have a scenario where I want to use clone as well and encounter a (designed?) behaviour I am trying to understand. I create a filesystem A with ZFS and modify it to a point where I create a snapshot [EMAIL PROTECTED] Then I clone that snapshot to create a new filesystem B. I seem to have two filesystem "entities" I can make independant modifications and snapshots with/on/from. The problem I am running into is that when modifying A and wanting to rollback to the snapshot [EMAIL PROTECTED] I can't do that as long as the clone B is mounted. Is this a case where I would benefit from the ability to sperate the clone? Or is this something not possible with ZFS? Thanks for any answers This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss