[nfs-discuss] NFS mounting on Linux
I've taken a while to read up on NFS and I don't think that it is the best way for me to go at home, especially with a home wireless device and a DHCP server on the network. Given what I've read, I think the best way for me to go is SMB so that each connection needs authentication. I'll hop over to the SMB area and read up. Someone must have authenticated to an Open Solaris SMB share from Linux well, well, before me! -- This message posted from opensolaris.org
[nfs-discuss] NFS mounting on Linux
Here is the post about the corruption http://opensolaris.org/jive/thread.jspa?threadID=103920&tstart=45 -- This message posted from opensolaris.org
[nfs-discuss] NFS mounting on Linux
Michelle Knight wrote: > At home, I've got things like an x-box (yes, the original) and other things > that rely on SMB ... I haven't checked whether they work yet; I need to get > Ubuntu talking with the shares that I've set up ... but as I actually got a > connection to NFS first, I thought I'd at least get around the permissions > thing. > > So ... that is the question ... how do I mount an NFS share, published on the > Open Solaris box, from the Ubuntu box and specify the user (and password if > possible) that I want to connect as. I'm starting to conclude that the > permissions configuration file for NFS is it ... which means that I've got to > be logged on to the workstation with the same UID as the server ... that'll > cramp my style! > > No, you you don't use your user id to mount a share. A share has access rights for machines, not users. So your Ubuntu box will mount the OpenSolaris share for all users. The way you then restrict access to content on the server would be via ACLs. But in practice, you can use chown and chmod to control access. With NFSv3, yes, you pretty much present the same UID from the client to the server. With NFSv4, you present a name string, i.e., mine might be tdh at sun.com. But both client and server need to know how to map this id. With OpenSolaris, you can indeed set that in /etc/default/nfs. With Ubuntu, I think //etc/idmapd.conf will do the trick for you. /
[nfs-discuss] NFS mounting on Linux
Michelle Knight wrote: > Um, I've just seen my e-mail and realised this is for general discussion and > not help. mod can you move this to the appropriate place please. > > My sincere apologies > Nah, this place is okay for your questions (and I am the mod, imagine that). We like to help out here. We'd like to understand why you feel NFSv4 leads to corruption in ZFS. It is news to us, and we would be the ones fighting the bug on the NFS side. Back to your original question, the protocol version level is not a property of the zfs filesystem. It is instead a property of the entire system. So, you could use /etc/default/nfs and NFS_SERVER_VERSMAX. But please, please understand that we run zfs and NFSv4 all over the place. Our internal build servers, our mail server, our homedir servers, they have all been running this configuration for quite some time. We'd really like to understand why you and others do not think it is safe.
[nfs-discuss] NFS mounting on Linux
Hi Tdh, Thanks! Good to know :-) I've been trying to help myself as much as I can, and I've googled myself to death! The actual post was on this forum, last year, about May-ish I think. Their build was actually slightly earlier than the 2009-6 (I think I got focussed on the 111 in the build number) so when I get home tonight I'll try and find the post again for you. I was a Netware fan until version 5.5 and lost a good chunk of data; about 250gig of personal data vanished forever. ZFS has really got me excited; i've wasted too much money trying to make something which is low cost and yet as safe as possible. The possibility of making something scalable like this is the answer to a prayer. At home, I've got things like an x-box (yes, the original) and other things that rely on SMB ... I haven't checked whether they work yet; I need to get Ubuntu talking with the shares that I've set up ... but as I actually got a connection to NFS first, I thought I'd at least get around the permissions thing. So ... that is the question ... how do I mount an NFS share, published on the Open Solaris box, from the Ubuntu box and specify the user (and password if possible) that I want to connect as. I'm starting to conclude that the permissions configuration file for NFS is it ... which means that I've got to be logged on to the workstation with the same UID as the server ... that'll cramp my style! Once I've got that working, then I can battle the same issue with SMB. I am actually starting to fear that some of the other smb devices like the xbox, won't be able to connect to smb. Time will tell. Solaris might feel the same as Linux, but it is different in a number of respects, and I'm finding it a steeper learning curve than I thought. I did at least manage to get a network driver installed on my own ... I thought it would be the other way around; that the big stuff I'd need help with and the little stuff would just be a google away, but it is proving to be the other way around ... the small things are really tripping me up. I suppose the good thing about this is that I'm documenting what I'm doing so that other people can follow. At the moment, all that I've posted are the small, attractive bits of ZFS http://www.youtube.com/msknight5#g/u - but once I've got all the technical stuff ironed out, I'll be blogging and videoing ... so that other people don't have to go through what I've done, and why http://technilife.blogspot.com/2010/01/plan-where-did-it-all-go-wrong.html ... and hopefully make less of an impact on you folks. -- This message posted from opensolaris.org
[nfs-discuss] NFS mounting on Linux
Hi Michelle, On Sun, Jan 17, 2010 at 02:20:33PM -0800, Michelle Knight wrote: > Lastly, how do I tell ZFS to publish using NFS version 3 instead of 4 please? > I have read a few corruption posts and would rather play it safe for the > moment. (So far, when I run a package update, it has rendered two laptops > unable to boot and I've had to roll back.) What kind of corruption you are talking about? Thanks. -- Marcel Telka Solaris RPE
[nfs-discuss] NFS mounting on Linux
Um, I've just seen my e-mail and realised this is for general discussion and not help. mod can you move this to the appropriate place please. My sincere apologies -- This message posted from opensolaris.org
[nfs-discuss] NFS mounting on Linux
Michelle Knight wrote: > I was reading some posts where there were zeros at the start of files. The > same build version as I'm running now. > > I don't recall the URL, I did a lot of hunting around before posting for help. > Was this in zfs lists or nfs lists?
[nfs-discuss] NFS mounting on Linux
I was reading some posts where there were zeros at the start of files. The same build version as I'm running now. I don't recall the URL, I did a lot of hunting around before posting for help. -- This message posted from opensolaris.org
[nfs-discuss] NFS mounting on Linux
Hi Folks, Open Solaris 2009-6 as the server, ZFS partition set to share on nfs and smb. Client is Ubuntu, 9.10 There are obvious uid differences and although I can mount the NFS share, it is as the wrong user. How do I pass the username and/or password please? Also, with SMB the usual mount -o options for passing user name aren't working when talking with the Open Solaris share... sudo mount //192.168.0.2/mirror /home/michelle/Documents/mirror -o user=username,password=password,file_mode=0777,dir_mode=0777 Lastly, how do I tell ZFS to publish using NFS version 3 instead of 4 please? I have read a few corruption posts and would rather play it safe for the moment. (So far, when I run a package update, it has rendered two laptops unable to boot and I've had to roll back.) I can either map by NFS or SMB, no preference; I just need to get one of them working. -- This message posted from opensolaris.org
