1. Login to Linux box as root user
2. Check if you can ping the external network attached storage
$ ping x.x.x.x (IP)
3. Create a directory in Linux on which you want to mount this external storage
$ cd /
$ mkdir xyz
4. Issue the following command
$ mount -t cifs -o username=xxxxx,password=******** //1.2.3.4/abc /xyz
Where 1.2.3.4 is IP of storage (replace it with you actual IP), "/abc" is the folder that we want to mount and "/xyz" is the local folder that we have created in setp 3.
OR
Make an entry in fstab so that this may be mounted automatically on server boot.
$ vi /etc/fstab
$ //1.2.3.4/abc /xyz cifs username=xxxxxx,password=*********** 0 0
2. Check if you can ping the external network attached storage
$ ping x.x.x.x (IP)
3. Create a directory in Linux on which you want to mount this external storage
$ cd /
$ mkdir xyz
4. Issue the following command
$ mount -t cifs -o username=xxxxx,password=******** //1.2.3.4/abc /xyz
Where 1.2.3.4 is IP of storage (replace it with you actual IP), "/abc" is the folder that we want to mount and "/xyz" is the local folder that we have created in setp 3.
OR
Make an entry in fstab so that this may be mounted automatically on server boot.
$ vi /etc/fstab
$ //1.2.3.4/abc /xyz cifs username=xxxxxx,password=*********** 0 0
1 comment:
louis vuitton outlet, nike air max, polo ralph lauren outlet, ray ban sunglasses, louis vuitton outlet, cheap oakley sunglasses, prada handbags, ugg boots, louis vuitton, chanel handbags, air max, oakley sunglasses, tiffany jewelry, air jordan pas cher, uggs on sale, oakley sunglasses, louis vuitton, jordan shoes, tory burch outlet, sac longchamp, kate spade outlet, louboutin shoes, louboutin pas cher, burberry, longchamp outlet, replica watches, louis vuitton, ray ban sunglasses, nike outlet, michael kors, ray ban sunglasses, nike free, longchamp pas cher, nike roshe run, oakley sunglasses, louboutin outlet, nike air max, longchamp, tiffany and co, christian louboutin outlet, nike free, louboutin, prada outlet, ugg boots, gucci outlet, oakley sunglasses, replica watches, ralph lauren pas cher, polo ralph lauren outlet, longchamp outlet
Post a Comment