Re: [zfs-discuss] zfs diff cannot stat shares

2010-10-14 Thread dirk schelfhout
I had to upgrade zfs
zfs upgrade -a

then 
pfexec zfs set sharesmb=off data
pfexec zfs set sharesmb=on data

after this zfs diff failed with the old snapshots.
But with newly created snapshots it worked.

Thanks Tim,

Dirk
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] zfs diff cannot stat shares

2010-10-13 Thread dirk schelfhout
Wanted to test the zfs diff command and ran into this.
I turned off all windows sharing.
the rpool has normal permissions for .zfs/shares

how do I fix this ?
Dirk

r...@osolpro:/data/.zfs# zfs diff d...@10aug2010 d...@13oct2010
Cannot stat /data/.zfs/shares/: unable to generate diffs

pwd
/data/.zfs
r...@osolpro:/data/.zfs# ls -alt
ls: cannot access shares: Operation not supported
total 4
dr-xr-xr-x  2 rootroot   2 2010-10-13 17:44 snapshot
drwxr-xr-x 18 piet staff 24 2010-10-13 17:44 ..
dr-xr-xr-x  4 rootroot   4 2009-01-28 23:08 .
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff cannot stat shares

2010-10-13 Thread dirk schelfhout
cd /data/.zfs
sche...@osolpro:/data/.zfs$ ls -alt
ls: cannot access shares: Operation not supported
total 4
drwxr-xr-x 19 schelfd staff 25 2010-10-13 18:57 ..
dr-xr-xr-x  2 rootroot   2 2010-10-13 17:44 snapshot
dr-xr-xr-x  4 rootroot   4 2009-01-28 23:08 .
??  ? ?   ?  ?? shares

sche...@osolpro:/data/.zfs$ pfexec zfs set sharesmb=on data
cannot set property for 'data': pool and or dataset must be upgraded to set 
this property or value
sche...@osolpro:/data/.zfs$ pfexec zfs set sharesmb=off data
cannot set property for 'data': pool and or dataset must be upgraded to set 
this property or value

sche...@osolpro:/data/.zfs$ pfexec zfs set sharesmb=on data/backup7
sche...@osolpro:/data/.zfs$ cd /backup7/.zfs
sche...@osolpro:/backup7/.zfs$ ls -alt
total 4
dr-xr-xr-x 2 rootroot  3 2010-10-13 19:26 shares
dr-xr-xr-x 2 rootroot  2 2010-10-13 18:35 snapshot
drwxr-xr-x 2 schelfd staff 3 2010-08-08 14:52 ..
dr-xr-xr-x 4 rootroot  4 2009-09-24 01:32 .
sche...@osolpro:/backup7/.zfs$ pfexec zfs set sharesmb=off data/backup7
sche...@osolpro:/backup7/.zfs$ ls -alt
total 4
dr-xr-xr-x 2 rootroot  2 2010-10-13 19:27 shares
dr-xr-xr-x 2 rootroot  2 2010-10-13 18:35 snapshot
drwxr-xr-x 2 schelfd staff 3 2010-08-08 14:52 ..
dr-xr-xr-x 4 rootroot  4 2009-09-24 01:32 .
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] scrub in 132

2010-02-20 Thread dirk schelfhout
uname -a
SunOS  5.11 snv_132 i86pc i386 i86pc Solaris

scrub made my system unresponsive.
could not login with ssh.
had to do a hard reboot.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] problems with netatalk and zfs after upgrade to snv_125

2009-10-23 Thread dirk schelfhout
( sry for cross post , I posted this in opensolaris discuss. but I think it 
belongs here )

I can no longer mount 1 of my 2 volumes.
they are both on zfs. I can still mount my home, which is on rpool.
but can not mount my data which is on a raidz pool.
setting are the same.
this is from AppleVolumes.default
~ cnidscheme:cdb options:usedots,invisibledots,upriv perm:0770
/safe ZFSshare allow:@staff,myUser cnidscheme:cdb 
options:usedots,invisibledots,upriv perm:0770

I tried recompiling and re installing. I enabled logging and don't like this 
entry in the log : 
Oct 22 20:41:24 afpd[26902][cnid.c:86]: I:CNID: Setting uid/gid to 0/80

It happened after I upgraded the raidz to the latest version. ( zpool upgrade )

update :

I added a share inside this top level. /safe/data
I can access this without problems.
still don't like these lines :
Oct 22 21:56:38 afpd[27305][auth.c:230]: I:AFPDaemon: login myUser (uid 101, 
gid 10) AFP3.1
Oct 22 21:56:40 afpd[27305][cnid.c:86]: I:CNID: Setting uid/gid to 0/0

update :

I can read with that solution but not write.
Its also easy to lock up snow leopard now :-)
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] where did ztest go

2009-10-13 Thread dirk schelfhout
according to this page : 
http://www.opensolaris.org/os/community/zfs/ztest/;jsessionid=ED73B91DAC77211E7A9EB687D3EF7F91

its supposed to be in /usr/bin

i run snv_124

Thanks,

Dirk
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-13 Thread dirk schelfhout
I think zpool add 
should work for you
google it

zpool add rpool yourNTFSpartition
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] convert raidz from osx

2009-10-08 Thread dirk schelfhout
I am converting a 4 disk raidz from osx to opensolaris. And I want to keep the 
data intact.
I want zfs to get access to the full disk instead of a slice.
I believe like c8d0 instead off c8d0s1.
I wanted to do this 1 disk at a time and let it resilver.
what is the proper way to do this.
I tried, I believe from memory : zpool replace -f rpool c8d1s1 c8d1
but it didn't let me do that.
then I tried to put the disk offline first , but same result.

Thanks,

Dirk
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] convert raidz from osx

2009-10-08 Thread Dirk Schelfhout

yes, that was what I was doing.
I wanted to give the raidz whole disks because grub didn't want to  
install.

(  I forgot which command I used . bootadm ? )
I have another slice free on a shared disk with osx and win7 but I  am  
having problems with grub.
I will try that again and document it so I can ask a proper question  
about it.
As the installer has problems and I couldn't get  the fdisk workaround  
to work with the osol-1002-118-x86.iso

Dirk
On 08 Oct 2009, at 16:03, Cindy Swearingen wrote:


Dirk,

I'm not sure I'm following you exactly but this is what I think you  
are

trying to do:

You have a RAIDZ pool that is built with slices and you are trying to
convert the slice configuration to whole disks. This isn't possible
because you are trying replace the same disk. This is what happens:

# zpool create test raidz c0t4d0s0 c0t5d0s0 c0t6d0s0
# zpool replace test c0t6d0s0 c0t6d0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c0t6d0s0 is part of active ZFS pool test. Please see zpool 
(1M).


You could replace the disk slice with a different disk like this:

# zpool replace test c0t6d0s0 c0t7d0

If you don't have any additional disks then I think you will have to
backup the data and recreate the pool. Maybe someone else has a better
idea.

Also, you refer to rpool, which is the default name of the ZFS root
pool in the Opensolaris release. This pool cannot be RAIDZ pool nor
can it contain whole disks. It must be created with disk slices.

Cindy

On 10/08/09 02:15, dirk schelfhout wrote:
I am converting a 4 disk raidz from osx to opensolaris. And I want  
to keep the data intact.

I want zfs to get access to the full disk instead of a slice.
I believe like c8d0 instead off c8d0s1.
I wanted to do this 1 disk at a time and let it resilver.
what is the proper way to do this.
I tried, I believe from memory : zpool replace -f rpool c8d1s1 c8d1
but it didn't let me do that.
then I tried to put the disk offline first , but same result.
Thanks,
Dirk


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss