Difference between revisions of "Home Directory Access"
(Created page with "There is one filesystem which is shared by both linux and windows systems: :*<span style="color:#6b0024;">Your home directory on linux is: <tt>/home/fs01/userid</tt> :*<span s...") |
|||
Line 1: | Line 1: | ||
There is one filesystem which is shared by both linux and windows systems: | There is one filesystem which is shared by both linux and windows systems: | ||
− | :*<span style="color:# | + | :*<span style="color:#404040">Your home directory on linux is: <tt>/home/fs01/userid</tt> |
− | :*<span style="color:# | + | :*<span style="color:#404040">Your home directory on windows is: <tt>\\storage01.cac.cornell.edu\userid</tt> |
In Linux, it is generally safe to refer to your home directory as either ~, ~username, or $HOME, so you never need to specify the exact mount point. On CAC's Windows systems, similarly, the letter drive H: is mapped to your home directory; however, it is often preferable to use the full UNC path to the network share, as given above. | In Linux, it is generally safe to refer to your home directory as either ~, ~username, or $HOME, so you never need to specify the exact mount point. On CAC's Windows systems, similarly, the letter drive H: is mapped to your home directory; however, it is often preferable to use the full UNC path to the network share, as given above. | ||
Line 9: | Line 9: | ||
You mount your CAC home directory via SMB/CIFS like this: | You mount your CAC home directory via SMB/CIFS like this: | ||
− | <code | + | <code>sudo mount -t cifs //storage01.cac.cornell.edu/<user name> /mnt/point -o user=<your CAC user name>,domain=CTC_ITH, uid=<your local user name> </code> |
− | where <code | + | where <code><username> </code>is your CAC username, and '''/mount/point''' is the name of a directory you have already created on your local filesystem. Enter the password for CAC account when prompted. See '''''man mount.cifs''''' for available options for the mount command. |
If you see errors, such as "missing codepage or helper program," then you have not installed the mount and umount packages for CIFS on your local machine. If problems persist, send your initial command and the results of '''dmesg | tail'''. | If you see errors, such as "missing codepage or helper program," then you have not installed the mount and umount packages for CIFS on your local machine. If problems persist, send your initial command and the results of '''dmesg | tail'''. | ||
Line 16: | Line 16: | ||
==== On MacOS X==== | ==== On MacOS X==== | ||
− | :*<span style="color:# | + | :*<span style="color:#404040"> In the Finder, select '''''Connect to Server...''''' from the '''''Go''''' menu. <br /><br />[[Image:FileAccess1.jpg]] |
− | :*<span style="color:# | + | :*<span style="color:#404040"> Enter '''''smb://storage01.cac.cornell.edu/<user name>''''' in the Server Address field as shown below. You may need to use '''smb://<username>@storage01.cac.cornell.edu/<username>'''. <br /><br />[[Image:FileAccess2.jpg]] |
− | :*<span style="color:# | + | :*<span style="color:#404040"> Enter your CAC user name and password to log in. |
==== On Windows==== | ==== On Windows==== | ||
− | :* <span style="color:# | + | :* <span style="color:#404040">Open My Computer |
− | :* <span style="color:# | + | :* <span style="color:#404040">Click on Tools -> Map Network Drive |
− | :* <span style="color:# | + | :* <span style="color:#404040">Drive H: (if you are already using this drive letter, use another letter) |
− | :* <span style="color:# | + | :* <span style="color:#404040"> Folder: \\storage01.cac.cornell.edu\<userid> |
− | :* <span style="color:# | + | :* <span style="color:#404040">Then: |
− | ::: <span style="color:# | + | ::: <span style="color:#404040">-Select "Connect using a different user name:". This will allow you to enter the domain associated with CAC and your userid at CAC, rather than those associated with your own machine. |
− | ::: <span style="color:# | + | ::: <span style="color:#404040">-User name: '''''CTC_ITH\your_userid''''' |
− | ::: <span style="color:# | + | ::: <span style="color:#404040">-Password: your CAC password |
− | :* <span style="color:# | + | :* <span style="color:#404040">Troubleshooting: If you have already mapped the drive and subsequently have problems, disconnect the drive and remap it. |
Revision as of 11:20, 17 September 2015
There is one filesystem which is shared by both linux and windows systems:
- Your home directory on linux is: /home/fs01/userid
- Your home directory on windows is: \\storage01.cac.cornell.edu\userid
In Linux, it is generally safe to refer to your home directory as either ~, ~username, or $HOME, so you never need to specify the exact mount point. On CAC's Windows systems, similarly, the letter drive H: is mapped to your home directory; however, it is often preferable to use the full UNC path to the network share, as given above.
You can mount your home directory on your local machine, as long as your machine is connected to Cornell campus network or Cornell VPN
Linux Users
You mount your CAC home directory via SMB/CIFS like this:
sudo mount -t cifs //storage01.cac.cornell.edu/<user name> /mnt/point -o user=<your CAC user name>,domain=CTC_ITH, uid=<your local user name>
where <username>
is your CAC username, and /mount/point is the name of a directory you have already created on your local filesystem. Enter the password for CAC account when prompted. See man mount.cifs for available options for the mount command.
If you see errors, such as "missing codepage or helper program," then you have not installed the mount and umount packages for CIFS on your local machine. If problems persist, send your initial command and the results of dmesg | tail.
On MacOS X
- In the Finder, select Connect to Server... from the Go menu. Error creating thumbnail: Unable to save thumbnail to destination
- Enter smb://storage01.cac.cornell.edu/<user name> in the Server Address field as shown below. You may need to use smb://<username>@storage01.cac.cornell.edu/<username>. Error creating thumbnail: Unable to save thumbnail to destination
- Enter your CAC user name and password to log in.
- In the Finder, select Connect to Server... from the Go menu.
On Windows
- Open My Computer
- Click on Tools -> Map Network Drive
- Drive H: (if you are already using this drive letter, use another letter)
- Folder: \\storage01.cac.cornell.edu\<userid>
- Then:
- -Select "Connect using a different user name:". This will allow you to enter the domain associated with CAC and your userid at CAC, rather than those associated with your own machine.
- -User name: CTC_ITH\your_userid
- -Password: your CAC password
- Troubleshooting: If you have already mapped the drive and subsequently have problems, disconnect the drive and remap it.