Hi, I''ve encountered this bug: http://www.opensolaris.org/jive/thread.jspa?threadID=108316&tstart=30 and to obviate to the problem I''m using legacy mounts. Now the system boot without problems, but nfs server doesn''t start because couldn''t find any share. So I''ve disabled nfs with zfs set sharenfs=off on my zfs filesystems and tried to use the share command. The filesystem are correctly mounted at boot, but if I try to configure nfs share with: share -F nfs /pathname I get: Could not share: /pathname: system error I''m very new to solaris... so please bear with me^^ Thanks. -- This message posted from opensolaris.org
Hi kurosan, kurosan wrotes;> Hi, > I''ve encountered this bug: http://www.opensolaris.org/jive/thread.jspa?threadID=108316&tstart=30 > and to obviate to the problem I''m using legacy mounts. > Now the system boot without problems, but nfs server doesn''t start because couldn''t find any share. > So I''ve disabled nfs with zfs set sharenfs=off on my zfs filesystems and tried to use the share command. The filesystem are correctly mounted at boot, but if I try to configure nfs share with: > > share -F nfs /pathname > > I get: Could not share: /pathname: system error > >I met the same but probably it cannot work. check zfs get all your_pool_mounted_/pathname you can see ''mountpoint'' is ''legacy'' so you have to use zfs sharenfs=on again to try and I cant see the bug in detail but you might run the workaround bugzilla says.> I''m very new to solaris... so please bear with me^^ > Thanks. >No problem at all :) you seem japanese right? if so,please subscribe ug-jpousg ML. You can ask in Japansese. for more detail check:http://mail.opensolaris.org/mailman/listinfo/ug-jposug -masasfumi Leader of TSUG(Tokyo OpenSolaris User Group)
> Hi kurosan,> I met the same but probably it cannot work. > check zfs get all your_pool_mounted_/pathname > you can see ''mountpoint'' is ''legacy'' > so you have to use zfs sharenfs=on again to tryHi, thanks for the reply... I''ve had time only today to retry. I''ve re-enabled zfs sharenfs=on but nfs server doesn''t start because it can''t find the shared directories... if I go back to automount the zfs filesystem the nfs server works again... Can''t go around this... maybe I''ll simply wait for the mount order bug to be fixed. Tnx for your help. P.S.: I''m italian and not japanese ;) -- This message posted from opensolaris.org
On 2009/09/01, at 22:15, kurosan wrote:>> Hi kurosan, > >> I met the same but probably it cannot work. >> check zfs get all your_pool_mounted_/pathname >> you can see ''mountpoint'' is ''legacy'' >> so you have to use zfs sharenfs=on again to try > > Hi, > thanks for the reply... I''ve had time only today to retry. > I''ve re-enabled zfs sharenfs=on but nfs server doesn''t start because > it can''t find the shared directories... if I go back to automount > the zfs filesystem the nfs server works again... > Can''t go around this... maybe I''ll simply wait for the mount order > bug to be fixed. > Tnx for your help. >Hi, sorry I did''nt explain in detail. have you set again zfs set mountpoint? if you still set your mountpoint ''legacy'' ,you have to change zfs set mountpoint=$MOUNTPOINT your_pool_mounted_/pathname and then zfs set sharenfs=on ex. zfs set mountpoint=/tank rpool/tank zfs set sharenfs=on rpool/tank> P.S.: I''m italian and not japanese ;)UUps! sorry :(> -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> sorry I did''nt explain in detail. > have you set again zfs set mountpoint? > if you still set your mountpoint ''legacy'' ,you have > to change zfs set > mountpoint=$MOUNTPOINT your_pool_mounted_/pathname > and then zfs set sharenfs=onHi, but if set mountpoint different from legacy I hit the mount order bug. I was trying to find a method to use legacy mount point in conjunction with the nfs server. sharenfs=on in my case doesn''t work with a legacy mount. using legacy share commands doesn''t work either with the message reported in the first post. So I''m pretty much blocked. Tnx again for your time. -- This message posted from opensolaris.org