[Cialug] nfs issue

Mike mike at linuxlychallenged.org
Fri Jul 20 10:45:19 CDT 2012


Check the "nas box" and see how it is being exported via
*# cat /etc/exports*

  showmount does not list the mounting options

for example:


*# cat /etc/exports*
/remote_mount 192.168.0.50(ro,all_squash) 192.168.0.100(ro) 
192.168.0.200(rw)

*# showmount -e localhost*
Export list for localhost:
/remote_mount 192.168.0.50,192.168.0.100,192.168.0.200

when I look at the exports file I have defined read-only for 2 locations 
and read write for one but showmount only lists the locations

If you are exporting as (ro) simply change to (rw).


On 7/20/2012 10:28 AM, L. V. Lammert wrote:
> Trying to mount a nas drive volume via nfs:
>
> # showmount -e nas
> Export list for nas:
> /mnt/HD/HD_a2 *
>
> Mounting is successful:
>
> # mount nas:/mnt/HD/HD_a2 /mnt/backup/
> # mount
> nas:/mnt/HD/HD_a2 on /mnt/backup type nfs (rw,addr=192.168.2.251)
>
> For some reason, however, the filesystem is readonly:
>
> # cd /mnt/backup
> # mkdir lvl
> mkdir: cannot create directory `lvl': Read-only file system
>
> Don't do much nfs, .. did I mis-interpret the output of showmount?
>
> 	Thanks!
>
> 	Lee
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>



More information about the Cialug mailing list