For those who work with Samba, I''ve setup a page about the ZFS Shadow Copy VFS module for Samba that I''ve been working on. This module helps to make ZFS snapshots easily navigatable through a Microsoft-provided GUI in Windows which can be used to provide end users with an easy way to restore files from their snapshots. See http://www.edplese.com/samba-with-zfs.html (at the bottom of the page) for more info. Ed Plese
Ed, thanks for the great work on Samba/ZFS! I will be testing the shadow copy patch soon. One thing, on the home dir create, would you want to chown it to the user? Now if we can just get Samba+ZFS acls, we would really be rocking. Thanks again, Jeb This message posted from opensolaris.org
On Fri, Dec 15, 2006 at 09:33:51AM -0800, Jeb Campbell wrote:> One thing, on the home dir create, would you want to chown it to the user?Yes. I guess I made my minimal example a bit too minimal. I updated it to chown to the user and also added a ''zfs set quota'' which may be fairly common as well.> Now if we can just get Samba+ZFS acls, we would really be rocking.>From this thread it sounds like they have already been added to Samba,or at least they are very close to having them working: http://archives.free.net.ph/thread/20061207.100738.a8abc689.en.html#20061207.100738.a8abc689 Ed Plese
I''m trying to upgrade my desktop at work. It used to have a 10G partition with Windows on it and the rest of the disk was for Solaris. Windows pissed me off one too many times and got turned into a 10G swap partition. Because of the way this was all setup in the first place (poorly) Solaris won''t let me do an Upgrade of the current config. Not a huge deal, when I first set it up I really didn''t give myself enough space for the OS (aka non-ZFS) so I am going to install the new Solaris (Build50) into that first partition of 10G. I can''t seem to access ZFS on the second partition however. There are several slices on that partition, ZFS being one of them. How do I get ZFS to find it? Thanks!! -brian
On 12/19/06, Brian Hechinger <wonko at 4amlunch.net> wrote:> > I''m trying to upgrade my desktop at work. It used to have a 10G > partition with Windows on it and the rest of the disk was for > Solaris. Windows pissed me off one too many times and got turned > into a 10G swap partition. > > Because of the way this was all setup in the first place (poorly) > Solaris won''t let me do an Upgrade of the current config. Not a > huge deal, when I first set it up I really didn''t give myself enough > space for the OS (aka non-ZFS) so I am going to install the new > Solaris (Build50) into that first partition of 10G. > > I can''t seem to access ZFS on the second partition however. There > are several slices on that partition, ZFS being one of them. > > How do I get ZFS to find it? > > Thanks!! > > -brian > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >"zpool import" should give you a list of all the pools ZFS sees as being mountable. "zpool import [poolname]" is also, conveniently, the command used to mount the pool afterward. :) If it doesn''t show up there, I''ll be surprised. - Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20061219/94e71d8c/attachment.html>
On Tue, Dec 19, 2006 at 02:55:59PM -0500, Rince wrote:> > "zpool import" should give you a list of all the pools ZFS sees as being > mountable. "zpool import [poolname]" is also, conveniently, the command used > to mount the pool afterward. :)Which is what I expected to happen, however.....> If it doesn''t show up there, I''ll be surprised.Be prepared to be surprised. ;) zpool import doesn''t see the zpool. To make matters worse i don''t seem to be able to get into my old install. ;) -brian
On Tue, Dec 19, 2006 at 02:55:59PM -0500, Rince wrote:> > If it doesn''t show up there, I''ll be surprised.I take that back, I just managed to restore my ability to boot the old instance. I will be making backups and starting clean, this old partitioning has screwed me up for the last time. Thanks!!! -brian
On 12/19/06, Brian Hechinger <wonko at 4amlunch.net> wrote:> > On Tue, Dec 19, 2006 at 02:55:59PM -0500, Rince wrote: > > > > If it doesn''t show up there, I''ll be surprised. > > I take that back, I just managed to restore my ability to boot the old > instance. > > I will be making backups and starting clean, this old partitioning has > screwed me up for the last time. > > Thanks!!! > > -brianWhat exactly did it say? Did it say there are some pools that couldn''t be imported, use zpool import -f to see them, or just "no pools available"? If not, then I suspect that Solaris install didn''t see the relevant disk slices. "devfsadm -c disk" should populate /dev/dsk or others as appropriate. - Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20061219/adf25695/attachment.html>
On Tue, Dec 19, 2006 at 10:29:24PM -0500, Rince wrote:> > What exactly did it say? Did it say there are some pools that couldn''t be > imported, use zpool import -f to see them, or just "no pools available"?no pools available> If not, then I suspect that Solaris install didn''t see the relevant disk > slices. "devfsadm -c disk" should populate /dev/dsk or others as > appropriate.Richard has this to say on the matter: "IIRC, Solaris expects only one Solaris-labelled (fdisk) partition per disk." Having more than one parition has been a thorn in my side for more than just this (I can''t upgrade, it doesn''t see my old instance) so I''m going to take this oppourtunity to re-install and give Solaris the whole disk. I just hope Xen can do diskimage files like VMWare does or I''m screwed on getting XP in a virtual machine. ;) -brian
On Tue, Dec 19, 2006 at 02:55:59PM -0500, Rince wrote:> "zpool import" should give you a list of all the pools ZFS sees as being > mountable. "zpool import [poolname]" is also, conveniently, the command used > to mount the pool afterward. :) > > If it doesn''t show up there, I''ll be surprised.I have a similar situation. Zpool list shows all ZFS, but zfs list shows nothing. # zfs get all # zfs list no datasets available # zpool import no pools available to import # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT home 10G 7.64G 2.36G 76% ONLINE - stage 7.56G 6.49G 1.07G 85% ONLINE - # zpool status -v pool: home state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM home ONLINE 0 0 0 c0d0s5 ONLINE 0 0 0 errors: No known data errors pool: stage state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM stage ONLINE 0 0 0 c0d0s7 ONLINE 0 0 0 errors: No known data errors # zpool status -x all pools are healthy Further more, zpool core dumps on me. # zpool export stage # zpool import pool: stage id: 2924019764990342234 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: stage ONLINE c0d0s7 ONLINE # zpool import stage internal error: No such device Abort - core dumped All is strange... Andrew IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.