Problem with mounting CIFS subdirectories
Issue
- CIFS subdirectories cannot be mounted.
- It is possible to mount the main share and then switch to the subdirectory.
# mount -t cifs //server/share$ /mnt -o username=<user>,password=XXXXXXX
# cd /mnt ; cd "SPARE SHARE"
- However, while mounting subdirectory directly if fails with an error "mount error 6 = No such device or address"
# mount -t cifs //server/share$/SIG /mnt -o username=<user>,password=XXXXXXX
mount error 6 = No such device or address
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.