Pcornel
Storage · NAS

Share

Cheat sheet · https://pcornel.dk/topic.php?topic=4126

Back to the Topic

Answer

A share is a folder published over the network by a NAS or file server, with a name, protocol (SMB or NFS), access list and options such as read-only, snapshots visibility or access-based enumeration.

Remember

  • Name, protocol, access list and options define a share.
  • Read-only and snapshot visibility are share options.
  • Document who owns each share.

First checks

  • showmount -e <server> — NFS shares
  • net view \<server> / Get-SmbShare — SMB shares
  • df -h <mount> — usage

Commands

mount -t nfs4 nas:/export /mnt

Verify in this order

directory → export/share → clients

Where it usually breaks

First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4126

Confirmation

Confirm action

Continue?