Hi,
A little old topic but i was just wondering what the command lun share <path> actually does? You can see the LUN as a file wether you share it or not, so what is that for ; regarding that you cannot get access to the lun over NAS and :
Note
A LUN cannot be extended or truncated using NFS or CIFS protocols.
If you want to write to a LUN over NAS protocols, you must take the LUN offline or unmap it to prevent overwriting data in the LUN using the SAN protocol. To make a LUN accessible to a host using a NAS protocol, complete the following steps.
Step | Action |
---|
1 | Determine whether you want to read, write, or do both to the LUN over the NAS protocol and take the appropriate action:
- If you want read access, the LUN can remain online.
- If you want write access, ensure that the LUN is offline or unmapped.
|
2 | Enter the following command: lun share lun-path {none|read|write|all} Example lun share /vol/vol1/qtree1/lun2 read ResultThe LUN is now readable over NAS. |